Skip to content

DefaultStackSynthesizerProps

Configuration properties for DefaultStackSynthesizer.

Initializer

import com.aliyun.ros.cdk.core.DefaultStackSynthesizerProps;
DefaultStackSynthesizerProps.builder()
//  .bucketPrefix(java.lang.String)
//  .fileAssetsBucketName(java.lang.String)
//  .qualifier(java.lang.String)
    .build();

Properties

Name Type Description
bucketPrefix java.lang.String bucketPrefix to use while storing OSS Assets.
fileAssetsBucketName java.lang.String Name of the OSS bucket to hold file assets.
qualifier java.lang.String Qualifier to disambiguate multiple environments in the same account.

bucketPrefixOptional

public java.lang.String getBucketPrefix();
  • Type: java.lang.String
  • Default: DefaultStackSynthesizer.DEFAULT_FILE_ASSET_PREFIX

bucketPrefix to use while storing OSS Assets.


fileAssetsBucketNameOptional

public java.lang.String getFileAssetsBucketName();
  • Type: java.lang.String
  • Default: DefaultStackSynthesizer.DEFAULT_FILE_ASSETS_BUCKET_NAME

Name of the OSS bucket to hold file assets.

You must supply this if you have given a non-standard name to the staging bucket.

The placeholders ${Qualifier}, ${ALIYUN::AccountId} and ${ALIYUN::Region} will be replaced with the values of qualifier and the stack's account and region, respectively.


qualifierOptional

public java.lang.String getQualifier();
  • Type: java.lang.String

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.