interface StackNamesProperty
Language | Type name |
---|---|
.NET | Amazon.CDK.CfnLambdaHook.StackNamesProperty |
Go | github.com/aws/aws-cdk-go/awscdk/v2#CfnLambdaHook_StackNamesProperty |
Java | software.amazon.awscdk.CfnLambdaHook.StackNamesProperty |
Python | aws_cdk.CfnLambdaHook.StackNamesProperty |
TypeScript | aws-cdk-lib » CfnLambdaHook » 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.CfnLambdaHook.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.