@Generated(value="jsii-pacmak/1.74.0 (build 6d08790)", date="2023-05-19T23:09:29.960Z") @Stability(value=Experimental) public class VpcLink extends Resource implements IVpcLink
Example:
import software.amazon.awscdk.services.ec2.*; 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.InitializationMode
IVpcLink.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, isResource
getNode, isConstruct, onPrepare, onSynthesize, onValidate, prepare, synthesize, validate
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
applyRemovalPolicy, getEnv, getStack
getNode
protected 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 IVpcLink
Copyright © 2023. All rights reserved.