Package software.amazon.awscdk.core
Interface CfnConditionProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnConditionProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)",
date="2023-06-19T16:29:54.834Z")
@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
-