Show / Hide Table of Contents

Class CfnLambdaHook.StackNamesProperty

Specifies the stack names for the StackFilters property type to include or exclude specific stacks from Hook invocations.

Inheritance
object
CfnLambdaHook.StackNamesProperty
Implements
CfnLambdaHook.IStackNamesProperty
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: Amazon.CDK
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnLambdaHook.StackNamesProperty : CfnLambdaHook.IStackNamesProperty
Syntax (vb)
Public Class CfnLambdaHook.StackNamesProperty Implements CfnLambdaHook.IStackNamesProperty
Remarks

For more information, see CloudFormation Hooks stack level filters .

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudformation-lambdahook-stacknames.html

ExampleMetadata: fixture=_generated

Examples
// The code below shows an example of how to instantiate this type.
             // The values are placeholders you should change.
             using Amazon.CDK;

             var stackNamesProperty = new StackNamesProperty {
                 Exclude = new [] { "exclude" },
                 Include = new [] { "include" }
             };

Synopsis

Constructors

StackNamesProperty()

Specifies the stack names for the StackFilters property type to include or exclude specific stacks from Hook invocations.

Properties

Exclude

The stack names to exclude.

Include

The stack names to include.

Constructors

StackNamesProperty()

Specifies the stack names for the StackFilters property type to include or exclude specific stacks from Hook invocations.

public StackNamesProperty()
Remarks

For more information, see CloudFormation Hooks stack level filters .

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudformation-lambdahook-stacknames.html

ExampleMetadata: fixture=_generated

Examples
// The code below shows an example of how to instantiate this type.
             // The values are placeholders you should change.
             using Amazon.CDK;

             var stackNamesProperty = new StackNamesProperty {
                 Exclude = new [] { "exclude" },
                 Include = new [] { "include" }
             };

Properties

Exclude

The stack names to exclude.

public string[]? Exclude { get; set; }
Property Value

string[]

Remarks

All stacks except those listed here will invoke the Hook.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudformation-lambdahook-stacknames.html#cfn-cloudformation-lambdahook-stacknames-exclude

Include

The stack names to include.

public string[]? Include { get; set; }
Property Value

string[]

Remarks

Only the stacks specified in this list will invoke the Hook.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudformation-lambdahook-stacknames.html#cfn-cloudformation-lambdahook-stacknames-include

Implements

CfnLambdaHook.IStackNamesProperty
Back to top Generated by DocFX