AwsCloudformationArgs
AwsCloudformationArgs = AwsCloudformationStackCapabilityArgs | AwsCloudformationStackSetCapabilityArgsInput arguments for AwsCloudformation.
Remarks
Exactly one capability (stack or stackSet) must be provided per component instance.
Example
CODE
const stack = new AwsCloudformation({
stack: {
name: 'governanceBaseline',
templateFile: { path: './templates/governance.cf' },
},
});
const stackSet = new AwsCloudformation({
stackSet: {
name: 'securityControls',
templateFile: { path: './templates/security.cf' },
targetRegions: ['eu-west-1'],
deploymentTargets: { organizationalUnitIds: ['ou-xxxx-yyyy'] },
},
});