Class CloudFormationStackDriftDetectionCheck
Checks whether your CloudFormation stacks' actual configuration differs, or has drifted, from its expected configuration.
Inherited Members
Namespace: Amazon.CDK.AWS.Config
Assembly: Amazon.CDK.AWS.Config.dll
Syntax (csharp)
public class CloudFormationStackDriftDetectionCheck : ManagedRule, IRule, IResource, IConstruct, IDependable
Syntax (vb)
Public Class CloudFormationStackDriftDetectionCheck
Inherits ManagedRule
Implements IRule, IResource, IConstruct, IDependable
Remarks
Resource: AWS::Config::ConfigRule
ExampleMetadata: infused
Examples
// Topic to which compliance notification events will be published
var complianceTopic = new Topic(this, "ComplianceTopic");
var rule = new CloudFormationStackDriftDetectionCheck(this, "Drift");
rule.OnComplianceChange("TopicEvent", new OnEventOptions {
Target = new SnsTopic(complianceTopic)
});
Synopsis
Constructors
CloudFormationStackDriftDetectionCheck(ByRefValue) | Used by jsii to construct an instance of this class from a Javascript-owned object reference |
CloudFormationStackDriftDetectionCheck(DeputyBase.DeputyProps) | Used by jsii to construct an instance of this class from DeputyProps |
CloudFormationStackDriftDetectionCheck(Construct, String, ICloudFormationStackDriftDetectionCheckProps) |
Constructors
CloudFormationStackDriftDetectionCheck(ByRefValue)
Used by jsii to construct an instance of this class from a Javascript-owned object reference
protected CloudFormationStackDriftDetectionCheck(ByRefValue reference)
Parameters
- reference Amazon.JSII.Runtime.Deputy.ByRefValue
The Javascript-owned object reference
CloudFormationStackDriftDetectionCheck(DeputyBase.DeputyProps)
Used by jsii to construct an instance of this class from DeputyProps
protected CloudFormationStackDriftDetectionCheck(DeputyBase.DeputyProps props)
Parameters
- props Amazon.JSII.Runtime.Deputy.DeputyBase.DeputyProps
The deputy props
CloudFormationStackDriftDetectionCheck(Construct, String, ICloudFormationStackDriftDetectionCheckProps)
public CloudFormationStackDriftDetectionCheck(Construct scope, string id, ICloudFormationStackDriftDetectionCheckProps props = null)
Parameters
- scope Constructs.Construct
- id System.String
- props ICloudFormationStackDriftDetectionCheckProps
Implements
Constructs.IConstruct