Interface BootstrapRoles
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
BootstrapRoles.Jsii$Proxy
@Generated(value="jsii-pacmak/1.103.1 (build bef2dea)",
date="2024-10-05T03:43:53.068Z")
@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
Modifier and TypeInterfaceDescriptionstatic final class
A builder forBootstrapRoles
static final class
An implementation forBootstrapRoles
-
Method Summary
Modifier and TypeMethodDescriptionstatic BootstrapRoles.Builder
builder()
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.Builder
ofBootstrapRoles
-