Interface FileDestination
-
- All Superinterfaces:
AwsDestination,software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
FileDestination.Jsii$Proxy
@Generated(value="jsii-pacmak/1.139.0 (build 26a6b54)", date="2026-07-30T08:06:26.703Z") @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.*; 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 Classes Modifier and Type Interface Description static classFileDestination.BuilderA builder forFileDestinationstatic classFileDestination.Jsii$ProxyAn implementation forFileDestination
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Modifier and Type Method Description static FileDestination.Builderbuilder()StringgetBucketName()The name of the bucket.StringgetObjectKey()The destination object key.-
Methods inherited from interface software.amazon.awscdk.cloudassembly.schema.AwsDestination
getAssumeRoleAdditionalOptions, getAssumeRoleArn, getAssumeRoleExternalId, getRegion
-
-
-
-
Method Detail
-
getBucketName
@Stability(Stable) @NotNull String getBucketName()
The name of the bucket.
-
getObjectKey
@Stability(Stable) @NotNull String getObjectKey()
The destination object key.
-
builder
@Stability(Stable) static FileDestination.Builder builder()
- Returns:
- a
FileDestination.BuilderofFileDestination
-
-