Interface FileDestination
- All Superinterfaces:
AwsDestination,software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
FileDestination.Jsii$Proxy
@Generated(value="jsii-pacmak/1.119.0 (build 1634eac)",
date="2025-11-13T16:10:16.203Z")
@Stability(Stable)
public interface FileDestination
extends software.amazon.jsii.JsiiSerializable, AwsDestination
Where in S3 a file asset needs to be published.
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;
FileDestination fileDestination = FileDestination.builder()
.bucketName("bucketName")
.objectKey("objectKey")
// the properties below are optional
.assumeRoleAdditionalOptions(Map.of(
"assumeRoleAdditionalOptionsKey", assumeRoleAdditionalOptions))
.assumeRoleArn("assumeRoleArn")
.assumeRoleExternalId("assumeRoleExternalId")
.region("region")
.build();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forFileDestinationstatic final classAn implementation forFileDestination -
Method Summary
Modifier and TypeMethodDescriptionstatic FileDestination.Builderbuilder()The name of the bucket.The destination object key.Methods inherited from interface software.amazon.awscdk.cloud_assembly_schema.AwsDestination
getAssumeRoleAdditionalOptions, getAssumeRoleArn, getAssumeRoleExternalId, getRegionMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getBucketName
The name of the bucket. -
getObjectKey
The destination object key. -
builder
- Returns:
- a
FileDestination.BuilderofFileDestination
-