@Stability(value=Stable) @Internal public static final class CfnDistribution.OriginProperty.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements CfnDistribution.OriginProperty
CfnDistribution.OriginPropertysoftware.amazon.jsii.JsiiObject.InitializationModeCfnDistribution.OriginProperty.Builder, CfnDistribution.OriginProperty.Jsii$Proxy| Modifier | Constructor and Description |
|---|---|
protected |
Jsii$Proxy(CfnDistribution.OriginProperty.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 |
getConnectionAttempts()
The number of times that CloudFront attempts to connect to the origin.
|
Number |
getConnectionTimeout()
The number of seconds that CloudFront waits when trying to establish a connection to the origin.
|
Object |
getCustomOriginConfig()
Use this type to specify an origin that is not an Amazon S3 bucket, with one exception.
|
String |
getDomainName()
The domain name for the origin.
|
String |
getId()
A unique identifier for the origin.
|
Object |
getOriginCustomHeaders()
A list of HTTP header names and values that CloudFront adds to the requests that it sends to the origin.
|
String |
getOriginPath()
An optional path that CloudFront appends to the origin domain name when CloudFront requests content from the origin.
|
Object |
getOriginShield()
CloudFront Origin Shield.
|
Object |
getS3OriginConfig()
Use this type to specify an origin that is an Amazon S3 bucket that is not configured with static website hosting.
|
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.OriginProperty.Builder builder)
CfnDistribution.CacheBehaviorProperty.Builder.public final String getDomainName()
CfnDistribution.OriginPropertyFor more information, see Origin Domain Name in the Amazon CloudFront Developer Guide .
getDomainName in interface CfnDistribution.OriginPropertypublic final String getId()
CfnDistribution.OriginProperty
Use this value to specify the TargetOriginId in a CacheBehavior or DefaultCacheBehavior .
getId in interface CfnDistribution.OriginPropertypublic final Number getConnectionAttempts()
CfnDistribution.OriginPropertyThe minimum number is 1, the maximum is 3, and the default (if you don’t specify otherwise) is 3.
For a custom origin (including an Amazon S3 bucket that’s configured with static website hosting), this value also specifies the number of times that CloudFront attempts to get a response from the origin, in the case of an Origin Response Timeout .
For more information, see Origin Connection Attempts in the Amazon CloudFront Developer Guide .
getConnectionAttempts in interface CfnDistribution.OriginPropertypublic final Number getConnectionTimeout()
CfnDistribution.OriginPropertyThe minimum timeout is 1 second, the maximum is 10 seconds, and the default (if you don’t specify otherwise) is 10 seconds.
For more information, see Origin Connection Timeout in the Amazon CloudFront Developer Guide .
getConnectionTimeout in interface CfnDistribution.OriginPropertypublic final Object getCustomOriginConfig()
CfnDistribution.OriginProperty
If the Amazon S3 bucket is configured with static website hosting, use this type. If the Amazon S3 bucket is not configured with static website hosting, use the S3OriginConfig type instead.
getCustomOriginConfig in interface CfnDistribution.OriginPropertypublic final Object getOriginCustomHeaders()
CfnDistribution.OriginPropertyFor more information, see Adding Custom Headers to Origin Requests in the Amazon CloudFront Developer Guide .
getOriginCustomHeaders in interface CfnDistribution.OriginPropertypublic final String getOriginPath()
CfnDistribution.OriginPropertyFor more information, see Origin Path in the Amazon CloudFront Developer Guide .
getOriginPath in interface CfnDistribution.OriginPropertypublic final Object getOriginShield()
CfnDistribution.OriginPropertyFor more information, see Using Origin Shield in the Amazon CloudFront Developer Guide .
getOriginShield in interface CfnDistribution.OriginPropertypublic final Object getS3OriginConfig()
CfnDistribution.OriginProperty
To specify any other type of origin, including an Amazon S3 bucket that is configured with static website hosting, use the CustomOriginConfig type instead.
getS3OriginConfig in interface CfnDistribution.OriginProperty@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
$jsii$toJson in interface software.amazon.jsii.JsiiSerializableCopyright © 2022. All rights reserved.