Interface VpcOriginAttributes
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
VpcOriginAttributes.Jsii$Proxy
@Generated(value="jsii-pacmak/1.119.0 (build 1634eac)",
date="2025-11-17T14:40:47.137Z")
@Stability(Stable)
public interface VpcOriginAttributes
extends software.amazon.jsii.JsiiSerializable
The properties to import from the VPC origin.
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.*;
VpcOriginAttributes vpcOriginAttributes = VpcOriginAttributes.builder()
.domainName("domainName")
.vpcOriginArn("vpcOriginArn")
.vpcOriginId("vpcOriginId")
.build();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forVpcOriginAttributesstatic final classAn implementation forVpcOriginAttributes -
Method Summary
Modifier and TypeMethodDescriptionstatic VpcOriginAttributes.Builderbuilder()default StringThe domain name of the CloudFront VPC origin endpoint configuration.default StringThe ARN of the VPC origin.default StringThe ID of the VPC origin.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getDomainName
The domain name of the CloudFront VPC origin endpoint configuration.Default: - No domain name configured
-
getVpcOriginArn
The ARN of the VPC origin.At least one of vpcOriginArn and vpcOriginId must be provided.
Default: - derived from `vpcOriginId`.
-
getVpcOriginId
The ID of the VPC origin.At least one of vpcOriginArn and vpcOriginId must be provided.
Default: - derived from `vpcOriginArn`.
-
builder
- Returns:
- a
VpcOriginAttributes.BuilderofVpcOriginAttributes
-