@Generated(value="jsii-pacmak/1.47.0 (build 86d2c33)", date="2021-12-22T10:27:15.517Z") @Stability(value=Stable) public interface FileAssetLocation extends software.amazon.jsii.JsiiSerializable
This is where the asset can be consumed at runtime.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.*;
FileAssetLocation fileAssetLocation = FileAssetLocation.builder()
.bucketName("bucketName")
.httpUrl("httpUrl")
.objectKey("objectKey")
.s3ObjectUrl("s3ObjectUrl")
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
FileAssetLocation.Builder
A builder for
FileAssetLocation |
static class |
FileAssetLocation.Jsii$Proxy
An implementation for
FileAssetLocation |
| Modifier and Type | Method and Description |
|---|---|
static FileAssetLocation.Builder |
builder() |
String |
getBucketName()
The name of the Amazon S3 bucket.
|
String |
getHttpUrl()
The HTTP URL of this asset on Amazon S3.
|
String |
getObjectKey()
The Amazon S3 object key.
|
String |
getS3ObjectUrl()
The S3 URL of this asset on Amazon S3.
|
@Stability(value=Stable) @NotNull String getBucketName()
@Stability(value=Stable) @NotNull String getHttpUrl()
Example value: https://s3-us-east-1.amazonaws.com/mybucket/myobject
@Stability(value=Stable) @NotNull String getObjectKey()
@Stability(value=Stable) @NotNull String getS3ObjectUrl()
Example value: s3://mybucket/myobject
@Stability(value=Stable) static FileAssetLocation.Builder builder()
FileAssetLocation.Builder of FileAssetLocationCopyright © 2021. All rights reserved.