interface StackNamesProperty
| Language | Type name | 
|---|---|
|  .NET | Amazon.CDK.CfnGuardHook.StackNamesProperty | 
|  Go | github.com/aws/aws-cdk-go/awscdk/v2#CfnGuardHook_StackNamesProperty | 
|  Java | software.amazon.awscdk.CfnGuardHook.StackNamesProperty | 
|  Python | aws_cdk.CfnGuardHook.StackNamesProperty | 
|  TypeScript | aws-cdk-lib»CfnGuardHook»StackNamesProperty | 
Specifies the stack names for the StackFilters property type to include or exclude specific stacks from Hook invocations.
For more information, see AWS CloudFormation Hooks stack level filters .
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as cdk from 'aws-cdk-lib';
const stackNamesProperty: cdk.CfnGuardHook.StackNamesProperty = {
  exclude: ['exclude'],
  include: ['include'],
};
Properties
| Name | Type | Description | 
|---|---|---|
| exclude? | string[] | The stack names to exclude. | 
| include? | string[] | The stack names to include. | 
exclude?
Type:
string[]
(optional)
The stack names to exclude.
All stacks except those listed here will invoke the Hook.
include?
Type:
string[]
(optional)
The stack names to include.
Only the stacks specified in this list will invoke the Hook.
