@Generated(value="jsii-pacmak/1.30.0 (build adae23f)", date="2021-06-30T10:00:50.297Z") @Stability(value=Experimental) public interface OriginProps extends software.amazon.jsii.JsiiSerializable
| Modifier and Type | Interface and Description |
|---|---|
static class |
OriginProps.Builder
A builder for
OriginProps |
static class |
OriginProps.Jsii$Proxy
An implementation for
OriginProps |
| Modifier and Type | Method and Description |
|---|---|
static OriginProps.Builder |
builder() |
default Number |
getConnectionAttempts()
(experimental) The number of times that CloudFront attempts to connect to the origin;
|
default Duration |
getConnectionTimeout()
(experimental) The number of seconds that CloudFront waits when trying to establish a connection to the origin.
|
default Map<String,String> |
getCustomHeaders()
(experimental) A list of HTTP header names and values that CloudFront adds to requests it sends to the origin.
|
default String |
getOriginPath()
(experimental) An optional path that CloudFront appends to the origin domain name when CloudFront requests content from the origin.
|
@Stability(value=Experimental) @Nullable default Number getConnectionAttempts()
valid values are 1, 2, or 3 attempts.
Default: 3
@Stability(value=Experimental) @Nullable default Duration getConnectionTimeout()
Valid values are 1-10 seconds, inclusive.
Default: Duration.seconds(10)
@Stability(value=Experimental) @Nullable default Map<String,String> getCustomHeaders()
Default: {}
@Stability(value=Experimental) @Nullable default String getOriginPath()
Must begin, but not end, with '/' (e.g., '/production/images').
Default: '/'
@Stability(value=Experimental) static OriginProps.Builder builder()
OriginProps.Builder of OriginPropsCopyright © 2021. All rights reserved.