interface BootstrapRoles
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AppStagingSynthesizer.Alpha.BootstrapRoles |
Go | github.com/aws/aws-cdk-go/appstagingsynthesizeralpha/v2#BootstrapRoles |
Java | software.amazon.awscdk.app.staging.synthesizer.alpha.BootstrapRoles |
Python | aws_cdk.app_staging_synthesizer_alpha.BootstrapRoles |
TypeScript (source) | @aws-cdk/app-staging-synthesizer-alpha ยป BootstrapRoles |
Roles that are bootstrapped to your account.
Example
import { BucketEncryption } from 'aws-cdk-lib/aws-s3';
const app = new App({
defaultStackSynthesizer: AppStagingSynthesizer.defaultResources({
appId: 'my-app-id',
stagingBucketEncryption: BucketEncryption.S3_MANAGED,
deploymentIdentities: DeploymentIdentities.specifyRoles({
cloudFormationExecutionRole: BootstrapRole.fromRoleArn('arn:aws:iam::123456789012:role/Execute'),
deploymentRole: BootstrapRole.fromRoleArn('arn:aws:iam::123456789012:role/Deploy'),
lookupRole: BootstrapRole.fromRoleArn('arn:aws:iam::123456789012:role/Lookup'),
}),
}),
});
Properties
| Name | Type | Description |
|---|---|---|
| cloud | Bootstrap | CloudFormation Execution Role. |
| deployment | Bootstrap | Deployment Action Role. |
| lookup | Bootstrap | Lookup Role. |
cloudFormationExecutionRole?
Type:
Bootstrap
(optional, default: use bootstrapped role)
CloudFormation Execution Role.
deploymentRole?
Type:
Bootstrap
(optional, default: use boostrapped role)
Deployment Action Role.
lookupRole?
Type:
Bootstrap
(optional, default: use bootstrapped role)
Lookup Role.

.NET
Go
Java
Python
TypeScript (