UsageLimitState constructor

const UsageLimitState({
  1. Input<int?>? amount,
  2. Input<String?>? arn,
  3. Input<String?>? breachAction,
  4. Input<String?>? period,
  5. Input<String?>? region,
  6. Input<String?>? resourceArn,
  7. 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.

Implementation

const UsageLimitState({
  this.amount,
  this.arn,
  this.breachAction,
  this.period,
  this.region,
  this.resourceArn,
  this.usageType,
});