UsageLimit
¶
Source code in docs_src/capo_redshift/types/usage_limit.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).
breach_action
instance-attribute
¶
breach_action: NotRequired[UsageLimitBreachAction]
The action that Amazon Redshift takes when the limit is reached. Possible values are:
-
log - To log an event in a system table. The default is log.
-
emit-metric - To emit CloudWatch metrics.
-
disable - To disable the feature until the next usage period begins.
cluster_identifier
instance-attribute
¶
cluster_identifier: NotRequired[String]
The identifier of the cluster with a usage limit.
feature_type
instance-attribute
¶
feature_type: NotRequired[UsageLimitFeatureType]
The Amazon Redshift feature to which the limit applies.
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.
period
instance-attribute
¶
period: NotRequired[UsageLimitPeriod]
The time period that the amount applies to. A weekly period begins on Sunday. The default is monthly.