Skip to content

/AWS1/CL_FRM=>DETECTSTACKRESOURCEDRIFT()

About DetectStackResourceDrift

Returns information about whether a resource's actual configuration differs, or has drifted, from its 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.

Method Signature

IMPORTING

Required arguments:

IV_STACKNAME TYPE /AWS1/FRMSTACKNAMEORID /AWS1/FRMSTACKNAMEORID

The name of the stack to which the resource belongs.

IV_LOGICALRESOURCEID TYPE /AWS1/FRMLOGICALRESOURCEID /AWS1/FRMLOGICALRESOURCEID

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

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_FRMDETECTSTACKRESRC01 /AWS1/CL_FRMDETECTSTACKRESRC01