Interface CfnLambdaHook.IStackFiltersProperty
The StackFilters property type specifies stack level filters for a Hook.
Namespace: Amazon.CDK
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface CfnLambdaHook.IStackFiltersProperty
Syntax (vb)
Public Interface CfnLambdaHook.IStackFiltersProperty
Remarks
The StackNames or StackRoles properties are optional. However, you must specify at least one of these properties.
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 stackFiltersProperty = new StackFiltersProperty {
FilteringCriteria = "filteringCriteria",
// the properties below are optional
StackNames = new StackNamesProperty {
Exclude = new [] { "exclude" },
Include = new [] { "include" }
},
StackRoles = new StackRolesProperty {
Exclude = new [] { "exclude" },
Include = new [] { "include" }
}
};
Synopsis
Properties
| FilteringCriteria | The filtering criteria. |
| StackNames | Includes or excludes specific stacks from Hook invocations. |
| StackRoles | Includes or excludes specific stacks from Hook invocations based on their associated IAM roles. |
Properties
FilteringCriteria
The filtering criteria.
string FilteringCriteria { get; }
Property Value
Remarks
StackNames
Includes or excludes specific stacks from Hook invocations.
object? StackNames { get; }
Property Value
Remarks
StackRoles
Includes or excludes specific stacks from Hook invocations based on their associated IAM roles.
object? StackRoles { get; }