Class VpcOrigin
java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
software.amazon.awscdk.Resource
software.amazon.awscdk.services.cloudfront.VpcOrigin
- All Implemented Interfaces:
- IResource,- ITaggableV2,- IVpcOrigin,- IVpcOriginRef,- software.amazon.jsii.JsiiSerializable,- software.constructs.IConstruct,- software.constructs.IDependable
@Generated(value="jsii-pacmak/1.116.0 (build 0eddcff)",
           date="2025-10-24T13:34:33.122Z")
@Stability(Stable)
public class VpcOrigin
extends Resource
implements IVpcOrigin, ITaggableV2
A CloudFront VPC Origin 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;
 VpcOrigin vpcOrigin = VpcOrigin.Builder.create(this, "MyVpcOrigin")
         .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 SummaryNested ClassesNested classes/interfaces inherited from class software.amazon.jsii.JsiiObjectsoftware.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.constructs.IConstructsoftware.constructs.IConstruct.Jsii$DefaultNested classes/interfaces inherited from interface software.amazon.awscdk.IResourceIResource.Jsii$DefaultNested classes/interfaces inherited from interface software.amazon.awscdk.ITaggableV2ITaggableV2.Jsii$Default, ITaggableV2.Jsii$ProxyNested classes/interfaces inherited from interface software.amazon.awscdk.services.cloudfront.IVpcOriginIVpcOrigin.Jsii$Default, IVpcOrigin.Jsii$Proxy
- 
Field SummaryFields
- 
Constructor SummaryConstructorsModifierConstructorDescriptionprotectedVpcOrigin(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedVpcOrigin(software.amazon.jsii.JsiiObjectRef objRef) VpcOrigin(software.constructs.Construct scope, String id, VpcOriginProps props) 
- 
Method SummaryModifier and TypeMethodDescriptionstatic IVpcOriginfromVpcOriginArn(software.constructs.Construct scope, String id, String vpcOriginArn) Import an existing VPC origin from its ARN.static IVpcOriginfromVpcOriginAttributes(software.constructs.Construct scope, String id, VpcOriginAttributes attrs) Import an existing VPC origin from its attributes.static IVpcOriginfromVpcOriginId(software.constructs.Construct scope, String id, String vpcOriginId) Import an existing VPC origin from its ID.TagManager to set, remove and format tags.The domain name of the CloudFront VPC origin endpoint configuration.The VPC origin ARN.The VPC origin ID.A reference to a VpcOrigin resource.Methods inherited from class software.amazon.awscdk.ResourceapplyRemovalPolicy, generatePhysicalName, getEnv, getPhysicalName, getResourceArnAttribute, getResourceNameAttribute, getStack, isOwnedResource, isResourceMethods inherited from class software.constructs.ConstructgetNode, isConstruct, toStringMethods inherited from class software.amazon.jsii.JsiiObjectjsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface software.amazon.awscdk.IResourceapplyRemovalPolicy, getEnv, getStackMethods inherited from interface software.amazon.awscdk.services.cloudfront.IVpcOrigingetNodeMethods inherited from interface software.amazon.jsii.JsiiSerializable$jsii$toJson
- 
Field Details- 
PROPERTY_INJECTION_IDUniquely identifies this class.
 
- 
- 
Constructor Details- 
VpcOriginprotected VpcOrigin(software.amazon.jsii.JsiiObjectRef objRef) 
- 
VpcOriginprotected VpcOrigin(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) 
- 
VpcOrigin@Stability(Stable) public VpcOrigin(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull VpcOriginProps props) - Parameters:
- scope- This parameter is required.
- id- This parameter is required.
- props- This parameter is required.
 
 
- 
- 
Method Details- 
fromVpcOriginArn@Stability(Stable) @NotNull public static IVpcOrigin fromVpcOriginArn(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull String vpcOriginArn) Import an existing VPC origin from its ARN.- Parameters:
- scope- This parameter is required.
- id- This parameter is required.
- vpcOriginArn- This parameter is required.
 
- 
fromVpcOriginAttributes@Stability(Stable) @NotNull public static IVpcOrigin fromVpcOriginAttributes(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull VpcOriginAttributes attrs) Import an existing VPC origin from its attributes.- Parameters:
- scope- This parameter is required.
- id- This parameter is required.
- attrs- This parameter is required.
 
- 
fromVpcOriginId@Stability(Stable) @NotNull public static IVpcOrigin fromVpcOriginId(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull String vpcOriginId) Import an existing VPC origin from its ID.- Parameters:
- scope- This parameter is required.
- id- This parameter is required.
- vpcOriginId- This parameter is required.
 
- 
getCdkTagManagerTagManager to set, remove and format tags.- Specified by:
- getCdkTagManagerin interface- ITaggableV2
 
- 
getVpcOriginArnThe VPC origin ARN.- Specified by:
- getVpcOriginArnin interface- IVpcOrigin
 
- 
getVpcOriginIdThe VPC origin ID.- Specified by:
- getVpcOriginIdin interface- IVpcOrigin
 
- 
getVpcOriginRefA reference to a VpcOrigin resource.- Specified by:
- getVpcOriginRefin interface- IVpcOriginRef
 
- 
getDomainNameThe domain name of the CloudFront VPC origin endpoint configuration.- Specified by:
- getDomainNamein interface- IVpcOrigin
 
 
-