@Stability(value=Experimental) public static final class HttpOriginProps.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements HttpOriginProps
HttpOriginPropssoftware.amazon.jsii.JsiiObject.InitializationModeHttpOriginProps.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(Object o) |
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.
|
Map<String,String> |
getCustomHeaders()
A list of HTTP header names and values that CloudFront adds to requests it sends to the origin.
|
Number |
getHttpPort()
The HTTP port that CloudFront uses to connect to the origin.
|
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.
|
String |
getOriginPath()
An optional path that CloudFront appends to the origin domain name when CloudFront requests content from 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() |
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSetclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitbuilderprotected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
objRef - Reference to the JSII managed object.public Number getHttpPort()
HttpOriginPropsDefault: 80
EXPERIMENTAL
getHttpPort in interface HttpOriginPropspublic Number getHttpsPort()
HttpOriginPropsDefault: 443
EXPERIMENTAL
getHttpsPort in interface HttpOriginPropspublic Duration getKeepaliveTimeout()
HttpOriginPropsThe valid range is from 1 to 60 seconds, inclusive.
Default: Duration.seconds(5)
EXPERIMENTAL
getKeepaliveTimeout in interface HttpOriginPropspublic OriginProtocolPolicy getProtocolPolicy()
HttpOriginPropsDefault: OriginProtocolPolicy.HTTPS_ONLY
EXPERIMENTAL
getProtocolPolicy in interface HttpOriginPropspublic Duration getReadTimeout()
HttpOriginPropsThe valid range is from 1 to 60 seconds, inclusive.
Default: Duration.seconds(30)
EXPERIMENTAL
getReadTimeout in interface HttpOriginPropspublic Number getConnectionAttempts()
OriginPropsvalid values are 1, 2, or 3 attempts.
Default: 3
EXPERIMENTAL
getConnectionAttempts in interface OriginPropspublic Duration getConnectionTimeout()
OriginPropsValid values are 1-10 seconds, inclusive.
Default: Duration.seconds(10)
EXPERIMENTAL
getConnectionTimeout in interface OriginPropspublic Map<String,String> getCustomHeaders()
OriginPropsDefault: {}
EXPERIMENTAL
getCustomHeaders in interface OriginPropspublic String getOriginPath()
OriginPropsMust begin, but not end, with '/' (e.g., '/production/images').
Default: '/'
EXPERIMENTAL
getOriginPath in interface OriginPropspublic com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
$jsii$toJson in interface software.amazon.jsii.JsiiSerializableCopyright © 2020. All rights reserved.