Skip to content

DescribeStackResourceDrifts

Source: src/AWS/CloudFormation/DescribeStackResourceDrifts.ts

Runtime binding for the DescribeStackResourceDrifts operation (IAM action cloudformation:DescribeStackResourceDrifts).

Bind this operation to a Stack to read per-resource drift results after a DetectStackDrift run — which resources were MODIFIED or DELETED out-of-band and the actual-vs-expected property differences. Provide the implementation with Effect.provide(AWS.CloudFormation.DescribeStackResourceDriftsHttp).

const describeStackResourceDrifts =
yield* AWS.CloudFormation.DescribeStackResourceDrifts(stack);
const { StackResourceDrifts } = yield* describeStackResourceDrifts({
StackResourceDriftStatusFilters: ["MODIFIED", "DELETED"],
});