Class CloudFormationStackDriftDetectionCheck
java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
software.amazon.awscdk.core.Construct
software.amazon.awscdk.core.Resource
software.amazon.awscdk.services.config.ManagedRule
software.amazon.awscdk.services.config.CloudFormationStackDriftDetectionCheck
- All Implemented Interfaces:
IConstruct
,IDependable
,IResource
,IRule
,software.amazon.jsii.JsiiSerializable
,software.constructs.IConstruct
@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)",
date="2023-06-19T16:30:48.595Z")
@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.amazon.awscdk.core.IConstruct
IConstruct.Jsii$Default
Nested classes/interfaces inherited from interface software.constructs.IConstruct
software.constructs.IConstruct.Jsii$Default
Nested classes/interfaces inherited from interface software.amazon.awscdk.core.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.core.Resource
applyRemovalPolicy, generatePhysicalName, getEnv, getPhysicalName, getResourceArnAttribute, getResourceNameAttribute, getStack, isResource
Methods inherited from class software.amazon.awscdk.core.Construct
getNode, isConstruct, onPrepare, onSynthesize, onValidate, prepare, synthesize, validate
Methods inherited from class software.constructs.Construct
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.amazon.awscdk.core.IConstruct
getNode
Methods inherited from interface software.amazon.awscdk.core.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.
-