AwsCloudformationTemplateFileArgs

interface AwsCloudformationTemplateFileArgs { path: string; variables?: Record<string, Input<string>>; }

Template file input for CloudFormation capabilities.

Example

CODE
const template: AwsCloudformationTemplateFileArgs = {
  path: './templates/baseline.cf',
  variables: {
    appName: 'platform',
  },
};

Properties

path: string

Path to the CloudFormation template file (.cf/.json/.yaml).

variables: Record<string, Input<string>>

Optional template variables replacing {{ variable }} placeholders.