class Aws::Redshift::Types::CreateUsageLimitMessage

@note When making an API call, you may pass CreateUsageLimitMessage

data as a hash:

    {
      cluster_identifier: "String", # required
      feature_type: "spectrum", # required, accepts spectrum, concurrency-scaling
      limit_type: "time", # required, accepts time, data-scanned
      amount: 1, # required
      period: "daily", # accepts daily, weekly, monthly
      breach_action: "log", # accepts log, emit-metric, disable
      tags: [
        {
          key: "String",
          value: "String",
        },
      ],
    }

@!attribute [rw] cluster_identifier

The identifier of the cluster that you want to limit usage.
@return [String]

@!attribute [rw] feature_type

The Amazon Redshift feature that you want to limit.
@return [String]

@!attribute [rw] limit_type

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`.
@return [String]

@!attribute [rw] 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.
@return [Integer]

@!attribute [rw] period

The time period that the amount applies to. A `weekly` period begins
on Sunday. The default is `monthly`.
@return [String]

@!attribute [rw] breach_action

The action that Amazon Redshift takes when the limit is reached. The
default is log. For more information about this parameter, see
UsageLimit.
@return [String]

@!attribute [rw] tags

A list of tag instances.
@return [Array<Types::Tag>]

@see docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/CreateUsageLimitMessage AWS API Documentation

Constants

SENSITIVE