Class S3StaticWebsiteOriginProps.Jsii$Proxy
- All Implemented Interfaces:
OriginOptions
,OriginProps
,HttpOriginProps
,S3StaticWebsiteOriginProps
,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
S3StaticWebsiteOriginProps
S3StaticWebsiteOriginProps
-
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.S3StaticWebsiteOriginProps
S3StaticWebsiteOriginProps.Builder, S3StaticWebsiteOriginProps.Jsii$Proxy
-
Constructor Summary
ModifierConstructorDescriptionprotected
Constructor that initializes the object based on literal property values passed by theS3StaticWebsiteOriginProps.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 Number
The HTTP port that CloudFront uses to connect to the origin.final Number
The HTTPS port that CloudFront uses to connect to the origin.final Duration
Specifies how long, in seconds, CloudFront persists its connection to the origin.final String
The unique identifier of an origin access control for this origin.final String
A unique identifier for the origin.final String
An optional path that CloudFront appends to the origin domain name when CloudFront requests content from the origin.final Boolean
Origin Shield is enabled by setting originShieldRegion to a valid region, after this to disable Origin Shield again you must set this flag to false.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 List<OriginSslPolicy>
The SSL versions to use when interacting with the origin.final OriginProtocolPolicy
Specifies the protocol (HTTP or HTTPS) that CloudFront uses to connect to the origin.final Duration
Specifies how long, in seconds, CloudFront waits for a response from the origin, also known as the origin response timeout.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 theS3StaticWebsiteOriginProps.Builder
.
-
-
Method Details
-
getHttpPort
Description copied from interface:HttpOriginProps
The HTTP port that CloudFront uses to connect to the origin.Default: 80
- Specified by:
getHttpPort
in interfaceHttpOriginProps
-
getHttpsPort
Description copied from interface:HttpOriginProps
The HTTPS port that CloudFront uses to connect to the origin.Default: 443
- Specified by:
getHttpsPort
in interfaceHttpOriginProps
-
getKeepaliveTimeout
Description copied from interface:HttpOriginProps
Specifies how long, in seconds, CloudFront persists its connection to the origin.The valid range is from 1 to 180 seconds, inclusive.
Note that values over 60 seconds are possible only after a limit increase request for the origin response timeout quota has been approved in the target account; otherwise, values over 60 seconds will produce an error at deploy time.
Default: Duration.seconds(5)
- Specified by:
getKeepaliveTimeout
in interfaceHttpOriginProps
-
getOriginSslProtocols
Description copied from interface:HttpOriginProps
The SSL versions to use when interacting with the origin.Default: OriginSslPolicy.TLS_V1_2
- Specified by:
getOriginSslProtocols
in interfaceHttpOriginProps
-
getProtocolPolicy
Description copied from interface:HttpOriginProps
Specifies the protocol (HTTP or HTTPS) that CloudFront uses to connect to the origin.Default: OriginProtocolPolicy.HTTPS_ONLY
- Specified by:
getProtocolPolicy
in interfaceHttpOriginProps
-
getReadTimeout
Description copied from interface:HttpOriginProps
Specifies how long, in seconds, CloudFront waits for a response from the origin, also known as the origin response timeout.The valid range is from 1 to 180 seconds, inclusive.
Note that values over 60 seconds are possible only after a limit increase request for the origin response timeout quota has been approved in the target account; otherwise, values over 60 seconds will produce an error at deploy time.
Default: Duration.seconds(30)
- Specified by:
getReadTimeout
in interfaceHttpOriginProps
-
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
-
getOriginAccessControlId
Description copied from interface:OriginOptions
The unique identifier of an origin access control for this origin.Default: - no origin access control
- Specified by:
getOriginAccessControlId
in interfaceOriginOptions
-
getOriginId
Description copied from interface:OriginOptions
A unique identifier for the origin.This value must be unique within the distribution.
Default: - an originid will be generated for you
- Specified by:
getOriginId
in interfaceOriginOptions
-
getOriginShieldEnabled
Description copied from interface:OriginOptions
Origin Shield is enabled by setting originShieldRegion to a valid region, after this to disable Origin Shield again you must set this flag to false.Default: - true
- Specified by:
getOriginShieldEnabled
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()
-