Interface CfnUsageLimitMixinProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnUsageLimitMixinProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.140.0 (build 79fd58c)",
date="2026-09-30T11:05:16.950Z")
@Stability(Stable)
public interface CfnUsageLimitMixinProps
extends software.amazon.jsii.JsiiSerializable
Properties for CfnUsageLimitPropsMixin.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.cfnpropertymixins.services.redshift.*;
CfnUsageLimitMixinProps cfnUsageLimitMixinProps = CfnUsageLimitMixinProps.builder()
.amount(123)
.breachAction("breachAction")
.clusterIdentifier("clusterIdentifier")
.featureType("featureType")
.limitType("limitType")
.period("period")
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnUsageLimitMixinPropsstatic final classAn implementation forCfnUsageLimitMixinProps -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default NumberThe limit amount.default StringThe action that Amazon Redshift takes when the limit is reached.default StringThe identifier of the cluster that you want to limit usage.default StringThe Amazon Redshift feature that you want to limit.default StringThe type of limit.default StringThe time period that the amount applies to.getTags()A list of tag instances.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getAmount
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.
- See Also:
-
getBreachAction
The action that Amazon Redshift takes when the limit is reached.The default is log.
- See Also:
-
getClusterIdentifier
The identifier of the cluster that you want to limit usage.- See Also:
-
getFeatureType
The Amazon Redshift feature that you want to limit.- See Also:
-
getLimitType
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.
- See Also:
-
getPeriod
The time period that the amount applies to.A weekly period begins on Sunday. The default is monthly.
- See Also:
-
getTags
A list of tag instances.- See Also:
-
builder
- Returns:
- a
CfnUsageLimitMixinProps.BuilderofCfnUsageLimitMixinProps
-