Interface VpcOriginOptions
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Subinterfaces:
VpcOriginProps,VpcOriginWithEndpointProps
- All Known Implementing Classes:
VpcOriginOptions.Jsii$Proxy,VpcOriginProps.Jsii$Proxy,VpcOriginWithEndpointProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.119.0 (build 1634eac)",
date="2025-11-17T14:40:47.138Z")
@Stability(Stable)
public interface VpcOriginOptions
extends software.amazon.jsii.JsiiSerializable
VPC origin endpoint configuration.
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.*;
VpcOriginOptions vpcOriginOptions = VpcOriginOptions.builder()
.httpPort(123)
.httpsPort(123)
.originSslProtocols(List.of(OriginSslPolicy.SSL_V3))
.protocolPolicy(OriginProtocolPolicy.HTTP_ONLY)
.vpcOriginName("vpcOriginName")
.build();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forVpcOriginOptionsstatic final classAn implementation forVpcOriginOptions -
Method Summary
Modifier and TypeMethodDescriptionstatic VpcOriginOptions.Builderbuilder()default NumberThe HTTP port for the CloudFront VPC origin endpoint configuration.default NumberThe HTTPS port of the CloudFront VPC origin endpoint configuration.default List<OriginSslPolicy> A list that contains allowed SSL/TLS protocols for this distribution.default OriginProtocolPolicyThe origin protocol policy for the CloudFront VPC origin endpoint configuration.default StringThe name of the CloudFront VPC origin endpoint configuration.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getHttpPort
The HTTP port for the CloudFront VPC origin endpoint configuration.Default: 80
-
getHttpsPort
The HTTPS port of the CloudFront VPC origin endpoint configuration.Default: 443
-
getOriginSslProtocols
A list that contains allowed SSL/TLS protocols for this distribution.Default: - TLSv1.2
-
getProtocolPolicy
The origin protocol policy for the CloudFront VPC origin endpoint configuration.Default: OriginProtocolPolicy.MATCH_VIEWER
-
getVpcOriginName
The name of the CloudFront VPC origin endpoint configuration.Default: - generated from the `id`
-
builder
- Returns:
- a
VpcOriginOptions.BuilderofVpcOriginOptions
-