Interface OriginBindConfig
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
OriginBindConfig.Jsii$Proxy
@Generated(value="jsii-pacmak/1.106.0 (build e852934)",
date="2025-03-04T22:57:20.983Z")
@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()) .vpcOriginConfig(VpcOriginConfigProperty.builder() .vpcOriginId("vpcOriginId") // the properties below are optional .originKeepaliveTimeout(123) .originReadTimeout(123) .build()) .build()) .selectionCriteria(OriginSelectionCriteria.DEFAULT) .build();
-
Nested Class Summary
Nested ClassesModifier 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.default OriginSelectionCriteria
The selection criteria for how your origins are selected.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
-
getSelectionCriteria
The selection criteria for how your origins are selected.Default: - OriginSelectionCriteria.DEFAULT
- See Also:
-
builder
- Returns:
- a
OriginBindConfig.Builder
ofOriginBindConfig
-