@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:37.738Z") @Stability(value=Stable) public interface CloudFormationStackDriftDetectionCheckProps extends software.amazon.jsii.JsiiSerializable, RuleProps
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();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CloudFormationStackDriftDetectionCheckProps.Builder
A builder for
CloudFormationStackDriftDetectionCheckProps |
static class |
CloudFormationStackDriftDetectionCheckProps.Jsii$Proxy
An implementation for
CloudFormationStackDriftDetectionCheckProps |
| Modifier and Type | Method and Description |
|---|---|
static CloudFormationStackDriftDetectionCheckProps.Builder |
builder() |
default Boolean |
getOwnStackOnly()
Whether to check only the stack where this rule is deployed.
|
default IRole |
getRole()
The IAM role to use for this rule.
|
getConfigRuleName, getDescription, getInputParameters, getMaximumExecutionFrequency, getRuleScope@Stability(value=Stable) @Nullable default Boolean getOwnStackOnly()
Default: false
@Stability(value=Stable) @Nullable default IRole getRole()
It must have permissions to detect drift
for AWS CloudFormation stacks. Ensure to attach config.amazonaws.com trusted
permissions and ReadOnlyAccess 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
@Stability(value=Stable) static CloudFormationStackDriftDetectionCheckProps.Builder builder()
builder in interface RulePropsCloudFormationStackDriftDetectionCheckProps.Builder of CloudFormationStackDriftDetectionCheckPropsCopyright © 2022. All rights reserved.