public static final class CustomOriginConfig.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements CustomOriginConfig
CustomOriginConfig
CustomOriginConfig.Builder, CustomOriginConfig.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.util.List<OriginSslPolicy> |
getAllowedOriginSSLVersions()
The SSL versions to use when interacting with the origin.
|
java.lang.String |
getDomainName()
The domain name of the custom origin.
|
java.lang.Number |
getHttpPort()
The origin HTTP port.
|
java.lang.Number |
getHttpsPort()
The origin HTTPS port.
|
java.util.Map<java.lang.String,java.lang.String> |
getOriginHeaders()
Any additional headers to pass to the origin.
|
Duration |
getOriginKeepaliveTimeout()
The keep alive timeout when making calls in seconds.
|
java.lang.String |
getOriginPath()
The relative path to the origin root to use for sources.
|
OriginProtocolPolicy |
getOriginProtocolPolicy()
The protocol (http or https) policy to use when interacting with the origin.
|
Duration |
getOriginReadTimeout()
The read timeout when calling the origin in seconds.
|
java.lang.String |
getOriginShieldRegion()
When you enable Origin Shield in the AWS Region that has the lowest latency to your origin, you can get better network performance.
|
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 getDomainName()
CustomOriginConfig
Should not include the path - that should be in the parent SourceConfiguration
getDomainName
in interface CustomOriginConfig
public final java.util.List<OriginSslPolicy> getAllowedOriginSSLVersions()
CustomOriginConfig
Default: OriginSslPolicy.TLS_V1_2
getAllowedOriginSSLVersions
in interface CustomOriginConfig
public final java.lang.Number getHttpPort()
CustomOriginConfig
Default: 80
getHttpPort
in interface CustomOriginConfig
public final java.lang.Number getHttpsPort()
CustomOriginConfig
Default: 443
getHttpsPort
in interface CustomOriginConfig
public final java.util.Map<java.lang.String,java.lang.String> getOriginHeaders()
CustomOriginConfig
Default: - No additional headers are passed.
getOriginHeaders
in interface CustomOriginConfig
public final Duration getOriginKeepaliveTimeout()
CustomOriginConfig
Default: Duration.seconds(5)
getOriginKeepaliveTimeout
in interface CustomOriginConfig
public final java.lang.String getOriginPath()
CustomOriginConfig
Default: /
getOriginPath
in interface CustomOriginConfig
public final OriginProtocolPolicy getOriginProtocolPolicy()
CustomOriginConfig
Default: OriginProtocolPolicy.HttpsOnly
getOriginProtocolPolicy
in interface CustomOriginConfig
public final Duration getOriginReadTimeout()
CustomOriginConfig
Default: Duration.seconds(30)
getOriginReadTimeout
in interface CustomOriginConfig
public final java.lang.String getOriginShieldRegion()
CustomOriginConfig
Default: - origin shield not enabled
getOriginShieldRegion
in interface CustomOriginConfig
public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
public final boolean equals(java.lang.Object o)
public final int hashCode()