Class S3OriginProps.Jsii$Proxy
java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.cloudfront.origins.S3OriginProps.Jsii$Proxy
- All Implemented Interfaces:
OriginOptions
,OriginProps
,S3OriginProps
,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
- S3OriginProps
@Stability(Stable)
@Internal
public static final class S3OriginProps.Jsii$Proxy
extends software.amazon.jsii.JsiiObject
implements S3OriginProps
An implementation for
S3OriginProps
-
Nested Class Summary
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
Nested classes/interfaces inherited from interface software.amazon.awscdk.services.cloudfront.origins.S3OriginProps
S3OriginProps.Builder, S3OriginProps.Jsii$Proxy
-
Constructor Summary
ModifierConstructorDescriptionprotected
Jsii$Proxy
(S3OriginProps.Builder builder) Constructor that initializes the object based on literal property values passed by theS3OriginProps.Builder
.protected
Jsii$Proxy
(software.amazon.jsii.JsiiObjectRef objRef) Constructor that initializes the object based on values retrieved from the JsiiObject. -
Method Summary
Modifier and TypeMethodDescriptioncom.fasterxml.jackson.databind.JsonNode
final boolean
final Number
The number of times that CloudFront attempts to connect to the origin;final Duration
The number of seconds that CloudFront waits when trying to establish a connection to the origin.A list of HTTP header names and values that CloudFront adds to requests it sends to the origin.final IOriginAccessIdentity
An optional Origin Access Identity of the origin identity cloudfront will use when calling your s3 bucket.final String
An optional path that CloudFront appends to the origin domain name when CloudFront requests content from the origin.final String
When you enable Origin Shield in the AWS Region that has the lowest latency to your origin, you can get better network performance.final int
hashCode()
Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
-
Constructor Details
-
Jsii$Proxy
protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef) Constructor that initializes the object based on values retrieved from the JsiiObject.- Parameters:
objRef
- Reference to the JSII managed object.
-
Jsii$Proxy
Constructor that initializes the object based on literal property values passed by theS3OriginProps.Builder
.
-
-
Method Details
-
getOriginAccessIdentity
Description copied from interface:S3OriginProps
An optional Origin Access Identity of the origin identity cloudfront will use when calling your s3 bucket.Default: - An Origin Access Identity will be created.
- Specified by:
getOriginAccessIdentity
in interfaceS3OriginProps
-
getOriginPath
Description copied from interface:OriginProps
An optional path that CloudFront appends to the origin domain name when CloudFront requests content from the origin.Must begin, but not end, with '/' (e.g., '/production/images').
Default: '/'
- Specified by:
getOriginPath
in interfaceOriginProps
-
getConnectionAttempts
Description copied from interface:OriginOptions
The number of times that CloudFront attempts to connect to the origin;valid values are 1, 2, or 3 attempts.
Default: 3
- Specified by:
getConnectionAttempts
in interfaceOriginOptions
-
getConnectionTimeout
Description copied from interface:OriginOptions
The number of seconds that CloudFront waits when trying to establish a connection to the origin.Valid values are 1-10 seconds, inclusive.
Default: Duration.seconds(10)
- Specified by:
getConnectionTimeout
in interfaceOriginOptions
-
getCustomHeaders
Description copied from interface:OriginOptions
A list of HTTP header names and values that CloudFront adds to requests it sends to the origin.Default: {}
- Specified by:
getCustomHeaders
in interfaceOriginOptions
-
getOriginShieldRegion
Description copied from interface:OriginOptions
When you enable Origin Shield in the AWS Region that has the lowest latency to your origin, you can get better network performance.Default: - origin shield not enabled
- Specified by:
getOriginShieldRegion
in interfaceOriginOptions
- See Also:
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()- Specified by:
$jsii$toJson
in interfacesoftware.amazon.jsii.JsiiSerializable
-
equals
-
hashCode
public final int hashCode()
-