Class CloudFormationStackDriftDetectionCheck
java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
software.amazon.awscdk.Resource
software.amazon.awscdk.services.config.ManagedRule
software.amazon.awscdk.services.config.CloudFormationStackDriftDetectionCheck
- All Implemented Interfaces:
IResource
,IRule
,software.amazon.jsii.JsiiSerializable
,software.constructs.IConstruct
,software.constructs.IDependable
@Generated(value="jsii-pacmak/1.104.0 (build e79254c)",
date="2024-12-06T14:43:16.529Z")
@Stability(Stable)
public class CloudFormationStackDriftDetectionCheck
extends ManagedRule
Checks whether your CloudFormation stacks' actual configuration differs, or has drifted, from its expected configuration.
Example:
// Topic to which compliance notification events will be published Topic complianceTopic = new Topic(this, "ComplianceTopic"); CloudFormationStackDriftDetectionCheck rule = new CloudFormationStackDriftDetectionCheck(this, "Drift"); rule.onComplianceChange("TopicEvent", OnEventOptions.builder() .target(new SnsTopic(complianceTopic)) .build());
- See Also:
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic final class
A fluent builder forCloudFormationStackDriftDetectionCheck
.Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
Nested classes/interfaces inherited from interface software.constructs.IConstruct
software.constructs.IConstruct.Jsii$Default
Nested classes/interfaces inherited from interface software.amazon.awscdk.IResource
IResource.Jsii$Default
Nested classes/interfaces inherited from interface software.amazon.awscdk.services.config.IRule
IRule.Jsii$Default, IRule.Jsii$Proxy
-
Constructor Summary
ModifierConstructorDescriptionprotected
CloudFormationStackDriftDetectionCheck
(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protected
CloudFormationStackDriftDetectionCheck
(software.amazon.jsii.JsiiObjectRef objRef) CloudFormationStackDriftDetectionCheck
(software.constructs.Construct scope, String id) CloudFormationStackDriftDetectionCheck
(software.constructs.Construct scope, String id, CloudFormationStackDriftDetectionCheckProps props) -
Method Summary
Methods inherited from class software.amazon.awscdk.services.config.ManagedRule
fromConfigRuleName, getConfigRuleArn, getConfigRuleComplianceType, getConfigRuleId, getConfigRuleName, getIsCustomWithChanges, getIsManaged, getRuleScope, onComplianceChange, onComplianceChange, onEvent, onEvent, onReEvaluationStatus, onReEvaluationStatus, setIsCustomWithChanges, setIsManaged, setRuleScope
Methods inherited from class software.amazon.awscdk.Resource
applyRemovalPolicy, generatePhysicalName, getEnv, getPhysicalName, getResourceArnAttribute, getResourceNameAttribute, getStack, isOwnedResource, isResource
Methods inherited from class software.constructs.Construct
getNode, isConstruct, toString
Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface software.constructs.IConstruct
getNode
Methods inherited from interface software.amazon.awscdk.IResource
applyRemovalPolicy, getEnv, getStack
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Constructor Details
-
CloudFormationStackDriftDetectionCheck
protected CloudFormationStackDriftDetectionCheck(software.amazon.jsii.JsiiObjectRef objRef) -
CloudFormationStackDriftDetectionCheck
protected CloudFormationStackDriftDetectionCheck(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
CloudFormationStackDriftDetectionCheck
@Stability(Stable) public CloudFormationStackDriftDetectionCheck(@NotNull software.constructs.Construct scope, @NotNull String id, @Nullable CloudFormationStackDriftDetectionCheckProps props) - Parameters:
scope
- This parameter is required.id
- This parameter is required.props
-
-
CloudFormationStackDriftDetectionCheck
@Stability(Stable) public CloudFormationStackDriftDetectionCheck(@NotNull software.constructs.Construct scope, @NotNull String id) - Parameters:
scope
- This parameter is required.id
- This parameter is required.
-