Class CliCredentialsStackSynthesizer.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CliCredentialsStackSynthesizer>
- Enclosing class:
CliCredentialsStackSynthesizer
CliCredentialsStackSynthesizer
.-
Method Summary
Modifier and TypeMethodDescriptionbucketPrefix
(String bucketPrefix) bucketPrefix to use while storing S3 Assets.build()
create()
dockerTagPrefix
(String dockerTagPrefix) A prefix to use while tagging and uploading Docker images to ECR.fileAssetsBucketName
(String fileAssetsBucketName) Name of the S3 bucket to hold file assets.imageAssetsRepositoryName
(String imageAssetsRepositoryName) Name of the ECR repository to hold Docker Image assets.Qualifier to disambiguate multiple environments in the same account.
-
Method Details
-
create
- Returns:
- a new instance of
CliCredentialsStackSynthesizer.Builder
.
-
bucketPrefix
bucketPrefix to use while storing S3 Assets.Default: - DefaultStackSynthesizer.DEFAULT_FILE_ASSET_PREFIX
- Parameters:
bucketPrefix
- bucketPrefix to use while storing S3 Assets. This parameter is required.- Returns:
this
-
dockerTagPrefix
@Stability(Stable) public CliCredentialsStackSynthesizer.Builder dockerTagPrefix(String dockerTagPrefix) 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.
Default: - DefaultStackSynthesizer.DEFAULT_DOCKER_ASSET_PREFIX
- Parameters:
dockerTagPrefix
- A prefix to use while tagging and uploading Docker images to ECR. This parameter is required.- Returns:
this
-
fileAssetsBucketName
@Stability(Stable) public CliCredentialsStackSynthesizer.Builder fileAssetsBucketName(String fileAssetsBucketName) 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.Default: DefaultStackSynthesizer.DEFAULT_FILE_ASSETS_BUCKET_NAME
- Parameters:
fileAssetsBucketName
- Name of the S3 bucket to hold file assets. This parameter is required.- Returns:
this
-
imageAssetsRepositoryName
@Stability(Stable) public CliCredentialsStackSynthesizer.Builder imageAssetsRepositoryName(String imageAssetsRepositoryName) 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.Default: DefaultStackSynthesizer.DEFAULT_IMAGE_ASSETS_REPOSITORY_NAME
- Parameters:
imageAssetsRepositoryName
- Name of the ECR repository to hold Docker Image assets. This parameter is required.- Returns:
this
-
qualifier
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 different qualifiers.
Default: - Value of context key '@aws-cdk/core:bootstrapQualifier' if set, otherwise `DefaultStackSynthesizer.DEFAULT_QUALIFIER`
- Parameters:
qualifier
- Qualifier to disambiguate multiple environments in the same account. This parameter is required.- Returns:
this
-
build
- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CliCredentialsStackSynthesizer>
- Returns:
- a newly built instance of
CliCredentialsStackSynthesizer
.
-