AwsCloudformationStackArgs
interface AwsCloudformationStackArgs {
capabilities?: Input<Input<string>[]>;
disableRollback?: Input<boolean>;
iamRoleArn?: Input<string>;
name: Input<string>;
notificationArns?: Input<Input<string>[]>;
onFailure?: Input<string>;
parameters?: Input<AwsCloudformationParameterArgs[]>;
policyBody?: Input<string>;
policyUrl?: Input<string>;
region?: Input<string>;
tags?: Input<Record<string, Input<string>>>;
templateFile: AwsCloudformationTemplateFileArgs;
timeoutInMinutes?: Input<number>;
}Input arguments for the CloudFormation stack capability.
Example
CODE
const stackArgs: AwsCloudformationStackArgs = {
name: 'governanceBaseline',
templateFile: { path: './templates/governance.cf' },
parameters: [{ parameterKey: 'Environment', parameterValue: 'tst' }],
};Properties
capabilities: Input<Input<string>[]>
Optional list of stack capabilities.
disableRollback: Input<boolean>
Optional disable rollback flag.
iamRoleArn: Input<string>
Optional IAM role ARN used by CloudFormation to operate the stack.
name: Input<string>
Required stack purpose used to build the AWS name ({env}-{projectHash}-{purpose}).
notificationArns: Input<Input<string>[]>
Optional stack event SNS notification topic ARNs.
onFailure: Input<string>
Optional stack failure behaviour (DO_NOTHING, ROLLBACK, DELETE).
parameters: Input<AwsCloudformationParameterArgs[]>
Optional key-value parameter list for the stack template.
policyBody: Input<string>
Optional inline stack policy JSON string.
policyUrl: Input<string>
Optional stack policy URL.
region: Input<string>
Optional provider region override for this stack resource.
tags: Input<Record<string, Input<string>>>
Optional stack tags merged with runtime default tags.
templateFile: AwsCloudformationTemplateFileArgs
CloudFormation template file input.
timeoutInMinutes: Input<number>
Optional create timeout in minutes.