Interface BootstrapRoles
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
BootstrapRoles.Jsii$Proxy
@Generated(value="jsii-pacmak/1.126.0 (build 206d44b)",
date="2026-02-09T14:39:22.276Z")
@Stability(Experimental)
public interface BootstrapRoles
extends software.amazon.jsii.JsiiSerializable
(experimental) Roles that are bootstrapped to your account.
Example:
import software.amazon.awscdk.services.s3.BucketEncryption;
App app = App.Builder.create()
.defaultStackSynthesizer(AppStagingSynthesizer.defaultResources(DefaultResourcesOptions.builder()
.appId("my-app-id")
.stagingBucketEncryption(BucketEncryption.S3_MANAGED)
.deploymentIdentities(DeploymentIdentities.specifyRoles(BootstrapRoles.builder()
.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"))
.build()))
.build()))
.build();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forBootstrapRolesstatic final classAn implementation forBootstrapRoles -
Method Summary
Modifier and TypeMethodDescriptionstatic BootstrapRoles.Builderbuilder()default BootstrapRole(experimental) CloudFormation Execution Role.default BootstrapRole(experimental) Deployment Action Role.default BootstrapRole(experimental) Lookup Role.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getCloudFormationExecutionRole
(experimental) CloudFormation Execution Role.Default: - use bootstrapped role
-
getDeploymentRole
(experimental) Deployment Action Role.Default: - use boostrapped role
-
getLookupRole
(experimental) Lookup Role.Default: - use bootstrapped role
-
builder
- Returns:
- a
BootstrapRoles.BuilderofBootstrapRoles
-