Class CfnLambdaHook.StackNamesProperty
Specifies the stack names for the StackFilters property type to include or exclude specific stacks from Hook invocations.
Implements
Inherited Members
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 .
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 |
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 .
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.
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.