Interface VpcOriginProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable,VpcOriginOptions
- All Known Implementing Classes:
VpcOriginProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.119.0 (build 1634eac)",
date="2025-11-17T14:40:47.153Z")
@Stability(Stable)
public interface VpcOriginProps
extends software.amazon.jsii.JsiiSerializable, VpcOriginOptions
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.*;
VpcOriginEndpoint vpcOriginEndpoint;
VpcOriginProps vpcOriginProps = VpcOriginProps.builder()
.endpoint(vpcOriginEndpoint)
// the properties below are optional
.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 forVpcOriginPropsstatic final classAn implementation forVpcOriginProps -
Method Summary
Modifier and TypeMethodDescriptionstatic VpcOriginProps.Builderbuilder()The VPC origin endpoint.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJsonMethods inherited from interface software.amazon.awscdk.services.cloudfront.VpcOriginOptions
getHttpPort, getHttpsPort, getOriginSslProtocols, getProtocolPolicy, getVpcOriginName
-
Method Details
-
getEndpoint
The VPC origin endpoint. -
builder
- Returns:
- a
VpcOriginProps.BuilderofVpcOriginProps
-