@Generated(value="jsii-pacmak/1.74.0 (build 6d08790)", date="2023-03-22T19:35:46.624Z") public interface OriginProps extends OriginOptions
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import software.amazon.awscdk.services.cloudfront.*; import software.amazon.awscdk.core.*; OriginProps originProps = OriginProps.builder() .connectionAttempts(123) .connectionTimeout(Duration.minutes(30)) .customHeaders(Map.of( "customHeadersKey", "customHeaders")) .originPath("originPath") .originShieldRegion("originShieldRegion") .build();
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 java.lang.String |
getOriginPath()
An optional path that CloudFront appends to the origin domain name when CloudFront requests content from the origin.
|
getConnectionAttempts, getConnectionTimeout, getCustomHeaders, getOriginShieldRegion
default java.lang.String getOriginPath()
Must begin, but not end, with '/' (e.g., '/production/images').
Default: '/'
static OriginProps.Builder builder()
builder
in interface OriginOptions
OriginProps.Builder
of OriginProps