interface StackFiltersProperty
Language | Type name |
---|---|
.NET | Amazon.CDK.CfnLambdaHook.StackFiltersProperty |
Go | github.com/aws/aws-cdk-go/awscdk/v2#CfnLambdaHook_StackFiltersProperty |
Java | software.amazon.awscdk.CfnLambdaHook.StackFiltersProperty |
Python | aws_cdk.CfnLambdaHook.StackFiltersProperty |
TypeScript | aws-cdk-lib » CfnLambdaHook » StackFiltersProperty |
Filters to allow hooks to target specific stack attributes.
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 stackFiltersProperty: cdk.CfnLambdaHook.StackFiltersProperty = {
filteringCriteria: 'filteringCriteria',
// the properties below are optional
stackNames: {
exclude: ['exclude'],
include: ['include'],
},
stackRoles: {
exclude: ['exclude'],
include: ['include'],
},
};
Properties
Name | Type | Description |
---|---|---|
filtering | string | Attribute to specify the filtering behavior. |
stack | IResolvable | Stack | List of stack names as filters. |
stack | IResolvable | Stack | List of stack roles that are performing the stack operations. |
filteringCriteria
Type:
string
Attribute to specify the filtering behavior.
ANY will make the Hook pass if one filter matches. ALL will make the Hook pass if all filters match
stackNames?
Type:
IResolvable
|
Stack
(optional)
List of stack names as filters.
stackRoles?
Type:
IResolvable
|
Stack
(optional)
List of stack roles that are performing the stack operations.