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:
IVpcOriginRef,IEnvironmentAware,IResource,ITaggableV2,IVpcOrigin,software.amazon.jsii.JsiiSerializable,software.constructs.IConstruct,software.constructs.IDependable
@Generated(value="jsii-pacmak/1.120.0 (build 192dc88)",
date="2025-12-12T17:54:09.076Z")
@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 Summary
Nested ClassesNested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.constructs.IConstruct
software.constructs.IConstruct.Jsii$DefaultNested classes/interfaces inherited from interface software.amazon.awscdk.IResource
IResource.Jsii$DefaultNested classes/interfaces inherited from interface software.amazon.awscdk.ITaggableV2
ITaggableV2.Jsii$Default, ITaggableV2.Jsii$ProxyNested classes/interfaces inherited from interface software.amazon.awscdk.services.cloudfront.IVpcOrigin
IVpcOrigin.Jsii$Default, IVpcOrigin.Jsii$Proxy -
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedVpcOrigin(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedVpcOrigin(software.amazon.jsii.JsiiObjectRef objRef) VpcOrigin(software.constructs.Construct scope, String id, VpcOriginProps props) -
Method Summary
Modifier 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.Resource
applyRemovalPolicy, generatePhysicalName, getEnv, getPhysicalName, getResourceArnAttribute, getResourceNameAttribute, getStack, isOwnedResource, isResourceMethods inherited from class software.constructs.Construct
getNode, isConstruct, toStringMethods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface software.amazon.awscdk.IResource
applyRemovalPolicy, getStackMethods inherited from interface software.amazon.awscdk.services.cloudfront.IVpcOrigin
getEnv, getNodeMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Field Details
-
PROPERTY_INJECTION_ID
Uniquely identifies this class.
-
-
Constructor Details
-
VpcOrigin
protected VpcOrigin(software.amazon.jsii.JsiiObjectRef objRef) -
VpcOrigin
protected 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.
-
getCdkTagManager
TagManager to set, remove and format tags.- Specified by:
getCdkTagManagerin interfaceITaggableV2
-
getVpcOriginArn
The VPC origin ARN.- Specified by:
getVpcOriginArnin interfaceIVpcOrigin
-
getVpcOriginId
The VPC origin ID.- Specified by:
getVpcOriginIdin interfaceIVpcOrigin
-
getVpcOriginRef
A reference to a VpcOrigin resource.- Specified by:
getVpcOriginRefin interfaceIVpcOriginRef
-
getDomainName
The domain name of the CloudFront VPC origin endpoint configuration.- Specified by:
getDomainNamein interfaceIVpcOrigin
-