Class CloudFormationStackDriftDetectionCheck

java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
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:
  • 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.