UsageLimitArgs class
The set of arguments for UsageLimit. The set of arguments for UsageLimit.
Constructors
-
UsageLimitArgs({required Input<
int> amount, Input<String?> ? breachAction, required Input<String> clusterIdentifier, required Input<String> featureType, required Input<String> limitType, Input<String?> ? period, Input<String?> ? region, Input<Map< ? tags})String, String> ?> -
Creates a new UsageLimitArgs.
amountThe 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.breachActionThe action that Amazon Redshift takes when the limit is reached. The default islog. Valid values arelog,emit-metric, anddisable.clusterIdentifierThe identifier of the cluster that you want to limit usage.featureTypeThe Amazon Redshift feature that you want to limit. Valid values arespectrum,concurrency-scaling, andcross-region-datasharing.limitTypeThe type of limit. Depending on the feature type, this can be based on a time duration or data size. If FeatureType isspectrum, then LimitType must bedata-scanned. If FeatureType isconcurrency-scaling, then LimitType must betime. If FeatureType iscross-region-datasharing, then LimitType must bedata-scanned. Valid values aredata-scanned, andtime.periodThe time period that the amount applies to. A weekly period begins on Sunday. The default ismonthly. Valid values aredaily,weekly, andmonthly.regionRegion where this resource will be managed. Defaults to the Region set in the provider configuration.tagsA map of tags to assign to the resource. If configured with a providerdefaultTagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level.const -
UsageLimitArgs.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
-
breachAction
→ Input<
String?> ? -
The action that Amazon Redshift takes when the limit is reached. The default is
log. Valid values arelog,emit-metric, anddisable.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, andcross-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 bedata-scanned. If FeatureType isconcurrency-scaling, then LimitType must betime. If FeatureType iscross-region-datasharing, then LimitType must bedata-scanned. Valid values aredata-scanned, andtime.final -
period
→ Input<
String?> ? -
The time period that the amount applies to. A weekly period begins on Sunday. The default is
monthly. Valid values aredaily,weekly, andmonthly.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
-
A map of tags to assign to the resource. If configured with a provider
defaultTagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level.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