-
Notifications
You must be signed in to change notification settings - Fork 17
/
awscdk_CliCredentialsStackSynthesizerProps.go
56 lines (53 loc) · 2.41 KB
/
awscdk_CliCredentialsStackSynthesizerProps.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
// An experiment to bundle the entire CDK into a single module
package awscdk
// Properties for the CliCredentialsStackSynthesizer.
//
// Example:
// // The code below shows an example of how to instantiate this type.
// // The values are placeholders you should change.
// import monocdk "github.com/aws/aws-cdk-go/awscdk"
//
// cliCredentialsStackSynthesizerProps := &cliCredentialsStackSynthesizerProps{
// bucketPrefix: jsii.String("bucketPrefix"),
// dockerTagPrefix: jsii.String("dockerTagPrefix"),
// fileAssetsBucketName: jsii.String("fileAssetsBucketName"),
// imageAssetsRepositoryName: jsii.String("imageAssetsRepositoryName"),
// qualifier: jsii.String("qualifier"),
// }
//
// Experimental.
type CliCredentialsStackSynthesizerProps struct {
// bucketPrefix to use while storing S3 Assets.
// Experimental.
BucketPrefix *string `field:"optional" json:"bucketPrefix" yaml:"bucketPrefix"`
// 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 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"`
// 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"`
// 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"`
}