Skip to content

ListImports

Source: src/AWS/CloudFormation/ListImports.ts

Runtime binding for the ListImports operation (IAM action cloudformation:ListImports on * — imports are account-scoped).

Lists the stacks importing a given exported output value — e.g. impact analysis before rotating a shared value. Provide the implementation with Effect.provide(AWS.CloudFormation.ListImportsHttp).

const listImports = yield* AWS.CloudFormation.ListImports();
const { Imports } = yield* listImports({ ExportName: "ApiUrl" });