Describe Stack Resource Drifts
cloudformation_describe_stack_resource_drifts | R Documentation |
Returns drift information for the resources that have been checked for drift in the specified stack¶
Description¶
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 aren't included. Resources that don't currently
support drift detection aren't checked, and so not included. For a list
of resources that support drift detection, see Resource type support
for imports and drift
detection.
Use detect_stack_resource_drift
to detect drift on individual
resources, or detect_stack_drift
to detect drift on all supported
resources for a given stack.
Usage¶
cloudformation_describe_stack_resource_drifts(StackName,
StackResourceDriftStatusFilters, NextToken, MaxResults)
Arguments¶
StackName |
[required] The name of the stack for which you want drift information. |
StackResourceDriftStatusFilters |
The resource drift status values to use as filters for the resource drift results returned.
|
NextToken |
A string that identifies the next page of stack resource drift results. |
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 |
Value¶
A list with the following syntax:
list(
StackResourceDrifts = list(
list(
StackId = "string",
LogicalResourceId = "string",
PhysicalResourceId = "string",
PhysicalResourceIdContext = list(
list(
Key = "string",
Value = "string"
)
),
ResourceType = "string",
ExpectedProperties = "string",
ActualProperties = "string",
PropertyDifferences = list(
list(
PropertyPath = "string",
ExpectedValue = "string",
ActualValue = "string",
DifferenceType = "ADD"|"REMOVE"|"NOT_EQUAL"
)
),
StackResourceDriftStatus = "IN_SYNC"|"MODIFIED"|"DELETED"|"NOT_CHECKED",
Timestamp = as.POSIXct(
"2015-01-01"
),
ModuleInfo = list(
TypeHierarchy = "string",
LogicalIdHierarchy = "string"
)
)
),
NextToken = "string"
)
Request syntax¶
svc$describe_stack_resource_drifts(
StackName = "string",
StackResourceDriftStatusFilters = list(
"IN_SYNC"|"MODIFIED"|"DELETED"|"NOT_CHECKED"
),
NextToken = "string",
MaxResults = 123
)