Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
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 do not currently support drift detection cannot be checked. For a list of resources that support drift detection, see Resources that Support Drift Detection.
Synopsis
- data DetectStackResourceDrift = DetectStackResourceDrift' {}
- newDetectStackResourceDrift :: Text -> Text -> DetectStackResourceDrift
- detectStackResourceDrift_stackName :: Lens' DetectStackResourceDrift Text
- detectStackResourceDrift_logicalResourceId :: Lens' DetectStackResourceDrift Text
- data DetectStackResourceDriftResponse = DetectStackResourceDriftResponse' {}
- newDetectStackResourceDriftResponse :: Int -> StackResourceDrift -> DetectStackResourceDriftResponse
- detectStackResourceDriftResponse_httpStatus :: Lens' DetectStackResourceDriftResponse Int
- detectStackResourceDriftResponse_stackResourceDrift :: Lens' DetectStackResourceDriftResponse StackResourceDrift
Creating a Request
data DetectStackResourceDrift Source #
See: newDetectStackResourceDrift
smart constructor.
DetectStackResourceDrift' | |
|
Instances
newDetectStackResourceDrift Source #
:: Text | |
-> Text | |
-> DetectStackResourceDrift |
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:
$sel:stackName:DetectStackResourceDrift'
, detectStackResourceDrift_stackName
- The name of the stack to which the resource belongs.
$sel:logicalResourceId: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.
DetectStackResourceDriftResponse' | |
|
Instances
Eq DetectStackResourceDriftResponse Source # | |
Read DetectStackResourceDriftResponse Source # | |
Show DetectStackResourceDriftResponse Source # | |
Generic DetectStackResourceDriftResponse Source # | |
NFData DetectStackResourceDriftResponse Source # | |
Defined in Amazonka.CloudFormation.DetectStackResourceDrift rnf :: DetectStackResourceDriftResponse -> () # | |
type Rep DetectStackResourceDriftResponse Source # | |
Defined in Amazonka.CloudFormation.DetectStackResourceDrift type Rep DetectStackResourceDriftResponse = D1 ('MetaData "DetectStackResourceDriftResponse" "Amazonka.CloudFormation.DetectStackResourceDrift" "libZSservicesZSamazonka-cloudformationZSamazonka-cloudformation" '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_httpStatus :: Lens' DetectStackResourceDriftResponse Int Source #
The response's http status code.
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.