Show / Hide Table of Contents

Class CfnGuardHook.StackNamesProperty

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

Inheritance
object
CfnGuardHook.StackNamesProperty
Implements
CfnGuardHook.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 CfnGuardHook.StackNamesProperty : CfnGuardHook.IStackNamesProperty
Syntax (vb)
Public Class CfnGuardHook.StackNamesProperty Implements CfnGuardHook.IStackNamesProperty
Remarks

For more information, see CloudFormation Hooks stack level filters .

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudformation-guardhook-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-guardhook-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-guardhook-stacknames.html#cfn-cloudformation-guardhook-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-guardhook-stacknames.html#cfn-cloudformation-guardhook-stacknames-include

Implements

CfnGuardHook.IStackNamesProperty
Back to top Generated by DocFX