@Stability(value=Stable) 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.
|
| 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, jsiiStaticSetclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitbuilderprotected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
objRef - Reference to the JSII managed object.public String getBucketName()
FileAssetLocationgetBucketName in interface FileAssetLocationpublic String getHttpUrl()
FileAssetLocationExample:
// Example automatically generated without compilation. See https://github.com/aws/jsii/issues/826 https:
getHttpUrl in interface FileAssetLocationpublic String getObjectKey()
FileAssetLocationgetObjectKey in interface FileAssetLocationpublic String getS3ObjectUrl()
FileAssetLocationExample:
// Example automatically generated without compilation. See https://github.com/aws/jsii/issues/826 s3:
getS3ObjectUrl in interface FileAssetLocationpublic String getS3Url()
FileAssetLocationgetS3Url in interface FileAssetLocationpublic 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 com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
$jsii$toJson in interface software.amazon.jsii.JsiiSerializableCopyright © 2020. All rights reserved.