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 drift information for the resources that have been checked for drift in the specified stack. This includes actual and expected configuration values for resources where CloudFormation detects configuration drift.
For a given stack, there will be one StackResourceDrift
for each stack
resource that has been checked for drift. Resources that haven't yet
been checked for drift are not included. Resources that do not currently
support drift detection are not checked, and so not included. For a list
of resources that support drift detection, see
Resources that Support Drift Detection.
Use DetectStackResourceDrift to detect drift on individual resources, or DetectStackDrift to detect drift on all supported resources for a given stack.
Synopsis
- data DescribeStackResourceDrifts = DescribeStackResourceDrifts' {}
- newDescribeStackResourceDrifts :: Text -> DescribeStackResourceDrifts
- describeStackResourceDrifts_nextToken :: Lens' DescribeStackResourceDrifts (Maybe Text)
- describeStackResourceDrifts_maxResults :: Lens' DescribeStackResourceDrifts (Maybe Natural)
- describeStackResourceDrifts_stackResourceDriftStatusFilters :: Lens' DescribeStackResourceDrifts (Maybe (NonEmpty StackResourceDriftStatus))
- describeStackResourceDrifts_stackName :: Lens' DescribeStackResourceDrifts Text
- data DescribeStackResourceDriftsResponse = DescribeStackResourceDriftsResponse' {}
- newDescribeStackResourceDriftsResponse :: Int -> DescribeStackResourceDriftsResponse
- describeStackResourceDriftsResponse_nextToken :: Lens' DescribeStackResourceDriftsResponse (Maybe Text)
- describeStackResourceDriftsResponse_httpStatus :: Lens' DescribeStackResourceDriftsResponse Int
- describeStackResourceDriftsResponse_stackResourceDrifts :: Lens' DescribeStackResourceDriftsResponse [StackResourceDrift]
Creating a Request
data DescribeStackResourceDrifts Source #
See: newDescribeStackResourceDrifts
smart constructor.
DescribeStackResourceDrifts' | |
|
Instances
newDescribeStackResourceDrifts Source #
Create a value of DescribeStackResourceDrifts
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:nextToken:DescribeStackResourceDrifts'
, describeStackResourceDrifts_nextToken
- A string that identifies the next page of stack resource drift results.
$sel:maxResults:DescribeStackResourceDrifts'
, describeStackResourceDrifts_maxResults
- The maximum number of results to be returned with a single call. If the
number of available results exceeds this maximum, the response includes
a NextToken
value that you can assign to the NextToken
request
parameter to get the next set of results.
$sel:stackResourceDriftStatusFilters:DescribeStackResourceDrifts'
, describeStackResourceDrifts_stackResourceDriftStatusFilters
- The resource drift status values to use as filters for the resource
drift results returned.
DELETED
: The resource differs from its expected template configuration in that the resource has been deleted.MODIFIED
: One or more resource properties differ from their expected template values.IN_SYNC
: The resources's actual configuration matches its expected template configuration.NOT_CHECKED
: CloudFormation does not currently return this value.
$sel:stackName:DescribeStackResourceDrifts'
, describeStackResourceDrifts_stackName
- The name of the stack for which you want drift information.
Request Lenses
describeStackResourceDrifts_nextToken :: Lens' DescribeStackResourceDrifts (Maybe Text) Source #
A string that identifies the next page of stack resource drift results.
describeStackResourceDrifts_maxResults :: Lens' DescribeStackResourceDrifts (Maybe Natural) Source #
The maximum number of results to be returned with a single call. If the
number of available results exceeds this maximum, the response includes
a NextToken
value that you can assign to the NextToken
request
parameter to get the next set of results.
describeStackResourceDrifts_stackResourceDriftStatusFilters :: Lens' DescribeStackResourceDrifts (Maybe (NonEmpty StackResourceDriftStatus)) Source #
The resource drift status values to use as filters for the resource drift results returned.
DELETED
: The resource differs from its expected template configuration in that the resource has been deleted.MODIFIED
: One or more resource properties differ from their expected template values.IN_SYNC
: The resources's actual configuration matches its expected template configuration.NOT_CHECKED
: CloudFormation does not currently return this value.
describeStackResourceDrifts_stackName :: Lens' DescribeStackResourceDrifts Text Source #
The name of the stack for which you want drift information.
Destructuring the Response
data DescribeStackResourceDriftsResponse Source #
See: newDescribeStackResourceDriftsResponse
smart constructor.
DescribeStackResourceDriftsResponse' | |
|
Instances
newDescribeStackResourceDriftsResponse Source #
Create a value of DescribeStackResourceDriftsResponse
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:nextToken:DescribeStackResourceDrifts'
, describeStackResourceDriftsResponse_nextToken
- If the request doesn't return all of the remaining results, NextToken
is set to a token. To retrieve the next set of results, call
DescribeStackResourceDrifts
again and assign that token to the request
object's NextToken
parameter. If the request returns all results,
NextToken
is set to null
.
$sel:httpStatus:DescribeStackResourceDriftsResponse'
, describeStackResourceDriftsResponse_httpStatus
- The response's http status code.
$sel:stackResourceDrifts:DescribeStackResourceDriftsResponse'
, describeStackResourceDriftsResponse_stackResourceDrifts
- Drift information for the resources that have been checked for drift in
the specified stack. This includes actual and expected configuration
values for resources where CloudFormation detects drift.
For a given stack, there will be one StackResourceDrift
for each stack
resource that has been checked for drift. Resources that have not yet
been checked for drift are not included. Resources that do not currently
support drift detection are not checked, and so not included. For a list
of resources that support drift detection, see
Resources that Support Drift Detection.
Response Lenses
describeStackResourceDriftsResponse_nextToken :: Lens' DescribeStackResourceDriftsResponse (Maybe Text) Source #
If the request doesn't return all of the remaining results, NextToken
is set to a token. To retrieve the next set of results, call
DescribeStackResourceDrifts
again and assign that token to the request
object's NextToken
parameter. If the request returns all results,
NextToken
is set to null
.
describeStackResourceDriftsResponse_httpStatus :: Lens' DescribeStackResourceDriftsResponse Int Source #
The response's http status code.
describeStackResourceDriftsResponse_stackResourceDrifts :: Lens' DescribeStackResourceDriftsResponse [StackResourceDrift] Source #
Drift information for the resources that have been checked for drift in the specified stack. This includes actual and expected configuration values for resources where CloudFormation detects drift.
For a given stack, there will be one StackResourceDrift
for each stack
resource that has been checked for drift. Resources that have not yet
been checked for drift are not included. Resources that do not currently
support drift detection are not checked, and so not included. For a list
of resources that support drift detection, see
Resources that Support Drift Detection.