Interface CfnDistributionPropsMixin.CustomOriginConfigProperty

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

@Stability(Stable) public static interface CfnDistributionPropsMixin.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.cfnpropertymixins.services.cloudfront.*;
 CustomOriginConfigProperty customOriginConfigProperty = CustomOriginConfigProperty.builder()
         .httpPort(123)
         .httpsPort(123)
         .ipAddressType("ipAddressType")
         .originKeepaliveTimeout(123)
         .originMtlsConfig(OriginMtlsConfigProperty.builder()
                 .clientCertificateArn("clientCertificateArn")
                 .build())
         .originProtocolPolicy("originProtocolPolicy")
         .originReadTimeout(123)
         .originSslProtocols(List.of("originSslProtocols"))
         .build();
 

See Also: