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.97.0 (build 729de35)", date="2024-04-24T21:00:27.628Z") @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:
  • 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.