-
Notifications
You must be signed in to change notification settings - Fork 17
/
awscdk_DefaultStackSynthesizerProps.go
130 lines (127 loc) · 6.54 KB
/
awscdk_DefaultStackSynthesizerProps.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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
// An experiment to bundle the entire CDK into a single module
package awscdk
// Configuration properties for DefaultStackSynthesizer.
//
// Example:
// awscdk.Newstack(this, jsii.String("MyStack"), &stackProps{
// // Update this qualifier to match the one used above.
// synthesizer: cdk.NewDefaultStackSynthesizer(&defaultStackSynthesizerProps{
// qualifier: jsii.String("randchars1234"),
// }),
// })
//
// Experimental.
type DefaultStackSynthesizerProps struct {
// Bootstrap stack version SSM parameter.
//
// The placeholder `${Qualifier}` will be replaced with the value of qualifier.
// Experimental.
BootstrapStackVersionSsmParameter *string `field:"optional" json:"bootstrapStackVersionSsmParameter" yaml:"bootstrapStackVersionSsmParameter"`
// bucketPrefix to use while storing S3 Assets.
// Experimental.
BucketPrefix *string `field:"optional" json:"bucketPrefix" yaml:"bucketPrefix"`
// The role CloudFormation will assume when deploying the Stack.
//
// You must supply this if you have given a non-standard name to the execution role.
//
// The placeholders `${Qualifier}`, `${AWS::AccountId}` and `${AWS::Region}` will
// be replaced with the values of qualifier and the stack's account and region,
// respectively.
// Experimental.
CloudFormationExecutionRole *string `field:"optional" json:"cloudFormationExecutionRole" yaml:"cloudFormationExecutionRole"`
// The role to assume to initiate a deployment in this environment.
//
// You must supply this if you have given a non-standard name to the publishing role.
//
// The placeholders `${Qualifier}`, `${AWS::AccountId}` and `${AWS::Region}` will
// be replaced with the values of qualifier and the stack's account and region,
// respectively.
// Experimental.
DeployRoleArn *string `field:"optional" json:"deployRoleArn" yaml:"deployRoleArn"`
// External ID to use when assuming role for cloudformation deployments.
// Experimental.
DeployRoleExternalId *string `field:"optional" json:"deployRoleExternalId" yaml:"deployRoleExternalId"`
// A prefix to use while tagging and uploading Docker images to ECR.
//
// This does not add any separators - the source hash will be appended to
// this string directly.
// Experimental.
DockerTagPrefix *string `field:"optional" json:"dockerTagPrefix" yaml:"dockerTagPrefix"`
// Name of the CloudFormation Export with the asset key name.
//
// You must supply this if you have given a non-standard name to the KMS key export
//
// The placeholders `${Qualifier}`, `${AWS::AccountId}` and `${AWS::Region}` will
// be replaced with the values of qualifier and the stack's account and region,
// respectively.
// Deprecated: This property is not used anymore.
FileAssetKeyArnExportName *string `field:"optional" json:"fileAssetKeyArnExportName" yaml:"fileAssetKeyArnExportName"`
// External ID to use when assuming role for file asset publishing.
// Experimental.
FileAssetPublishingExternalId *string `field:"optional" json:"fileAssetPublishingExternalId" yaml:"fileAssetPublishingExternalId"`
// The role to use to publish file assets to the S3 bucket in this environment.
//
// You must supply this if you have given a non-standard name to the publishing role.
//
// The placeholders `${Qualifier}`, `${AWS::AccountId}` and `${AWS::Region}` will
// be replaced with the values of qualifier and the stack's account and region,
// respectively.
// Experimental.
FileAssetPublishingRoleArn *string `field:"optional" json:"fileAssetPublishingRoleArn" yaml:"fileAssetPublishingRoleArn"`
// Name of the S3 bucket to hold file assets.
//
// You must supply this if you have given a non-standard name to the staging bucket.
//
// The placeholders `${Qualifier}`, `${AWS::AccountId}` and `${AWS::Region}` will
// be replaced with the values of qualifier and the stack's account and region,
// respectively.
// Experimental.
FileAssetsBucketName *string `field:"optional" json:"fileAssetsBucketName" yaml:"fileAssetsBucketName"`
// Whether to add a Rule to the stack template verifying the bootstrap stack version.
//
// This generally should be left set to `true`, unless you explicitly
// want to be able to deploy to an unbootstrapped environment.
// Experimental.
GenerateBootstrapVersionRule *bool `field:"optional" json:"generateBootstrapVersionRule" yaml:"generateBootstrapVersionRule"`
// External ID to use when assuming role for image asset publishing.
// Experimental.
ImageAssetPublishingExternalId *string `field:"optional" json:"imageAssetPublishingExternalId" yaml:"imageAssetPublishingExternalId"`
// The role to use to publish image assets to the ECR repository in this environment.
//
// You must supply this if you have given a non-standard name to the publishing role.
//
// The placeholders `${Qualifier}`, `${AWS::AccountId}` and `${AWS::Region}` will
// be replaced with the values of qualifier and the stack's account and region,
// respectively.
// Experimental.
ImageAssetPublishingRoleArn *string `field:"optional" json:"imageAssetPublishingRoleArn" yaml:"imageAssetPublishingRoleArn"`
// Name of the ECR repository to hold Docker Image assets.
//
// You must supply this if you have given a non-standard name to the ECR repository.
//
// The placeholders `${Qualifier}`, `${AWS::AccountId}` and `${AWS::Region}` will
// be replaced with the values of qualifier and the stack's account and region,
// respectively.
// Experimental.
ImageAssetsRepositoryName *string `field:"optional" json:"imageAssetsRepositoryName" yaml:"imageAssetsRepositoryName"`
// The role to use to look up values from the target AWS account during synthesis.
// Experimental.
LookupRoleArn *string `field:"optional" json:"lookupRoleArn" yaml:"lookupRoleArn"`
// External ID to use when assuming lookup role.
// Experimental.
LookupRoleExternalId *string `field:"optional" json:"lookupRoleExternalId" yaml:"lookupRoleExternalId"`
// Qualifier to disambiguate multiple environments in the same account.
//
// You can use this and leave the other naming properties empty if you have deployed
// the bootstrap environment with standard names but only differnet qualifiers.
// Experimental.
Qualifier *string `field:"optional" json:"qualifier" yaml:"qualifier"`
// Use the bootstrapped lookup role for (read-only) stack operations.
//
// Use the lookup role when performing a `cdk diff`. If set to `false`, the
// `deploy role` credentials will be used to perform a `cdk diff`.
//
// Requires bootstrap stack version 8.
// Experimental.
UseLookupRoleForStackOperations *bool `field:"optional" json:"useLookupRoleForStackOperations" yaml:"useLookupRoleForStackOperations"`
}