@Stability(value=Stable) @Internal public static final class S3OriginProps.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements S3OriginProps
S3OriginPropssoftware.amazon.jsii.JsiiObject.InitializationModeS3OriginProps.Builder, S3OriginProps.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(S3OriginProps.Builder builder)
Constructor that initializes the object based on literal property values passed by the
S3OriginProps.Builder. |
| 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.
|
IOriginAccessIdentity |
getOriginAccessIdentity()
An optional Origin Access Identity of the origin identity cloudfront will use when calling your s3 bucket.
|
String |
getOriginPath()
An optional path that CloudFront appends to the origin domain name when CloudFront requests content from the origin.
|
String |
getOriginShieldRegion()
When you enable Origin Shield in the AWS Region that has the lowest latency to your origin, you can get better network performance.
|
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(S3OriginProps.Builder builder)
S3OriginProps.Builder.public final IOriginAccessIdentity getOriginAccessIdentity()
S3OriginPropsDefault: - An Origin Access Identity will be created.
getOriginAccessIdentity in interface S3OriginPropspublic final String getOriginPath()
OriginPropsMust begin, but not end, with '/' (e.g., '/production/images').
Default: '/'
getOriginPath in interface OriginPropspublic final Number getConnectionAttempts()
OriginOptionsvalid values are 1, 2, or 3 attempts.
Default: 3
getConnectionAttempts in interface OriginOptionspublic final Duration getConnectionTimeout()
OriginOptionsValid values are 1-10 seconds, inclusive.
Default: Duration.seconds(10)
getConnectionTimeout in interface OriginOptionspublic final Map<String,String> getCustomHeaders()
OriginOptionsDefault: {}
getCustomHeaders in interface OriginOptionspublic final String getOriginShieldRegion()
OriginOptionsDefault: - origin shield not enabled
getOriginShieldRegion in interface OriginOptions@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
$jsii$toJson in interface software.amazon.jsii.JsiiSerializableCopyright © 2022. All rights reserved.