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.119.0 (build 1634eac)",
date="2025-11-13T16:10:16.186Z")
@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.cloud_assembly_schema.*;
Object assumeRoleAdditionalOptions;
AwsDestination awsDestination = AwsDestination.builder()
.assumeRoleAdditionalOptions(Map.of(
"assumeRoleAdditionalOptionsKey", assumeRoleAdditionalOptions))
.assumeRoleArn("assumeRoleArn")
.assumeRoleExternalId("assumeRoleExternalId")
.region("region")
.build();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forAwsDestinationstatic final classAn implementation forAwsDestination -
Method Summary
Modifier and TypeMethodDescriptionstatic AwsDestination.Builderbuilder()Additional options to pass to STS when assuming the role.default StringThe role that needs to be assumed while publishing this asset.default StringThe ExternalId that needs to be supplied while assuming this role.default StringThe region where this asset will need to be published.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getAssumeRoleAdditionalOptions
Additional options to pass to STS when assuming the role.RoleArnshould not be used. Use the dedicatedassumeRoleArnproperty instead.ExternalIdshould not be used. Use the dedicatedassumeRoleExternalIdinstead.
Default: - No additional options.
- See Also:
-
getAssumeRoleArn
The role that needs to be assumed while publishing this asset.Default: - No role will be assumed
-
getAssumeRoleExternalId
The ExternalId that needs to be supplied while assuming this role.Default: - No ExternalId will be supplied
-
getRegion
The region where this asset will need to be published.Default: - Current region
-
builder
- Returns:
- a
AwsDestination.BuilderofAwsDestination
-