CreateUsageLimitMessage
¶
Source code in docs_src/capo_redshift/types/create_usage_limit_message.py
amount
instance-attribute
¶
amount: NotRequired[Long]
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.
breach_action
instance-attribute
¶
breach_action: NotRequired[UsageLimitBreachAction]
The action that Amazon Redshift takes when the limit is reached. The default is log. For more information about this parameter, see UsageLimit.
cluster_identifier
instance-attribute
¶
cluster_identifier: NotRequired[String]
The identifier of the cluster that you want to limit usage.
feature_type
instance-attribute
¶
feature_type: NotRequired[UsageLimitFeatureType]
The Amazon Redshift feature that you want to limit.
limit_type
instance-attribute
¶
limit_type: NotRequired[UsageLimitLimitType]
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. If FeatureType is cross-region-datasharing, then LimitType must be data-scanned. If FeatureType is extra-compute-for-automatic-optimization, then LimitType must be time.
period
instance-attribute
¶
period: NotRequired[UsageLimitPeriod]
The time period that the amount applies to. A weekly period begins on Sunday. The default is monthly.