Interface AwsDestination

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Subinterfaces:
DockerImageDestination, FileDestination
All Known Implementing Classes:
AwsDestination.Jsii$Proxy, DockerImageDestination.Jsii$Proxy, FileDestination.Jsii$Proxy

@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)", date="2023-06-19T16:29:54.666Z") @Stability(Stable) public interface AwsDestination extends software.amazon.jsii.JsiiSerializable
Destination for assets that need to be uploaded to AWS.

Example:

 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 import software.amazon.awscdk.cloudassembly.schema.*;
 AwsDestination awsDestination = AwsDestination.builder()
         .assumeRoleArn("assumeRoleArn")
         .assumeRoleExternalId("assumeRoleExternalId")
         .region("region")
         .build();
 
  • Method Details

    • getAssumeRoleArn

      @Stability(Stable) @Nullable default String getAssumeRoleArn()
      The role that needs to be assumed while publishing this asset.

      Default: - No role will be assumed

    • getAssumeRoleExternalId

      @Stability(Stable) @Nullable default String getAssumeRoleExternalId()
      The ExternalId that needs to be supplied while assuming this role.

      Default: - No ExternalId will be supplied

    • getRegion

      @Stability(Stable) @Nullable default String getRegion()
      The region where this asset will need to be published.

      Default: - Current region

    • builder

      @Stability(Stable) static AwsDestination.Builder builder()
      Returns:
      a AwsDestination.Builder of AwsDestination