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.98.0 (build 00b106d)",
date="2024-05-30T02:11:15.796Z")
@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
ModifierConstructorDescriptionprotected
DeploymentIdentities
(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protected
DeploymentIdentities
(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 DeploymentIdentities
specifyRoles
(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, jsiiStaticSet
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods 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
-