Readonly
centralizeIndicates whether CDK stacks in workload accounts will utilize S3 buckets in the management account rather than within the account.
When the accelerator deploys resources using the AWS CDK, assets are first built and stored in S3. By default, the S3 bucket is located within the deployment target account.
Readonly
useIndicates whether CDK operations use the IAM role specified in the managementAccountAccessRole
option in global-config.yaml
rather than the default roles created by CDK.
The roles created and leveraged by CDK by default can be found here.
Generated using TypeDoc
GlobalConfig / cdkOptionsConfig
AWS CDK options configuration. This lets you customize the operation of the CDK within LZA, specifically:
centralizeBuckets: Enabling this option modifies the CDK bootstrap process to utilize a single S3 bucket per region located in the management account for CDK assets generated by LZA. Otherwise, CDK will create a new S3 bucket in every account and every region supported by LZA. useManagementAccessRole: Enabling this option modifies CDK operations to use the IAM role specified in the
managementAccountAccessRole
option inglobal-config.yaml
rather than the default roles created by CDK. Default CDK roles will still be created, but will remain unused. Any stacks previously deployed by LZA will retain their associated execution role. For more information on these roles, please see here.Example