@Generated(value="jsii-pacmak/1.46.0 (build cd08c55)", date="2021-11-25T20:11:04.639Z") @Stability(value=Experimental) 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()
(experimental) The name of the Amazon S3 bucket.
|
String |
getHttpUrl()
(experimental) The HTTP URL of this asset on Amazon S3.
|
String |
getObjectKey()
(experimental) The Amazon S3 object key.
|
String |
getS3ObjectUrl()
(experimental) The S3 URL of this asset on Amazon S3.
|
@Stability(value=Experimental) @NotNull String getBucketName()
@Stability(value=Experimental) @NotNull String getHttpUrl()
Example value: https://s3-us-east-1.amazonaws.com/mybucket/myobject
@Stability(value=Experimental) @NotNull String getObjectKey()
@Stability(value=Experimental) @NotNull String getS3ObjectUrl()
Example value: s3://mybucket/myobject
@Stability(value=Experimental) static FileAssetLocation.Builder builder()
FileAssetLocation.Builder of FileAssetLocationCopyright © 2021. All rights reserved.