Interface FileDestination
- All Superinterfaces:
AwsDestination
,software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
FileDestination.Jsii$Proxy
@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)",
date="2023-06-19T16:29:54.693Z")
@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.cloudassembly.schema.*; FileDestination fileDestination = FileDestination.builder() .bucketName("bucketName") .objectKey("objectKey") // the properties below are optional .assumeRoleArn("assumeRoleArn") .assumeRoleExternalId("assumeRoleExternalId") .region("region") .build();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final class
A builder forFileDestination
static final class
An implementation forFileDestination
-
Method Summary
Modifier and TypeMethodDescriptionstatic FileDestination.Builder
builder()
The name of the bucket.The destination object key.Methods inherited from interface software.amazon.awscdk.cloudassembly.schema.AwsDestination
getAssumeRoleArn, getAssumeRoleExternalId, getRegion
Methods 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.Builder
ofFileDestination
-