CfnUsageLimitMixinProps
- class aws_cdk.cfn_property_mixins.aws_redshift.CfnUsageLimitMixinProps(*, amount=None, breach_action=None, cluster_identifier=None, feature_type=None, limit_type=None, period=None, tags=None)
Bases:
objectProperties for CfnUsageLimitPropsMixin.
- Parameters:
amount (
Union[int,float,None]) – 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 (
Optional[str]) – The action that Amazon Redshift takes when the limit is reached. The default is log.cluster_identifier (
Optional[str]) – The identifier of the cluster that you want to limit usage.feature_type (
Optional[str]) – The Amazon Redshift feature that you want to limit.limit_type (
Optional[str]) – 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.period (
Optional[str]) – The time period that the amount applies to. A weekly period begins on Sunday. The default is monthly.tags (
Optional[Sequence[Union[CfnTag,Dict[str,Any]]]]) – A list of tag instances.
- See:
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-redshift-usagelimit.html
- ExampleMetadata:
fixture=_generated
Example:
from aws_cdk import CfnTag # The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk.cfn_property_mixins import aws_redshift as redshift cfn_usage_limit_mixin_props = redshift.CfnUsageLimitMixinProps( amount=123, breach_action="breachAction", cluster_identifier="clusterIdentifier", feature_type="featureType", limit_type="limitType", period="period", tags=[CfnTag( key="key", value="value" )] )
Attributes
- 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.
- breach_action
The action that Amazon Redshift takes when the limit is reached.
The default is log.
- cluster_identifier
The identifier of the cluster that you want to limit usage.
- feature_type
The Amazon Redshift feature that you want to limit.
- 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. If FeatureType is cross-region-datasharing, then LimitType must be data-scanned.
- period
The time period that the amount applies to.
A weekly period begins on Sunday. The default is monthly.
- tags
A list of tag instances.