Skip to content

/AWS1/CL_FRM=>DESCRIBESTACKRESOURCEDRIFTS()

About DescribeStackResourceDrifts

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 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.

Method Signature

IMPORTING

Required arguments:

IV_STACKNAME TYPE /AWS1/FRMSTACKNAMEORID /AWS1/FRMSTACKNAMEORID

The name of the stack for which you want drift information.

Optional arguments:

IT_STACKRESRCDRIFTSTATFILTS TYPE /AWS1/CL_FRMSTACKRESRCDRIFTS00=>TT_STACKRESRCDRIFTSTATFILTERS TT_STACKRESRCDRIFTSTATFILTERS

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 resource's actual configuration matches its expected template configuration.

  • NOT_CHECKED: CloudFormation doesn't currently return this value.

IV_NEXTTOKEN TYPE /AWS1/FRMNEXTTOKEN /AWS1/FRMNEXTTOKEN

A string that identifies the next page of stack resource drift results.

IV_MAXRESULTS TYPE /AWS1/FRMBOXEDMAXRESULTS /AWS1/FRMBOXEDMAXRESULTS

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.

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_FRMDSCSTACKRESRCDRI01 /AWS1/CL_FRMDSCSTACKRESRCDRI01