amazonka-cloudformation-2.0: Amazon CloudFormation SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.CloudFormation.DetectStackResourceDrift

Description

Returns information about whether a resource's actual configuration differs, or has drifted, from it's expected configuration, as defined in the stack template and any values specified as template parameters. This information includes actual and expected property values for resources in which CloudFormation detects drift. Only resource properties explicitly defined in the stack template are checked for drift. For more information about stack and resource drift, see Detecting Unregulated Configuration Changes to Stacks and Resources.

Use DetectStackResourceDrift to detect drift on individual resources, or DetectStackDrift to detect drift on all resources in a given stack that support drift detection.

Resources that don't currently support drift detection can't be checked. For a list of resources that support drift detection, see Resources that Support Drift Detection.

Synopsis

Creating a Request

data DetectStackResourceDrift Source #

See: newDetectStackResourceDrift smart constructor.

Constructors

DetectStackResourceDrift' 

Fields

Instances

Instances details
ToHeaders DetectStackResourceDrift Source # 
Instance details

Defined in Amazonka.CloudFormation.DetectStackResourceDrift

ToPath DetectStackResourceDrift Source # 
Instance details

Defined in Amazonka.CloudFormation.DetectStackResourceDrift

ToQuery DetectStackResourceDrift Source # 
Instance details

Defined in Amazonka.CloudFormation.DetectStackResourceDrift

AWSRequest DetectStackResourceDrift Source # 
Instance details

Defined in Amazonka.CloudFormation.DetectStackResourceDrift

Generic DetectStackResourceDrift Source # 
Instance details

Defined in Amazonka.CloudFormation.DetectStackResourceDrift

Associated Types

type Rep DetectStackResourceDrift :: Type -> Type #

Read DetectStackResourceDrift Source # 
Instance details

Defined in Amazonka.CloudFormation.DetectStackResourceDrift

Show DetectStackResourceDrift Source # 
Instance details

Defined in Amazonka.CloudFormation.DetectStackResourceDrift

NFData DetectStackResourceDrift Source # 
Instance details

Defined in Amazonka.CloudFormation.DetectStackResourceDrift

Eq DetectStackResourceDrift Source # 
Instance details

Defined in Amazonka.CloudFormation.DetectStackResourceDrift

Hashable DetectStackResourceDrift Source # 
Instance details

Defined in Amazonka.CloudFormation.DetectStackResourceDrift

type AWSResponse DetectStackResourceDrift Source # 
Instance details

Defined in Amazonka.CloudFormation.DetectStackResourceDrift

type Rep DetectStackResourceDrift Source # 
Instance details

Defined in Amazonka.CloudFormation.DetectStackResourceDrift

type Rep DetectStackResourceDrift = D1 ('MetaData "DetectStackResourceDrift" "Amazonka.CloudFormation.DetectStackResourceDrift" "amazonka-cloudformation-2.0-2g2oPzedi5AcwbDRlNZfB" 'False) (C1 ('MetaCons "DetectStackResourceDrift'" 'PrefixI 'True) (S1 ('MetaSel ('Just "stackName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "logicalResourceId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newDetectStackResourceDrift Source #

Create a value of DetectStackResourceDrift with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

DetectStackResourceDrift, detectStackResourceDrift_stackName - The name of the stack to which the resource belongs.

DetectStackResourceDrift, detectStackResourceDrift_logicalResourceId - The logical name of the resource for which to return drift information.

Request Lenses

detectStackResourceDrift_stackName :: Lens' DetectStackResourceDrift Text Source #

The name of the stack to which the resource belongs.

detectStackResourceDrift_logicalResourceId :: Lens' DetectStackResourceDrift Text Source #

The logical name of the resource for which to return drift information.

Destructuring the Response

data DetectStackResourceDriftResponse Source #

See: newDetectStackResourceDriftResponse smart constructor.

Constructors

DetectStackResourceDriftResponse' 

Fields

  • httpStatus :: Int

    The response's http status code.

  • stackResourceDrift :: StackResourceDrift

    Information about whether the resource's actual configuration has drifted from its expected template configuration, including actual and expected property values and any differences detected.

Instances

Instances details
Generic DetectStackResourceDriftResponse Source # 
Instance details

Defined in Amazonka.CloudFormation.DetectStackResourceDrift

Associated Types

type Rep DetectStackResourceDriftResponse :: Type -> Type #

Read DetectStackResourceDriftResponse Source # 
Instance details

Defined in Amazonka.CloudFormation.DetectStackResourceDrift

Show DetectStackResourceDriftResponse Source # 
Instance details

Defined in Amazonka.CloudFormation.DetectStackResourceDrift

NFData DetectStackResourceDriftResponse Source # 
Instance details

Defined in Amazonka.CloudFormation.DetectStackResourceDrift

Eq DetectStackResourceDriftResponse Source # 
Instance details

Defined in Amazonka.CloudFormation.DetectStackResourceDrift

type Rep DetectStackResourceDriftResponse Source # 
Instance details

Defined in Amazonka.CloudFormation.DetectStackResourceDrift

type Rep DetectStackResourceDriftResponse = D1 ('MetaData "DetectStackResourceDriftResponse" "Amazonka.CloudFormation.DetectStackResourceDrift" "amazonka-cloudformation-2.0-2g2oPzedi5AcwbDRlNZfB" 'False) (C1 ('MetaCons "DetectStackResourceDriftResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: S1 ('MetaSel ('Just "stackResourceDrift") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 StackResourceDrift)))

newDetectStackResourceDriftResponse Source #

Create a value of DetectStackResourceDriftResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:httpStatus:DetectStackResourceDriftResponse', detectStackResourceDriftResponse_httpStatus - The response's http status code.

$sel:stackResourceDrift:DetectStackResourceDriftResponse', detectStackResourceDriftResponse_stackResourceDrift - Information about whether the resource's actual configuration has drifted from its expected template configuration, including actual and expected property values and any differences detected.

Response Lenses

detectStackResourceDriftResponse_stackResourceDrift :: Lens' DetectStackResourceDriftResponse StackResourceDrift Source #

Information about whether the resource's actual configuration has drifted from its expected template configuration, including actual and expected property values and any differences detected.