@Stability(value=Experimental) @Internal 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.
|
protected |
Jsii$Proxy(Number httpPort,
Number httpsPort,
Duration keepaliveTimeout,
List<? extends OriginSslPolicy> originSslProtocols,
OriginProtocolPolicy protocolPolicy,
Duration readTimeout,
Number connectionAttempts,
Duration connectionTimeout,
Map<String,String> customHeaders,
String originPath)
Constructor that initializes the object based on literal property values passed by the
HttpOriginProps.Builder. |
| Modifier and Type | Method and Description |
|---|---|
com.fasterxml.jackson.databind.JsonNode |
$jsii$toJson() |
boolean |
equals(Object o) |
Number |
getConnectionAttempts()
(experimental) The number of times that CloudFront attempts to connect to the origin;
|
Duration |
getConnectionTimeout()
(experimental) The number of seconds that CloudFront waits when trying to establish a connection to the origin.
|
Map<String,String> |
getCustomHeaders()
(experimental) A list of HTTP header names and values that CloudFront adds to requests it sends to the origin.
|
Number |
getHttpPort()
(experimental) The HTTP port that CloudFront uses to connect to the origin.
|
Number |
getHttpsPort()
(experimental) The HTTPS port that CloudFront uses to connect to the origin.
|
Duration |
getKeepaliveTimeout()
(experimental) Specifies how long, in seconds, CloudFront persists its connection to the origin.
|
String |
getOriginPath()
(experimental) An optional path that CloudFront appends to the origin domain name when CloudFront requests content from the origin.
|
List<OriginSslPolicy> |
getOriginSslProtocols()
(experimental) The SSL versions to use when interacting with the origin.
|
OriginProtocolPolicy |
getProtocolPolicy()
(experimental) Specifies the protocol (HTTP or HTTPS) that CloudFront uses to connect to the origin.
|
Duration |
getReadTimeout()
(experimental) 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, jsiiStaticSet, jsiiStaticSetclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitbuilderprotected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
objRef - Reference to the JSII managed object.protected Jsii$Proxy(Number httpPort, Number httpsPort, Duration keepaliveTimeout, List<? extends OriginSslPolicy> originSslProtocols, OriginProtocolPolicy protocolPolicy, Duration readTimeout, Number connectionAttempts, Duration connectionTimeout, Map<String,String> customHeaders, String originPath)
HttpOriginProps.Builder.public final Number getHttpPort()
HttpOriginPropsDefault: 80
getHttpPort in interface HttpOriginPropspublic final Number getHttpsPort()
HttpOriginPropsDefault: 443
getHttpsPort in interface HttpOriginPropspublic final Duration getKeepaliveTimeout()
HttpOriginPropsThe valid range is from 1 to 60 seconds, inclusive.
Default: Duration.seconds(5)
getKeepaliveTimeout in interface HttpOriginPropspublic final List<OriginSslPolicy> getOriginSslProtocols()
HttpOriginPropsDefault: OriginSslPolicy.TLS_V1_2
getOriginSslProtocols in interface HttpOriginPropspublic final OriginProtocolPolicy getProtocolPolicy()
HttpOriginPropsDefault: OriginProtocolPolicy.HTTPS_ONLY
getProtocolPolicy in interface HttpOriginPropspublic final Duration getReadTimeout()
HttpOriginPropsThe valid range is from 1 to 60 seconds, inclusive.
Default: Duration.seconds(30)
getReadTimeout in interface HttpOriginPropspublic final Number getConnectionAttempts()
OriginPropsvalid values are 1, 2, or 3 attempts.
Default: 3
getConnectionAttempts in interface OriginPropspublic final Duration getConnectionTimeout()
OriginPropsValid values are 1-10 seconds, inclusive.
Default: Duration.seconds(10)
getConnectionTimeout in interface OriginPropspublic final Map<String,String> getCustomHeaders()
OriginPropsDefault: {}
getCustomHeaders in interface OriginPropspublic final String getOriginPath()
OriginPropsMust begin, but not end, with '/' (e.g., '/production/images').
Default: '/'
getOriginPath in interface OriginProps@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
$jsii$toJson in interface software.amazon.jsii.JsiiSerializableCopyright © 2021. All rights reserved.