public static final class FileAssetLocation.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements FileAssetLocation
FileAssetLocation
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.
|
Modifier and Type | Method and Description |
---|---|
com.fasterxml.jackson.databind.JsonNode |
$jsii$toJson() |
boolean |
equals(java.lang.Object o) |
java.lang.String |
getBucketName()
The name of the Amazon S3 bucket.
|
java.lang.String |
getHttpUrl()
The HTTP URL of this asset on Amazon S3.
|
java.lang.String |
getKmsKeyArn()
The ARN of the KMS key used to encrypt the file asset bucket, if any.
|
java.lang.String |
getObjectKey()
The Amazon S3 object key.
|
java.lang.String |
getS3ObjectUrl()
The S3 URL of this asset on Amazon S3.
|
java.lang.String |
getS3ObjectUrlWithPlaceholders()
Like `s3ObjectUrl`, but not suitable for CloudFormation consumption.
|
java.lang.String |
getS3Url()
(deprecated) The HTTP URL of this asset on Amazon S3.
|
int |
hashCode() |
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 java.lang.String getBucketName()
FileAssetLocation
getBucketName
in interface FileAssetLocation
public final java.lang.String getHttpUrl()
FileAssetLocation
This value suitable for inclusion in a CloudFormation template, and may be an encoded token.
Example value: https://s3-us-east-1.amazonaws.com/mybucket/myobject
getHttpUrl
in interface FileAssetLocation
public final java.lang.String getObjectKey()
FileAssetLocation
getObjectKey
in interface FileAssetLocation
public final java.lang.String getS3ObjectUrl()
FileAssetLocation
This value suitable for inclusion in a CloudFormation template, and may be an encoded token.
Example value: s3://mybucket/myobject
getS3ObjectUrl
in interface FileAssetLocation
public final java.lang.String getKmsKeyArn()
FileAssetLocation
The CDK bootstrap stack comes with a key policy that does not require setting this property, so you only need to set this property if you have customized the bootstrap stack to require it.
Default: - Asset bucket is not encrypted, or decryption permissions are defined by a Key Policy.
getKmsKeyArn
in interface FileAssetLocation
public final java.lang.String getS3ObjectUrlWithPlaceholders()
FileAssetLocation
If there are placeholders in the S3 URL, they will be returned unreplaced and un-evaluated.
Default: - This feature cannot be used
getS3ObjectUrlWithPlaceholders
in interface FileAssetLocation
public final java.lang.String getS3Url()
FileAssetLocation
Default: - value specified in `httpUrl` is used.
getS3Url
in interface FileAssetLocation
public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
public final boolean equals(java.lang.Object o)
public final int hashCode()