@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:36.243Z") @Stability(value=Stable) public class VpcLink extends Resource implements IVpcLink
Example:
import software.amazon.awscdk.services.elasticloadbalancingv2.*;
Vpc vpc = new Vpc(this, "VPC");
NetworkLoadBalancer nlb = NetworkLoadBalancer.Builder.create(this, "NLB")
.vpc(vpc)
.build();
VpcLink link = VpcLink.Builder.create(this, "link")
.targets(List.of(nlb))
.build();
Integration integration = Integration.Builder.create()
.type(IntegrationType.HTTP_PROXY)
.options(IntegrationOptions.builder()
.connectionType(ConnectionType.VPC_LINK)
.vpcLink(link)
.build())
.build();
| Modifier and Type | Class and Description |
|---|---|
static class |
VpcLink.Builder
A fluent builder for
VpcLink. |
software.amazon.jsii.JsiiObject.InitializationModeIVpcLink.Jsii$Default, IVpcLink.Jsii$Proxy| Modifier | Constructor and Description |
|---|---|
|
VpcLink(software.constructs.Construct scope,
String id) |
|
VpcLink(software.constructs.Construct scope,
String id,
VpcLinkProps props) |
protected |
VpcLink(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
VpcLink(software.amazon.jsii.JsiiObjectRef objRef) |
| Modifier and Type | Method and Description |
|---|---|
void |
addTargets(INetworkLoadBalancer... targets) |
static IVpcLink |
fromVpcLinkId(software.constructs.Construct scope,
String id,
String vpcLinkId)
Import a VPC Link by its Id.
|
String |
getVpcLinkId()
Physical ID of the VpcLink resource.
|
applyRemovalPolicy, generatePhysicalName, getEnv, getPhysicalName, getResourceArnAttribute, getResourceNameAttribute, getStack, isOwnedResource, isResourcejsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitapplyRemovalPolicy, getEnv, getStackprotected VpcLink(software.amazon.jsii.JsiiObjectRef objRef)
protected VpcLink(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Stable)
public VpcLink(@NotNull
software.constructs.Construct scope,
@NotNull
String id,
@Nullable
VpcLinkProps props)
scope - This parameter is required.id - This parameter is required.props - @Stability(value=Stable)
public VpcLink(@NotNull
software.constructs.Construct scope,
@NotNull
String id)
scope - This parameter is required.id - This parameter is required.@Stability(value=Stable) @NotNull public static IVpcLink fromVpcLinkId(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull String vpcLinkId)
scope - This parameter is required.id - This parameter is required.vpcLinkId - This parameter is required.@Stability(value=Stable)
public void addTargets(@NotNull
INetworkLoadBalancer... targets)
targets - This parameter is required.@Stability(value=Stable) @NotNull public String getVpcLinkId()
getVpcLinkId in interface IVpcLinkCopyright © 2022. All rights reserved.