Interface VpcOriginWithEndpointProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable,OriginOptions,OriginProps,VpcOriginOptions,VpcOriginProps
- All Known Implementing Classes:
VpcOriginWithEndpointProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.119.0 (build 1634eac)",
date="2025-11-20T23:37:16.484Z")
@Stability(Stable)
public interface VpcOriginWithEndpointProps
extends software.amazon.jsii.JsiiSerializable, VpcOriginProps, VpcOriginOptions
Properties to define a VPC origin with endpoint.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.*;
import software.amazon.awscdk.services.cloudfront.*;
import software.amazon.awscdk.services.cloudfront.origins.*;
VpcOriginWithEndpointProps vpcOriginWithEndpointProps = VpcOriginWithEndpointProps.builder()
.connectionAttempts(123)
.connectionTimeout(Duration.minutes(30))
.customHeaders(Map.of(
"customHeadersKey", "customHeaders"))
.domainName("domainName")
.httpPort(123)
.httpsPort(123)
.keepaliveTimeout(Duration.minutes(30))
.originAccessControlId("originAccessControlId")
.originId("originId")
.originPath("originPath")
.originShieldEnabled(false)
.originShieldRegion("originShieldRegion")
.originSslProtocols(List.of(OriginSslPolicy.SSL_V3))
.protocolPolicy(OriginProtocolPolicy.HTTP_ONLY)
.readTimeout(Duration.minutes(30))
.responseCompletionTimeout(Duration.minutes(30))
.vpcOriginName("vpcOriginName")
.build();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forVpcOriginWithEndpointPropsstatic final classAn implementation forVpcOriginWithEndpointProps -
Method Summary
Static MethodsMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJsonMethods inherited from interface software.amazon.awscdk.services.cloudfront.OriginOptions
getConnectionAttempts, getConnectionTimeout, getCustomHeaders, getOriginAccessControlId, getOriginId, getOriginShieldEnabled, getOriginShieldRegion, getResponseCompletionTimeoutMethods inherited from interface software.amazon.awscdk.services.cloudfront.OriginProps
getOriginPathMethods inherited from interface software.amazon.awscdk.services.cloudfront.VpcOriginOptions
getHttpPort, getHttpsPort, getOriginSslProtocols, getProtocolPolicy, getVpcOriginNameMethods inherited from interface software.amazon.awscdk.services.cloudfront.origins.VpcOriginProps
getDomainName, getKeepaliveTimeout, getReadTimeout
-
Method Details
-
builder
- Returns:
- a
VpcOriginWithEndpointProps.BuilderofVpcOriginWithEndpointProps
-