UsageLimitState class

Input properties used for looking up and filtering UsageLimit resources.

Constructors

UsageLimitState({Input<int?>? amount, Input<String?>? arn, Input<String?>? breachAction, Input<String?>? clusterIdentifier, Input<String?>? featureType, Input<String?>? limitType, Input<String?>? period, Input<String?>? region, Input<Map<String, String>?>? tags, Input<Map<String, String>?>? tagsAll})
Creates a new UsageLimitState. amount The limit amount. If time-based, this amount is in minutes. If data-based, this amount is in terabytes (TB). The value must be a positive number. arn ARN of the Redshift Usage Limit. breachAction The action that Amazon Redshift takes when the limit is reached. The default is log. Valid values are log, emit-metric, and disable. clusterIdentifier The identifier of the cluster that you want to limit usage. featureType The Amazon Redshift feature that you want to limit. Valid values are spectrum, concurrency-scaling, and cross-region-datasharing. limitType The type of limit. Depending on the feature type, this can be based on a time duration or data size. If FeatureType is spectrum, then LimitType must be data-scanned. If FeatureType is concurrency-scaling, then LimitType must be time. If FeatureType is cross-region-datasharing, then LimitType must be data-scanned. Valid values are data-scanned, and time. period The time period that the amount applies to. A weekly period begins on Sunday. The default is monthly. Valid values are daily, weekly, and monthly. region Region where this resource will be managed. Defaults to the Region set in the provider configuration. tags A map of tags to assign to the resource. If configured with a provider defaultTags configuration block present, tags with matching keys will overwrite those defined at the provider-level. tagsAll A map of tags assigned to the resource, including those inherited from the provider defaultTags configuration block.
const
UsageLimitState.fromMap(Map<String, dynamic> map)
factory

Properties

amount → Input<int?>?
The limit amount. If time-based, this amount is in minutes. If data-based, this amount is in terabytes (TB). The value must be a positive number.
final
arn → Input<String?>?
ARN of the Redshift Usage Limit.
final
breachAction → Input<String?>?
The action that Amazon Redshift takes when the limit is reached. The default is log. Valid values are log, emit-metric, and disable.
final
clusterIdentifier → Input<String?>?
The identifier of the cluster that you want to limit usage.
final
featureType → Input<String?>?
The Amazon Redshift feature that you want to limit. Valid values are spectrum, concurrency-scaling, and cross-region-datasharing.
final
hashCode → int
The hash code for this object.
no setterinherited
limitType → Input<String?>?
The type of limit. Depending on the feature type, this can be based on a time duration or data size. If FeatureType is spectrum, then LimitType must be data-scanned. If FeatureType is concurrency-scaling, then LimitType must be time. If FeatureType is cross-region-datasharing, then LimitType must be data-scanned. Valid values are data-scanned, and time.
final
period → Input<String?>?
The time period that the amount applies to. A weekly period begins on Sunday. The default is monthly. Valid values are daily, weekly, and monthly.
final
region → Input<String?>?
Region where this resource will be managed. Defaults to the Region set in the provider configuration.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
tags → Input<Map<String, String>?>?
A map of tags to assign to the resource. If configured with a provider defaultTags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
final
tagsAll → Input<Map<String, String>?>?
A map of tags assigned to the resource, including those inherited from the provider defaultTags configuration block.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited