Class LoadBalancerV2OriginProps.Jsii$Proxy
- All Implemented Interfaces:
OriginOptions,OriginProps,HttpOriginProps,LoadBalancerV2OriginProps,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
LoadBalancerV2OriginProps
LoadBalancerV2OriginProps-
Nested Class Summary
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.amazon.awscdk.services.cloudfront.origins.LoadBalancerV2OriginProps
LoadBalancerV2OriginProps.Builder, LoadBalancerV2OriginProps.Jsii$Proxy -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedConstructor that initializes the object based on literal property values passed by theLoadBalancerV2OriginProps.Builder.protectedJsii$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.JsonNodefinal booleanfinal NumberThe number of times that CloudFront attempts to connect to the origin;final DurationThe 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 NumberThe HTTP port that CloudFront uses to connect to the origin.final NumberThe HTTPS port that CloudFront uses to connect to the origin.final OriginIpAddressTypeSpecifies which IP protocol CloudFront uses when connecting to your origin.final DurationSpecifies how long, in seconds, CloudFront persists its connection to the origin.final StringThe unique identifier of an origin access control for this origin.final StringA unique identifier for the origin.final StringAn optional path that CloudFront appends to the origin domain name when CloudFront requests content from the origin.final BooleanOrigin 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 StringWhen 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 OriginProtocolPolicySpecifies the protocol (HTTP or HTTPS) that CloudFront uses to connect to the origin.final DurationSpecifies how long, in seconds, CloudFront waits for a response from the origin, also known as the origin response timeout.final DurationThe time that a request from CloudFront to the origin can stay open and wait for a response.final inthashCode()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 theLoadBalancerV2OriginProps.Builder.
-
-
Method Details
-
getHttpPort
Description copied from interface:HttpOriginPropsThe HTTP port that CloudFront uses to connect to the origin.Default: 80
- Specified by:
getHttpPortin interfaceHttpOriginProps
-
getHttpsPort
Description copied from interface:HttpOriginPropsThe HTTPS port that CloudFront uses to connect to the origin.Default: 443
- Specified by:
getHttpsPortin interfaceHttpOriginProps
-
getIpAddressType
Description copied from interface:HttpOriginPropsSpecifies which IP protocol CloudFront uses when connecting to your origin.If your origin uses both IPv4 and IPv6 protocols, you can choose dualstack to help optimize reliability.
Default: undefined - AWS Cloudfront default is IPv4
- Specified by:
getIpAddressTypein interfaceHttpOriginProps
-
getKeepaliveTimeout
Description copied from interface:HttpOriginPropsSpecifies 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:
getKeepaliveTimeoutin interfaceHttpOriginProps
-
getOriginSslProtocols
Description copied from interface:HttpOriginPropsThe SSL versions to use when interacting with the origin.Default: OriginSslPolicy.TLS_V1_2
- Specified by:
getOriginSslProtocolsin interfaceHttpOriginProps
-
getProtocolPolicy
Description copied from interface:HttpOriginPropsSpecifies the protocol (HTTP or HTTPS) that CloudFront uses to connect to the origin.Default: OriginProtocolPolicy.HTTPS_ONLY
- Specified by:
getProtocolPolicyin interfaceHttpOriginProps
-
getReadTimeout
Description copied from interface:HttpOriginPropsSpecifies 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:
getReadTimeoutin interfaceHttpOriginProps
-
getOriginPath
Description copied from interface:OriginPropsAn 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:
getOriginPathin interfaceOriginProps
-
getConnectionAttempts
Description copied from interface:OriginOptionsThe number of times that CloudFront attempts to connect to the origin;valid values are 1, 2, or 3 attempts.
Default: 3
- Specified by:
getConnectionAttemptsin interfaceOriginOptions
-
getConnectionTimeout
Description copied from interface:OriginOptionsThe 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:
getConnectionTimeoutin interfaceOriginOptions
-
getCustomHeaders
Description copied from interface:OriginOptionsA list of HTTP header names and values that CloudFront adds to requests it sends to the origin.Default: {}
- Specified by:
getCustomHeadersin interfaceOriginOptions
-
getOriginAccessControlId
Description copied from interface:OriginOptionsThe unique identifier of an origin access control for this origin.Default: - no origin access control
- Specified by:
getOriginAccessControlIdin interfaceOriginOptions
-
getOriginId
Description copied from interface:OriginOptionsA unique identifier for the origin.This value must be unique within the distribution.
Default: - an originid will be generated for you
- Specified by:
getOriginIdin interfaceOriginOptions
-
getOriginShieldEnabled
Description copied from interface:OriginOptionsOrigin 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:
getOriginShieldEnabledin interfaceOriginOptions
-
getOriginShieldRegion
Description copied from interface:OriginOptionsWhen 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:
getOriginShieldRegionin interfaceOriginOptions- See Also:
-
getResponseCompletionTimeout
Description copied from interface:OriginOptionsThe time that a request from CloudFront to the origin can stay open and wait for a response.If the complete response isn't received from the origin by this time, CloudFront ends the connection.
Valid values are 1-3600 seconds, inclusive.
Default: undefined - AWS CloudFront default is not enforcing a maximum value
- Specified by:
getResponseCompletionTimeoutin interfaceOriginOptions- See Also:
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()- Specified by:
$jsii$toJsonin interfacesoftware.amazon.jsii.JsiiSerializable
-
equals
-
hashCode
public final int hashCode()
-