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.139.0 (build 26a6b54)",
               date="2026-07-30T08:06:26.681Z")
    @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.*;
     Object assumeRoleAdditionalOptions;
     AwsDestination awsDestination = AwsDestination.builder()
             .assumeRoleAdditionalOptions(Map.of(
                     "assumeRoleAdditionalOptionsKey", assumeRoleAdditionalOptions))
             .assumeRoleArn("assumeRoleArn")
             .assumeRoleExternalId("assumeRoleExternalId")
             .region("region")
             .build();
     
    • Method Detail

      • 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