Interface CfnGuardHook.StackFiltersProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnGuardHook.StackFiltersProperty.Jsii$Proxy
- Enclosing class:
CfnGuardHook
@Stability(Stable)
public static interface CfnGuardHook.StackFiltersProperty
extends software.amazon.jsii.JsiiSerializable
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 software.amazon.awscdk.services.cloudformation.*;
StackFiltersProperty stackFiltersProperty = StackFiltersProperty.builder()
.filteringCriteria("filteringCriteria")
// the properties below are optional
.stackNames(StackNamesProperty.builder()
.exclude(List.of("exclude"))
.include(List.of("include"))
.build())
.stackRoles(StackRolesProperty.builder()
.exclude(List.of("exclude"))
.include(List.of("include"))
.build())
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnGuardHook.StackFiltersPropertystatic final classAn implementation forCfnGuardHook.StackFiltersProperty -
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getFilteringCriteria
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
Default: - "ALL"
- See Also:
-
getStackNames
List of stack names as filters.- See Also:
-
getStackRoles
List of stack roles that are performing the stack operations.- See Also:
-
builder
-