/
AwsCloudFormationStackProperties.go
37 lines (34 loc) · 1.39 KB
/
AwsCloudFormationStackProperties.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
package cxapi
// Artifact properties for CloudFormation stacks.
//
// Example:
// // The code below shows an example of how to instantiate this type.
// // The values are placeholders you should change.
// import "github.com/aws/aws-cdk-go/awscdk"
//
// awsCloudFormationStackProperties := &AwsCloudFormationStackProperties{
// TemplateFile: jsii.String("templateFile"),
//
// // the properties below are optional
// Parameters: map[string]*string{
// "parametersKey": jsii.String("parameters"),
// },
// StackName: jsii.String("stackName"),
// TerminationProtection: jsii.Boolean(false),
// }
//
// Experimental.
type AwsCloudFormationStackProperties struct {
// A file relative to the assembly root which contains the CloudFormation template for this stack.
// Experimental.
TemplateFile *string `field:"required" json:"templateFile" yaml:"templateFile"`
// Values for CloudFormation stack parameters that should be passed when the stack is deployed.
// Experimental.
Parameters *map[string]*string `field:"optional" json:"parameters" yaml:"parameters"`
// The name to use for the CloudFormation stack.
// Experimental.
StackName *string `field:"optional" json:"stackName" yaml:"stackName"`
// Whether to enable termination protection for this stack.
// Experimental.
TerminationProtection *bool `field:"optional" json:"terminationProtection" yaml:"terminationProtection"`
}