Interface OriginBindConfig

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
OriginBindConfig.Jsii$Proxy

@Generated(value="jsii-pacmak/1.94.0 (build b380f01)", date="2024-02-23T02:06:29.319Z") @Stability(Stable) public interface OriginBindConfig extends software.amazon.jsii.JsiiSerializable
The struct returned from IOrigin.bind.

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.*;
 IOrigin origin;
 OriginBindConfig originBindConfig = OriginBindConfig.builder()
         .failoverConfig(OriginFailoverConfig.builder()
                 .failoverOrigin(origin)
                 // the properties below are optional
                 .statusCodes(List.of(123))
                 .build())
         .originProperty(OriginProperty.builder()
                 .domainName("domainName")
                 .id("id")
                 // the properties below are optional
                 .connectionAttempts(123)
                 .connectionTimeout(123)
                 .customOriginConfig(CustomOriginConfigProperty.builder()
                         .originProtocolPolicy("originProtocolPolicy")
                         // the properties below are optional
                         .httpPort(123)
                         .httpsPort(123)
                         .originKeepaliveTimeout(123)
                         .originReadTimeout(123)
                         .originSslProtocols(List.of("originSslProtocols"))
                         .build())
                 .originAccessControlId("originAccessControlId")
                 .originCustomHeaders(List.of(OriginCustomHeaderProperty.builder()
                         .headerName("headerName")
                         .headerValue("headerValue")
                         .build()))
                 .originPath("originPath")
                 .originShield(OriginShieldProperty.builder()
                         .enabled(false)
                         .originShieldRegion("originShieldRegion")
                         .build())
                 .s3OriginConfig(S3OriginConfigProperty.builder()
                         .originAccessIdentity("originAccessIdentity")
                         .build())
                 .build())
         .build();