Interface VpcLinkProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
VpcLinkProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)",
date="2023-06-19T16:30:43.318Z")
@Stability(Experimental)
public interface VpcLinkProps
extends software.amazon.jsii.JsiiSerializable
(experimental) Properties for a VpcLink.
Example:
import software.amazon.awscdk.services.ec2.*; Vpc vpc = new Vpc(this, "VPC"); VpcLink vpcLink = VpcLink.Builder.create(this, "VpcLink").vpc(vpc).build();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forVpcLinkPropsstatic final classAn implementation forVpcLinkProps -
Method Summary
Modifier and TypeMethodDescriptionstatic VpcLinkProps.Builderbuilder()default List<ISecurityGroup>(experimental) A list of security groups for the VPC link.default SubnetSelection(experimental) A list of subnets for the VPC link.getVpc()(experimental) The VPC in which the private resources reside.default String(experimental) The name used to label and identify the VPC link.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getVpc
(experimental) The VPC in which the private resources reside. -
getSecurityGroups
(experimental) A list of security groups for the VPC link.Default: - no security groups. Use `addSecurityGroups` to add security groups
-
getSubnets
(experimental) A list of subnets for the VPC link.Default: - private subnets of the provided VPC. Use `addSubnets` to add more subnets
-
getVpcLinkName
(experimental) The name used to label and identify the VPC link.Default: - automatically generated name
-
builder
- Returns:
- a
VpcLinkProps.BuilderofVpcLinkProps
-