Class CfnLambdaHook.StackFiltersProperty
The StackFilters
property type specifies stack level filters for a Hook.
Inheritance
Implements
Namespace: Amazon.CDK.AWS.CloudFormation
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class StackFiltersProperty : Object, CfnLambdaHook.IStackFiltersProperty
Syntax (vb)
Public Class StackFiltersProperty
Inherits Object
Implements CfnLambdaHook.IStackFiltersProperty
Remarks
The StackNames
or StackRoles
properties are optional. However, you must specify at least one of these properties.
For more information, see AWS 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.AWS.CloudFormation;
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
Constructors
Stack |
Properties
Filtering |
The filtering criteria. |
Stack |
Includes or excludes specific stacks from Hook invocations. |
Stack |
Includes or excludes specific stacks from Hook invocations based on their associated IAM roles. |
Constructors
StackFiltersProperty()
public StackFiltersProperty()
Properties
FilteringCriteria
The filtering criteria.
public string FilteringCriteria { get; set; }
Property Value
System.
Remarks
StackNames
Includes or excludes specific stacks from Hook invocations.
public object StackNames { get; set; }
Property Value
System.
Remarks
StackRoles
Includes or excludes specific stacks from Hook invocations based on their associated IAM roles.
public object StackRoles { get; set; }
Property Value
System.