Interface OriginBindConfig
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
OriginBindConfig.Jsii$Proxy
@Generated(value="jsii-pacmak/1.104.0 (build e79254c)",
date="2024-11-06T23:25:05.572Z")
@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();
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forOriginBindConfig
static final class
An implementation forOriginBindConfig
-
Method Summary
Modifier and TypeMethodDescriptionstatic OriginBindConfig.Builder
builder()
default OriginFailoverConfig
The failover configuration for this Origin.default CfnDistribution.OriginProperty
The CloudFormation OriginProperty configuration for this Origin.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getFailoverConfig
The failover configuration for this Origin.Default: - nothing is returned
-
getOriginProperty
The CloudFormation OriginProperty configuration for this Origin.Default: - nothing is returned
-
builder
- Returns:
- a
OriginBindConfig.Builder
ofOriginBindConfig
-