Interface CfnVpcOriginProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnVpcOriginProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.119.0 (build 1634eac)",
date="2025-11-17T14:40:47.071Z")
@Stability(Stable)
public interface CfnVpcOriginProps
extends software.amazon.jsii.JsiiSerializable
Properties for defining a
CfnVpcOrigin.
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.*;
CfnVpcOriginProps cfnVpcOriginProps = CfnVpcOriginProps.builder()
.vpcOriginEndpointConfig(VpcOriginEndpointConfigProperty.builder()
.arn("arn")
.name("name")
// the properties below are optional
.httpPort(123)
.httpsPort(123)
.originProtocolPolicy("originProtocolPolicy")
.originSslProtocols(List.of("originSslProtocols"))
.build())
// the properties below are optional
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnVpcOriginPropsstatic final classAn implementation forCfnVpcOriginProps -
Method Summary
Modifier and TypeMethodDescriptionstatic CfnVpcOriginProps.Builderbuilder()getTags()A complex type that contains zero or moreTagelements.The VPC origin endpoint configuration.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getVpcOriginEndpointConfig
The VPC origin endpoint configuration.Returns union: either
IResolvableorCfnVpcOrigin.VpcOriginEndpointConfigProperty- See Also:
-
getTags
A complex type that contains zero or moreTagelements.- See Also:
-
builder
- Returns:
- a
CfnVpcOriginProps.BuilderofCfnVpcOriginProps
-