Interface CloudFormationStackDriftDetectionCheckProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
,RuleProps
- All Known Implementing Classes:
CloudFormationStackDriftDetectionCheckProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)",
date="2023-06-19T16:30:48.596Z")
@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
Modifier and TypeInterfaceDescriptionstatic final class
A builder forCloudFormationStackDriftDetectionCheckProps
static final class
An implementation forCloudFormationStackDriftDetectionCheckProps
-
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
Methods inherited from interface software.amazon.awscdk.services.config.RuleProps
getConfigRuleName, getDescription, 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
trusted permissions andReadOnlyAccess
policy 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
-