@Generated(value="jsii-pacmak/1.30.0 (build adae23f)", date="2021-06-30T10:00:50.289Z") @Stability(value=Experimental) public interface CustomOriginConfig extends software.amazon.jsii.JsiiSerializable
| Modifier and Type | Interface and Description |
|---|---|
static class |
CustomOriginConfig.Builder
A builder for
CustomOriginConfig |
static class |
CustomOriginConfig.Jsii$Proxy
An implementation for
CustomOriginConfig |
| Modifier and Type | Method and Description |
|---|---|
static CustomOriginConfig.Builder |
builder() |
default List<OriginSslPolicy> |
getAllowedOriginSSLVersions()
(experimental) The SSL versions to use when interacting with the origin.
|
String |
getDomainName()
(experimental) The domain name of the custom origin.
|
default Number |
getHttpPort()
(experimental) The origin HTTP port.
|
default Number |
getHttpsPort()
(experimental) The origin HTTPS port.
|
default Map<String,String> |
getOriginHeaders()
(experimental) Any additional headers to pass to the origin.
|
default Duration |
getOriginKeepaliveTimeout()
(experimental) The keep alive timeout when making calls in seconds.
|
default String |
getOriginPath()
(experimental) The relative path to the origin root to use for sources.
|
default OriginProtocolPolicy |
getOriginProtocolPolicy()
(experimental) The protocol (http or https) policy to use when interacting with the origin.
|
default Duration |
getOriginReadTimeout()
(experimental) The read timeout when calling the origin in seconds.
|
@Stability(value=Experimental) @NotNull String getDomainName()
Should not include the path - that should be in the parent SourceConfiguration
@Stability(value=Experimental) @Nullable default List<OriginSslPolicy> getAllowedOriginSSLVersions()
Default: OriginSslPolicy.TLS_V1_2
@Stability(value=Experimental) @Nullable default Number getHttpPort()
Default: 80
@Stability(value=Experimental) @Nullable default Number getHttpsPort()
Default: 443
@Stability(value=Experimental) @Nullable default Map<String,String> getOriginHeaders()
Default: - No additional headers are passed.
@Stability(value=Experimental) @Nullable default Duration getOriginKeepaliveTimeout()
Default: Duration.seconds(5)
@Stability(value=Experimental) @Nullable default String getOriginPath()
Default: /
@Stability(value=Experimental) @Nullable default OriginProtocolPolicy getOriginProtocolPolicy()
Default: OriginProtocolPolicy.HttpsOnly
@Stability(value=Experimental) @Nullable default Duration getOriginReadTimeout()
Default: Duration.seconds(30)
@Stability(value=Experimental) static CustomOriginConfig.Builder builder()
CustomOriginConfig.Builder of CustomOriginConfigCopyright © 2021. All rights reserved.