Interface CloudFormationStackDriftDetectionCheckProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable,RuleProps
- All Known Implementing Classes:
CloudFormationStackDriftDetectionCheckProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.119.0 (build 1634eac)",
date="2025-11-13T16:10:01.747Z")
@Stability(Stable)
public interface CloudFormationStackDriftDetectionCheckProps
extends software.amazon.jsii.JsiiSerializable, RuleProps
Construction properties for a CloudFormationStackDriftDetectionCheck.
Example:
// compliant if stack's status is 'IN_SYNC'
// non-compliant if the stack's drift status is 'DRIFTED'
// compliant if stack's status is 'IN_SYNC'
// non-compliant if the stack's drift status is 'DRIFTED'
CloudFormationStackDriftDetectionCheck.Builder.create(this, "Drift")
.ownStackOnly(true)
.build();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCloudFormationStackDriftDetectionCheckPropsstatic final classAn implementation forCloudFormationStackDriftDetectionCheckProps -
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJsonMethods inherited from interface software.amazon.awscdk.services.config.RuleProps
getConfigRuleName, getDescription, getEvaluationModes, getInputParameters, getMaximumExecutionFrequency, getRuleScope
-
Method Details
-
getOwnStackOnly
Whether to check only the stack where this rule is deployed.Default: false
-
getRole
The IAM role to use for this rule.It must have permissions to detect drift for AWS CloudFormation stacks. Ensure to attach
config.amazonaws.com.rproxy.govskope.catrusted permissions andReadOnlyAccesspolicy permissions. For specific policy permissions, refer to https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-stack-drift.html.Default: - A role will be created
-
builder
-