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?> ? period, Input<String?> ? region, Input<String?> ? resourceArn, Input<String?> ? usageType}) -
Creates a new UsageLimitState.
amountThe limit amount. If time-based, this amount is in Redshift Processing Units (RPU) consumed per hour. If data-based, this amount is in terabytes (TB) of data transferred between Regions in cross-account sharing. The value must be a positive number.arnARN of the Redshift Serverless Usage Limit.breachActionThe action that Amazon Redshift Serverless takes when the limit is reached. Valid values arelog,emit-metric, anddeactivate. The default islog.periodThe time period that the amount applies to. A weekly period begins on Sunday. Valid values aredaily,weekly, andmonthly. The default ismonthly.regionRegion where this resource will be managed. Defaults to the Region set in the provider configuration.resourceArnARN of the Amazon Redshift Serverless resource to create the usage limit for.usageTypeThe type of Amazon Redshift Serverless usage to create a usage limit for. Valid values areserverless-computeorcross-region-datasharing.const -
UsageLimitState.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
amount
→ Input<
int?> ? -
The limit amount. If time-based, this amount is in Redshift Processing Units (RPU) consumed per hour. If data-based, this amount is in terabytes (TB) of data transferred between Regions in cross-account sharing. The value must be a positive number.
final
-
arn
→ Input<
String?> ? -
ARN of the Redshift Serverless Usage Limit.
final
-
breachAction
→ Input<
String?> ? -
The action that Amazon Redshift Serverless takes when the limit is reached. Valid values are
log,emit-metric, anddeactivate. The default islog.final - hashCode → int
-
The hash code for this object.
no setterinherited
-
period
→ Input<
String?> ? -
The time period that the amount applies to. A weekly period begins on Sunday. Valid values are
daily,weekly, andmonthly. The default ismonthly.final -
region
→ Input<
String?> ? -
Region where this resource will be managed. Defaults to the Region set in the provider configuration.
final
-
resourceArn
→ Input<
String?> ? -
ARN of the Amazon Redshift Serverless resource to create the usage limit for.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
usageType
→ Input<
String?> ? -
The type of Amazon Redshift Serverless usage to create a usage limit for. Valid values are
serverless-computeorcross-region-datasharing.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