Interface VpcLinkProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
VpcLinkProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.103.1 (build bef2dea)",
date="2024-09-11T18:01:10.792Z")
@Stability(Stable)
public interface VpcLinkProps
extends software.amazon.jsii.JsiiSerializable
Properties for a VpcLink.
Example:
import software.amazon.awscdk.services.ec2.*; import software.amazon.awscdk.services.elasticloadbalancingv2.*; import software.amazon.awscdk.aws_apigatewayv2_integrations.HttpAlbIntegration; Vpc vpc = new Vpc(this, "VPC"); ApplicationLoadBalancer alb = ApplicationLoadBalancer.Builder.create(this, "AppLoadBalancer").vpc(vpc).build(); VpcLink vpcLink = VpcLink.Builder.create(this, "VpcLink").vpc(vpc).build(); // Creating an HTTP ALB Integration: HttpAlbIntegration albIntegration = HttpAlbIntegration.Builder.create("ALBIntegration", alb.getListeners()[0]).build();
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forVpcLinkProps
static final class
An implementation forVpcLinkProps
-
Method Summary
Modifier and TypeMethodDescriptionstatic VpcLinkProps.Builder
builder()
default List<ISecurityGroup>
A list of security groups for the VPC link.default SubnetSelection
A list of subnets for the VPC link.getVpc()
The VPC in which the private resources reside.default String
The name used to label and identify the VPC link.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getVpc
The VPC in which the private resources reside. -
getSecurityGroups
A list of security groups for the VPC link.Default: - no security groups. Use `addSecurityGroups` to add security groups
-
getSubnets
A list of subnets for the VPC link.Default: - private subnets of the provided VPC. Use `addSubnets` to add more subnets
-
getVpcLinkName
The name used to label and identify the VPC link.Default: - automatically generated name
-
builder
- Returns:
- a
VpcLinkProps.Builder
ofVpcLinkProps
-