Package software.amazon.awscdk
Interface CfnConditionProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnConditionProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.120.0 (build 192dc88)",
date="2025-12-05T22:26:27.074Z")
@Stability(Stable)
public interface CfnConditionProps
extends software.amazon.jsii.JsiiSerializable
Example:
CfnBucket rawBucket = CfnBucket.Builder.create(this, "Bucket").build();
// -or-
CfnBucket rawBucketAlt = (CfnBucket)myBucket.getNode().getDefaultChild();
// then
rawBucket.getCfnOptions().getCondition() = CfnCondition.Builder.create(this, "EnableBucket").build();
rawBucket.getCfnOptions().getMetadata() = Map.of(
"metadataKey", "MetadataValue");
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnConditionPropsstatic final classAn implementation forCfnConditionProps -
Method Summary
Modifier and TypeMethodDescriptionstatic CfnConditionProps.Builderbuilder()default ICfnConditionExpressionThe expression that the condition will evaluate.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getExpression
The expression that the condition will evaluate.Default: - None.
-
builder
- Returns:
- a
CfnConditionProps.BuilderofCfnConditionProps
-