Class OriginProps.Jsii$Proxy
java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.cloudfront.OriginProps.Jsii$Proxy
- All Implemented Interfaces:
OriginOptions,OriginProps,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
- OriginProps
@Stability(Stable)
@Internal
public static final class OriginProps.Jsii$Proxy
extends software.amazon.jsii.JsiiObject
implements OriginProps
An implementation for
OriginProps-
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.OriginProps
OriginProps.Builder, OriginProps.Jsii$Proxy -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedJsii$Proxy(OriginProps.Builder builder) Constructor that initializes the object based on literal property values passed by theOriginProps.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 StringAn optional path that CloudFront appends to the origin domain name when CloudFront requests content from the origin.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 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 theOriginProps.Builder.
-
-
Method Details
-
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
-
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:
-
$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()
-