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());
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classA fluent builder forCloudFormationStackDriftDetectionCheck.Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.amazon.awscdk.core.IConstruct
IConstruct.Jsii$DefaultNested classes/interfaces inherited from interface software.constructs.IConstruct
software.constructs.IConstruct.Jsii$DefaultNested classes/interfaces inherited from interface software.amazon.awscdk.core.IResource
IResource.Jsii$DefaultNested classes/interfaces inherited from interface software.amazon.awscdk.services.config.IRule
IRule.Jsii$Default, IRule.Jsii$Proxy -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedCloudFormationStackDriftDetectionCheck(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedCloudFormationStackDriftDetectionCheck(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, setRuleScopeMethods inherited from class software.amazon.awscdk.core.Resource
applyRemovalPolicy, generatePhysicalName, getEnv, getPhysicalName, getResourceArnAttribute, getResourceNameAttribute, getStack, isResourceMethods inherited from class software.amazon.awscdk.core.Construct
getNode, isConstruct, onPrepare, onSynthesize, onValidate, prepare, synthesize, validateMethods inherited from class software.constructs.Construct
toStringMethods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface software.amazon.awscdk.core.IConstruct
getNodeMethods inherited from interface software.amazon.awscdk.core.IResource
applyRemovalPolicy, getEnv, getStackMethods 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.
-