Class CfnConditionProps
Inheritance
System.Object
CfnConditionProps
Implements
Namespace: Amazon.CDK
Assembly: Amazon.CDK.dll
Syntax (csharp)
public class CfnConditionProps : Object, ICfnConditionProps
Syntax (vb)
Public Class CfnConditionProps
Inherits Object
Implements 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
Constructors
CfnConditionProps() |
Properties
Expression | The expression that the condition will evaluate. |
Constructors
CfnConditionProps()
public CfnConditionProps()
Properties
Expression
The expression that the condition will evaluate.
public ICfnConditionExpression Expression { get; set; }
Property Value
Remarks
Default: - None.