Skip to content

DefaultStackSynthesizerProps

Configuration properties for DefaultStackSynthesizer.

Initializer

import { DefaultStackSynthesizerProps } from '@alicloud/ros-cdk-core'
const defaultStackSynthesizerProps: DefaultStackSynthesizerProps = { ... }

Properties

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

bucketPrefixOptional

public readonly bucketPrefix: string;
  • Type: string
  • Default: DefaultStackSynthesizer.DEFAULT_FILE_ASSET_PREFIX

bucketPrefix to use while storing OSS Assets.


fileAssetsBucketNameOptional

public readonly fileAssetsBucketName: string;
  • Type: 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 readonly qualifier: string;
  • Type: 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.