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. amount 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. arn ARN of the Redshift Serverless Usage Limit. breachAction The action that Amazon Redshift Serverless takes when the limit is reached. Valid values are log, emit-metric, and deactivate. The default is log. period The time period that the amount applies to. A weekly period begins on Sunday. Valid values are daily, weekly, and monthly. The default is monthly. region Region where this resource will be managed. Defaults to the Region set in the provider configuration. resourceArn ARN of the Amazon Redshift Serverless resource to create the usage limit for. usageType The type of Amazon Redshift Serverless usage to create a usage limit for. Valid values are serverless-compute or cross-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, and deactivate. The default is log.
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, and monthly. The default is monthly.
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-compute or cross-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