public static final class HttpOriginProps.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements HttpOriginProps
HttpOriginProps
HttpOriginProps.Builder, HttpOriginProps.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.Number |
getConnectionAttempts()
The number of times that CloudFront attempts to connect to the origin;
|
Duration |
getConnectionTimeout()
The number of seconds that CloudFront waits when trying to establish a connection to the origin.
|
java.util.Map<java.lang.String,java.lang.String> |
getCustomHeaders()
A list of HTTP header names and values that CloudFront adds to requests it sends to the origin.
|
java.lang.Number |
getHttpPort()
The HTTP port that CloudFront uses to connect to the origin.
|
java.lang.Number |
getHttpsPort()
The HTTPS port that CloudFront uses to connect to the origin.
|
Duration |
getKeepaliveTimeout()
Specifies how long, in seconds, CloudFront persists its connection to the origin.
|
java.lang.String |
getOriginPath()
An optional path that CloudFront appends to the origin domain name when CloudFront requests content from the origin.
|
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.
|
java.util.List<OriginSslPolicy> |
getOriginSslProtocols()
The SSL versions to use when interacting with the origin.
|
OriginProtocolPolicy |
getProtocolPolicy()
Specifies the protocol (HTTP or HTTPS) that CloudFront uses to connect to the origin.
|
Duration |
getReadTimeout()
Specifies how long, in seconds, CloudFront waits for a response from the origin, also known as the origin response timeout.
|
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.Number getHttpPort()
HttpOriginProps
Default: 80
getHttpPort
in interface HttpOriginProps
public final java.lang.Number getHttpsPort()
HttpOriginProps
Default: 443
getHttpsPort
in interface HttpOriginProps
public final Duration getKeepaliveTimeout()
HttpOriginProps
The valid range is from 1 to 180 seconds, inclusive.
Note that values over 60 seconds are possible only after a limit increase request for the origin response timeout quota has been approved in the target account; otherwise, values over 60 seconds will produce an error at deploy time.
Default: Duration.seconds(5)
getKeepaliveTimeout
in interface HttpOriginProps
public final java.util.List<OriginSslPolicy> getOriginSslProtocols()
HttpOriginProps
Default: OriginSslPolicy.TLS_V1_2
getOriginSslProtocols
in interface HttpOriginProps
public final OriginProtocolPolicy getProtocolPolicy()
HttpOriginProps
Default: OriginProtocolPolicy.HTTPS_ONLY
getProtocolPolicy
in interface HttpOriginProps
public final Duration getReadTimeout()
HttpOriginProps
The valid range is from 1 to 180 seconds, inclusive.
Note that values over 60 seconds are possible only after a limit increase request for the origin response timeout quota has been approved in the target account; otherwise, values over 60 seconds will produce an error at deploy time.
Default: Duration.seconds(30)
getReadTimeout
in interface HttpOriginProps
public final java.lang.String getOriginPath()
OriginProps
Must begin, but not end, with '/' (e.g., '/production/images').
Default: '/'
getOriginPath
in interface OriginProps
public final java.lang.Number getConnectionAttempts()
OriginOptions
valid values are 1, 2, or 3 attempts.
Default: 3
getConnectionAttempts
in interface OriginOptions
public final Duration getConnectionTimeout()
OriginOptions
Valid values are 1-10 seconds, inclusive.
Default: Duration.seconds(10)
getConnectionTimeout
in interface OriginOptions
public final java.util.Map<java.lang.String,java.lang.String> getCustomHeaders()
OriginOptions
Default: {}
getCustomHeaders
in interface OriginOptions
public final java.lang.String getOriginShieldRegion()
OriginOptions
Default: - origin shield not enabled
getOriginShieldRegion
in interface OriginOptions
public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
public final boolean equals(java.lang.Object o)
public final int hashCode()