GetTemplate
Source:
src/AWS/CloudFormation/GetTemplate.ts
Runtime binding for the GetTemplate operation (IAM action
cloudformation:GetTemplate).
Bind this operation to a Stack to read the deployed template body
from inside a function runtime — e.g. audit tooling that archives or diffs
the template actually running in the account. Provide the implementation
with Effect.provide(AWS.CloudFormation.GetTemplateHttp).
Reading Stacks
Section titled “Reading Stacks”const getTemplate = yield* AWS.CloudFormation.GetTemplate(stack);
const { TemplateBody } = yield* getTemplate();