Show / Hide Table of Contents

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.

ICfnConditionExpression? Expression { get; }
Property Value

ICfnConditionExpression

Remarks

Default: - None.

Back to top Generated by DocFX