Class FileAssetLocation.Jsii$Proxy

java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.core.FileAssetLocation.Jsii$Proxy
All Implemented Interfaces:
FileAssetLocation, software.amazon.jsii.JsiiSerializable
Enclosing interface:
FileAssetLocation

@Stability(Stable) @Internal public static final class FileAssetLocation.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements FileAssetLocation
An implementation for FileAssetLocation
  • Constructor Details

    • Jsii$Proxy

      protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
      Constructor that initializes the object based on values retrieved from the JsiiObject.
      Parameters:
      objRef - Reference to the JSII managed object.
    • Jsii$Proxy

      protected Jsii$Proxy(FileAssetLocation.Builder builder)
      Constructor that initializes the object based on literal property values passed by the FileAssetLocation.Builder.
  • Method Details

    • getBucketName

      public final String getBucketName()
      Description copied from interface: FileAssetLocation
      The name of the Amazon S3 bucket.
      Specified by:
      getBucketName in interface FileAssetLocation
    • getHttpUrl

      public final String getHttpUrl()
      Description copied from interface: FileAssetLocation
      The HTTP URL of this asset on Amazon S3.

      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

      Specified by:
      getHttpUrl in interface FileAssetLocation
    • getObjectKey

      public final String getObjectKey()
      Description copied from interface: FileAssetLocation
      The Amazon S3 object key.
      Specified by:
      getObjectKey in interface FileAssetLocation
    • getS3ObjectUrl

      public final String getS3ObjectUrl()
      Description copied from interface: FileAssetLocation
      The S3 URL of this asset on Amazon S3.

      This value suitable for inclusion in a CloudFormation template, and may be an encoded token.

      Example value: s3://mybucket/myobject

      Specified by:
      getS3ObjectUrl in interface FileAssetLocation
    • getKmsKeyArn

      public final String getKmsKeyArn()
      Description copied from interface: FileAssetLocation
      The ARN of the KMS key used to encrypt the file asset bucket, if any.

      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.

      Specified by:
      getKmsKeyArn in interface FileAssetLocation
    • getS3ObjectUrlWithPlaceholders

      public final String getS3ObjectUrlWithPlaceholders()
      Description copied from interface: FileAssetLocation
      Like s3ObjectUrl, but not suitable for CloudFormation consumption.

      If there are placeholders in the S3 URL, they will be returned unreplaced and un-evaluated.

      Default: - This feature cannot be used

      Specified by:
      getS3ObjectUrlWithPlaceholders in interface FileAssetLocation
    • getS3Url

      public final String getS3Url()
      Description copied from interface: FileAssetLocation
      (deprecated) The HTTP URL of this asset on Amazon S3.

      Default: - value specified in `httpUrl` is used.

      Specified by:
      getS3Url in interface FileAssetLocation
    • $jsii$toJson

      @Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
      Specified by:
      $jsii$toJson in interface software.amazon.jsii.JsiiSerializable
    • equals

      public final boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public final int hashCode()
      Overrides:
      hashCode in class Object