@Generated(value="jsii-pacmak/1.50.0 (build d1830a4)", date="2022-01-04T15:39:02.053Z") @Stability(value=Experimental) public class VpcLink extends Resource implements IVpcLink
Example:
import software.amazon.awscdk.core.*; Vpc vpc = new Vpc(this, "VPC"); VpcLink vpcLink = VpcLink.Builder.create(this, "VpcLink").vpc(vpc).build();
| Modifier and Type | Class and Description |
|---|---|
static class |
VpcLink.Builder
(experimental) 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,
VpcLinkProps props) |
protected |
VpcLink(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
VpcLink(software.amazon.jsii.JsiiObjectRef objRef) |
| Modifier and Type | Method and Description |
|---|---|
void |
addSecurityGroups(ISecurityGroup... groups)
(experimental) Adds the provided security groups to the vpc link.
|
void |
addSubnets(ISubnet... subnets)
(experimental) Adds the provided subnets to the vpc link.
|
static IVpcLink |
fromVpcLinkAttributes(software.constructs.Construct scope,
String id,
VpcLinkAttributes attrs)
(experimental) Import a VPC Link by specifying its attributes.
|
IVpc |
getVpc()
(experimental) The VPC to which this VPC Link is associated with.
|
String |
getVpcLinkId()
(experimental) Physical ID of the VpcLink resource.
|
applyRemovalPolicy, generatePhysicalName, getEnv, getPhysicalName, getResourceArnAttribute, getResourceNameAttribute, getStack, isResourcegetNode, isConstruct, onPrepare, onSynthesize, onValidate, prepare, synthesize, validatejsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitapplyRemovalPolicy, getEnv, getStackgetNodeprotected VpcLink(software.amazon.jsii.JsiiObjectRef objRef)
protected VpcLink(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Experimental)
public VpcLink(@NotNull
software.constructs.Construct scope,
@NotNull
String id,
@NotNull
VpcLinkProps props)
scope - This parameter is required.id - This parameter is required.props - This parameter is required.@Stability(value=Experimental) @NotNull public static IVpcLink fromVpcLinkAttributes(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull VpcLinkAttributes attrs)
scope - This parameter is required.id - This parameter is required.attrs - This parameter is required.@Stability(value=Experimental)
public void addSecurityGroups(@NotNull
ISecurityGroup... groups)
groups - This parameter is required.@Stability(value=Experimental)
public void addSubnets(@NotNull
ISubnet... subnets)
subnets - This parameter is required.@Stability(value=Experimental) @NotNull public IVpc getVpc()
@Stability(value=Experimental) @NotNull public String getVpcLinkId()
getVpcLinkId in interface IVpcLinkCopyright © 2022. All rights reserved.