Interface ICfnConditionProps
Namespace: Amazon.CDK
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface ICfnConditionProps
Syntax (vb)
Public Interface ICfnConditionProps
Remarks
ExampleMetadata: infused
Examples
var rawBucket = new CfnBucket(this, "Bucket", new CfnBucketProps { });
// -or-
var rawBucketAlt = (CfnBucket)myBucket.Node.DefaultChild;
// then
rawBucket.CfnOptions.Condition = new CfnCondition(this, "EnableBucket", new CfnConditionProps { });
rawBucket.CfnOptions.Metadata = new Dictionary<string, object> {
{ "metadataKey", "MetadataValue" }
};
Synopsis
Properties
Expression | The expression that the condition will evaluate. |
Properties
Expression
The expression that the condition will evaluate.
virtual ICfnConditionExpression Expression { get; }
Property Value
Remarks
Default: - None.