Interface CfnDistribution.CustomOriginConfigProperty

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
CfnDistribution.CustomOriginConfigProperty.Jsii$Proxy
Enclosing class:
CfnDistribution

@Stability(Stable) public static interface CfnDistribution.CustomOriginConfigProperty extends software.amazon.jsii.JsiiSerializable
A custom origin.

A custom origin is any origin that is not an Amazon S3 bucket, with one exception. An Amazon S3 bucket that is configured with static website hosting is a custom origin.

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.*;
 CustomOriginConfigProperty customOriginConfigProperty = CustomOriginConfigProperty.builder()
         .originProtocolPolicy("originProtocolPolicy")
         // the properties below are optional
         .httpPort(123)
         .httpsPort(123)
         .originKeepaliveTimeout(123)
         .originReadTimeout(123)
         .originSslProtocols(List.of("originSslProtocols"))
         .build();
 

See Also: