@Stability(value=Stable) @Internal public static final class CfnDistribution.CustomOriginConfigProperty.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements CfnDistribution.CustomOriginConfigProperty
CfnDistribution.CustomOriginConfigPropertysoftware.amazon.jsii.JsiiObject.InitializationModeCfnDistribution.CustomOriginConfigProperty.Builder, CfnDistribution.CustomOriginConfigProperty.Jsii$Proxy| Modifier | Constructor and Description |
|---|---|
protected |
Jsii$Proxy(CfnDistribution.CustomOriginConfigProperty.Builder builder)
Constructor that initializes the object based on literal property values passed by the
CfnDistribution.CacheBehaviorProperty.Builder. |
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 |
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.
|
Number |
getOriginKeepaliveTimeout()
Specifies how long, in seconds, CloudFront persists its connection to the origin.
|
String |
getOriginProtocolPolicy()
Specifies the protocol (HTTP or HTTPS) that CloudFront uses to connect to the origin.
|
Number |
getOriginReadTimeout()
Specifies how long, in seconds, CloudFront waits for a response from the origin.
|
List<String> |
getOriginSslProtocols()
Specifies the minimum SSL/TLS protocol that CloudFront uses when connecting to your origin over HTTPS.
|
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(CfnDistribution.CustomOriginConfigProperty.Builder builder)
CfnDistribution.CacheBehaviorProperty.Builder.public final String getOriginProtocolPolicy()
CfnDistribution.CustomOriginConfigProperty
http-only – CloudFront always uses HTTP to connect to the origin.match-viewer – CloudFront connects to the origin using the same protocol that the viewer used to connect to CloudFront.https-only – CloudFront always uses HTTPS to connect to the origin.getOriginProtocolPolicy in interface CfnDistribution.CustomOriginConfigPropertypublic final Number getHttpPort()
CfnDistribution.CustomOriginConfigPropertySpecify the HTTP port that the origin listens on.
getHttpPort in interface CfnDistribution.CustomOriginConfigPropertypublic final Number getHttpsPort()
CfnDistribution.CustomOriginConfigPropertySpecify the HTTPS port that the origin listens on.
getHttpsPort in interface CfnDistribution.CustomOriginConfigPropertypublic final Number getOriginKeepaliveTimeout()
CfnDistribution.CustomOriginConfigPropertyThe minimum timeout is 1 second, the maximum is 60 seconds, and the default (if you don’t specify otherwise) is 5 seconds.
For more information, see Origin Keep-alive Timeout in the Amazon CloudFront Developer Guide .
getOriginKeepaliveTimeout in interface CfnDistribution.CustomOriginConfigPropertypublic final Number getOriginReadTimeout()
CfnDistribution.CustomOriginConfigPropertyThis is also known as the origin response timeout . The minimum timeout is 1 second, the maximum is 60 seconds, and the default (if you don’t specify otherwise) is 30 seconds.
For more information, see Origin Response Timeout in the Amazon CloudFront Developer Guide .
getOriginReadTimeout in interface CfnDistribution.CustomOriginConfigPropertypublic final List<String> getOriginSslProtocols()
CfnDistribution.CustomOriginConfigProperty
Valid values include SSLv3 , TLSv1 , TLSv1.1 , and TLSv1.2 .
For more information, see Minimum Origin SSL Protocol in the Amazon CloudFront Developer Guide .
getOriginSslProtocols in interface CfnDistribution.CustomOriginConfigProperty@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
$jsii$toJson in interface software.amazon.jsii.JsiiSerializableCopyright © 2022. All rights reserved.