@Stability(value=Stable) @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(software.amazon.jsii.JsiiObjectRef objRef)
Constructor that initializes the object based on values retrieved from the JsiiObject.
|
protected |
Jsii$Proxy(String bucketName,
String httpUrl,
String objectKey,
String s3ObjectUrl,
String kmsKeyArn,
String s3Url)
Constructor that initializes the object based on literal property values passed by the
FileAssetLocation.Builder. |
| Modifier and Type | Method and Description |
|---|---|
com.fasterxml.jackson.databind.JsonNode |
$jsii$toJson() |
boolean |
equals(Object o) |
String |
getBucketName()
The name of the Amazon S3 bucket.
|
String |
getHttpUrl()
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()
The Amazon S3 object key.
|
String |
getS3ObjectUrl()
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.public final String getBucketName()
FileAssetLocationgetBucketName in interface FileAssetLocationpublic final String getHttpUrl()
FileAssetLocationExample:
// Example automatically generated without compilation. See https://github.com/aws/jsii/issues/826 https:
getHttpUrl in interface FileAssetLocationpublic final String getObjectKey()
FileAssetLocationgetObjectKey in interface FileAssetLocationpublic final String getS3ObjectUrl()
FileAssetLocationExample:
// Example automatically generated without compilation. See https://github.com/aws/jsii/issues/826 s3:
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 © 2021. All rights reserved.