@Stability(value=Experimental) @Internal public static final class FileAssetLocation.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements FileAssetLocation
FileAssetLocationsoftware.amazon.jsii.JsiiObject.InitializationModeFileAssetLocation.Builder, FileAssetLocation.Jsii$Proxy| Modifier | Constructor and Description |
|---|---|
protected |
Jsii$Proxy(FileAssetLocation.Builder builder)
Constructor that initializes the object based on literal property values passed by the
FileAssetLocation.Builder. |
protected |
Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
Constructor that initializes the object based on values retrieved from the JsiiObject.
|
| Modifier and Type | Method and Description |
|---|---|
com.fasterxml.jackson.databind.JsonNode |
$jsii$toJson() |
boolean |
equals(Object o) |
String |
getBucketName()
(experimental) The name of the Amazon S3 bucket.
|
String |
getHttpUrl()
(experimental) The HTTP URL of this asset on Amazon S3.
|
String |
getKmsKeyArn()
(deprecated) The ARN of the KMS key used to encrypt the file asset bucket, if any.
|
String |
getObjectKey()
(experimental) The Amazon S3 object key.
|
String |
getS3ObjectUrl()
(experimental) The S3 URL of this asset on Amazon S3.
|
String |
getS3Url()
(deprecated) The HTTP URL of this asset on Amazon S3.
|
int |
hashCode() |
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitbuilderprotected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
objRef - Reference to the JSII managed object.protected Jsii$Proxy(FileAssetLocation.Builder builder)
FileAssetLocation.Builder.public final String getBucketName()
FileAssetLocationgetBucketName in interface FileAssetLocationpublic final String getHttpUrl()
FileAssetLocation
Example value: https://s3-us-east-1.amazonaws.com/mybucket/myobject
getHttpUrl in interface FileAssetLocationpublic final String getObjectKey()
FileAssetLocationgetObjectKey in interface FileAssetLocationpublic final String getS3ObjectUrl()
FileAssetLocation
Example value: s3://mybucket/myobject
getS3ObjectUrl in interface FileAssetLocationpublic final String getKmsKeyArn()
FileAssetLocationIf so, the consuming role should be given "kms:Decrypt" permissions in its identity policy.
It's the responsibility of they key's creator to make sure that all consumers that the key's key policy is configured such that the key can be used by all consumers that need it.
The default bootstrap stack provisioned by the CDK CLI ensures this, and can be used as an example for how to configure the key properly.
Default: - Asset bucket is not encrypted
getKmsKeyArn in interface FileAssetLocationpublic final String getS3Url()
FileAssetLocationDefault: - value specified in `httpUrl` is used.
getS3Url in interface FileAssetLocation@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
$jsii$toJson in interface software.amazon.jsii.JsiiSerializableCopyright © 2022. All rights reserved.