Class DeploymentIdentities
java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.app.staging.synthesizer.alpha.DeploymentIdentities
- All Implemented Interfaces:
software.amazon.jsii.JsiiSerializable
@Generated(value="jsii-pacmak/1.139.0 (build 26a6b54)",
date="2026-08-13T16:20:30.232Z")
@Stability(Experimental)
public class DeploymentIdentities
extends software.amazon.jsii.JsiiObject
(experimental) Deployment identities are the class of roles to be assumed by the CDK when deploying the App.
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)
// 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(DefaultBootstrapRolesOptions.builder().bootstrapRegion("us-east-1").build()))
.build()))
.build();
-
Nested Class Summary
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedDeploymentIdentities(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedDeploymentIdentities(software.amazon.jsii.JsiiObjectRef objRef) -
Method Summary
Modifier and TypeMethodDescriptionstatic DeploymentIdentities(experimental) Use CLI credentials for all deployment identities.static DeploymentIdentities(experimental) Use the Roles that have been created by the default bootstrap stack.static DeploymentIdentities(experimental) Use the Roles that have been created by the default bootstrap stack.(experimental) CloudFormation Execution Role.(experimental) Deployment Action Role.(experimental) Lookup Role.static DeploymentIdentitiesspecifyRoles(BootstrapRoles roles) (experimental) Specify your own roles for all deployment identities.Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Constructor Details
-
DeploymentIdentities
protected DeploymentIdentities(software.amazon.jsii.JsiiObjectRef objRef) -
DeploymentIdentities
protected DeploymentIdentities(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
-
-
Method Details
-
cliCredentials
(experimental) Use CLI credentials for all deployment identities. -
defaultBootstrapRoles
@Stability(Experimental) @NotNull public static DeploymentIdentities defaultBootstrapRoles(@Nullable DefaultBootstrapRolesOptions options) (experimental) Use the Roles that have been created by the default bootstrap stack.- Parameters:
options-
-
defaultBootstrapRoles
(experimental) Use the Roles that have been created by the default bootstrap stack. -
specifyRoles
@Stability(Experimental) @NotNull public static DeploymentIdentities specifyRoles(@NotNull BootstrapRoles roles) (experimental) Specify your own roles for all deployment identities.These roles must already exist.
- Parameters:
roles- This parameter is required.
-
getCloudFormationExecutionRole
(experimental) CloudFormation Execution Role. -
getDeploymentRole
(experimental) Deployment Action Role. -
getLookupRole
(experimental) Lookup Role.Default: - use bootstrapped role
-