@Stability(value=Stable) @Internal public static final class FileAssetLocation.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements FileAssetLocation
FileAssetLocation
software.amazon.jsii.JsiiObject.InitializationMode
FileAssetLocation.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, jsiiStaticSet
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
builder
protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
objRef
- Reference to the JSII managed object.public final String getBucketName()
FileAssetLocation
getBucketName
in interface FileAssetLocation
public final String getHttpUrl()
FileAssetLocation
Example:
// Example automatically generated without compilation. See https://github.com/aws/jsii/issues/826 https:
getHttpUrl
in interface FileAssetLocation
public final String getObjectKey()
FileAssetLocation
getObjectKey
in interface FileAssetLocation
public final String getS3ObjectUrl()
FileAssetLocation
Example:
// Example automatically generated without compilation. See https://github.com/aws/jsii/issues/826 s3:
getS3ObjectUrl
in interface FileAssetLocation
public final String getKmsKeyArn()
FileAssetLocation
If 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 FileAssetLocation
public final String getS3Url()
FileAssetLocation
Default: - 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.JsiiSerializable
Copyright © 2021. All rights reserved.