Class S3OriginConfig.Jsii$Proxy

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

@Stability(Stable) @Internal public static final class S3OriginConfig.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements S3OriginConfig
An implementation for S3OriginConfig
  • Nested Class Summary

    Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject

    software.amazon.jsii.JsiiObject.InitializationMode

    Nested classes/interfaces inherited from interface software.amazon.awscdk.services.cloudfront.S3OriginConfig

    S3OriginConfig.Builder, S3OriginConfig.Jsii$Proxy
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
    protected
    Constructor that initializes the object based on literal property values passed by the S3OriginConfig.Builder.
    protected
    Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
    Constructor that initializes the object based on values retrieved from the JsiiObject.
  • Method Summary

    Modifier and Type
    Method
    Description
    com.fasterxml.jackson.databind.JsonNode
     
    final boolean
     
    The optional Origin Access Identity of the origin identity cloudfront will use when calling your s3 bucket.
    Any additional headers to pass to the origin.
    final String
    The relative path to the origin root to use for sources.
    final String
    When you enable Origin Shield in the AWS Region that has the lowest latency to your origin, you can get better network performance.
    final IBucket
    The source bucket to serve content from.
    final int
     

    Methods inherited from class software.amazon.jsii.JsiiObject

    jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
  • 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(S3OriginConfig.Builder builder)
      Constructor that initializes the object based on literal property values passed by the S3OriginConfig.Builder.
  • Method Details

    • getS3BucketSource

      public final IBucket getS3BucketSource()
      Description copied from interface: S3OriginConfig
      The source bucket to serve content from.
      Specified by:
      getS3BucketSource in interface S3OriginConfig
    • getOriginAccessIdentity

      public final IOriginAccessIdentity getOriginAccessIdentity()
      Description copied from interface: S3OriginConfig
      The optional Origin Access Identity of the origin identity cloudfront will use when calling your s3 bucket.

      Default: No Origin Access Identity which requires the S3 bucket to be public accessible

      Specified by:
      getOriginAccessIdentity in interface S3OriginConfig
    • getOriginHeaders

      public final Map<String,String> getOriginHeaders()
      Description copied from interface: S3OriginConfig
      Any additional headers to pass to the origin.

      Default: - No additional headers are passed.

      Specified by:
      getOriginHeaders in interface S3OriginConfig
    • getOriginPath

      public final String getOriginPath()
      Description copied from interface: S3OriginConfig
      The relative path to the origin root to use for sources.

      Default: /

      Specified by:
      getOriginPath in interface S3OriginConfig
    • getOriginShieldRegion

      public final String getOriginShieldRegion()
      Description copied from interface: S3OriginConfig
      When you enable Origin Shield in the AWS Region that has the lowest latency to your origin, you can get better network performance.

      Default: - origin shield not enabled

      Specified by:
      getOriginShieldRegion in interface S3OriginConfig
    • $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