public static final class CfnDistribution.OriginProperty.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements CfnDistribution.OriginProperty
CfnDistribution.OriginProperty
CfnDistribution.OriginProperty.Builder, CfnDistribution.OriginProperty.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.
|
java.lang.Number |
getConnectionTimeout()
The number of seconds that CloudFront waits when trying to establish a connection to the origin.
|
java.lang.Object |
getCustomOriginConfig()
Use this type to specify an origin that is not an Amazon S3 bucket, with one exception.
|
java.lang.String |
getDomainName()
The domain name for the origin.
|
java.lang.String |
getId()
A unique identifier for the origin.
|
java.lang.String |
getOriginAccessControlId()
The unique identifier of an origin access control for this origin.
|
java.lang.Object |
getOriginCustomHeaders()
A list of HTTP header names and values that CloudFront adds to the requests that it sends 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.Object |
getOriginShield()
CloudFront Origin Shield.
|
java.lang.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() |
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.String getDomainName()
CfnDistribution.OriginProperty
For more information, see Origin Domain Name in the Amazon CloudFront Developer Guide .
getDomainName
in interface CfnDistribution.OriginProperty
public final java.lang.String getId()
CfnDistribution.OriginProperty
Use this value to specify the TargetOriginId
in a CacheBehavior
or DefaultCacheBehavior
.
getId
in interface CfnDistribution.OriginProperty
public final java.lang.Number getConnectionAttempts()
CfnDistribution.OriginProperty
The 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.OriginProperty
public final java.lang.Number getConnectionTimeout()
CfnDistribution.OriginProperty
The 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.OriginProperty
public final java.lang.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.OriginProperty
public final java.lang.String getOriginAccessControlId()
CfnDistribution.OriginProperty
For more information, see Restricting access to an Amazon S3 origin in the Amazon CloudFront Developer Guide .
getOriginAccessControlId
in interface CfnDistribution.OriginProperty
public final java.lang.Object getOriginCustomHeaders()
CfnDistribution.OriginProperty
For more information, see Adding Custom Headers to Origin Requests in the Amazon CloudFront Developer Guide .
getOriginCustomHeaders
in interface CfnDistribution.OriginProperty
public final java.lang.String getOriginPath()
CfnDistribution.OriginProperty
For more information, see Origin Path in the Amazon CloudFront Developer Guide .
getOriginPath
in interface CfnDistribution.OriginProperty
public final java.lang.Object getOriginShield()
CfnDistribution.OriginProperty
For more information, see Using Origin Shield in the Amazon CloudFront Developer Guide .
getOriginShield
in interface CfnDistribution.OriginProperty
public final java.lang.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
public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
public final boolean equals(java.lang.Object o)
public final int hashCode()