interface DefaultBootstrapRolesOptions
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AppStagingSynthesizer.Alpha.DefaultBootstrapRolesOptions |
Go | github.com/aws/aws-cdk-go/appstagingsynthesizeralpha/v2#DefaultBootstrapRolesOptions |
Java | software.amazon.awscdk.app.staging.synthesizer.alpha.DefaultBootstrapRolesOptions |
Python | aws_cdk.app_staging_synthesizer_alpha.DefaultBootstrapRolesOptions |
TypeScript (source) | @aws-cdk/app-staging-synthesizer-alpha » DefaultBootstrapRolesOptions |
Options for DeploymentIdentities.defaultBootstrappedRoles.
Example
import { BucketEncryption } from 'aws-cdk-lib/aws-s3';
const app = new App({
defaultStackSynthesizer: AppStagingSynthesizer.defaultResources({
appId: 'my-app-id',
stagingBucketEncryption: BucketEncryption.S3_MANAGED,
// The following line is optional. By default it is assumed you have bootstrapped in the same
// region(s) as the stack(s) you are deploying.
deploymentIdentities: DeploymentIdentities.defaultBootstrapRoles({ bootstrapRegion: 'us-east-1' }),
}),
});
Properties
| Name | Type | Description |
|---|---|---|
| bootstrap | string | The region where the default bootstrap roles have been created. |
bootstrapRegion?
Type:
string
(optional, default: the stack's current region)
The region where the default bootstrap roles have been created.
By default, the region in which the stack is deployed is used.

.NET
Go
Java
Python
TypeScript (