@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:36.244Z") @Stability(value=Stable) public interface VpcLinkProps extends software.amazon.jsii.JsiiSerializable
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 | Interface and Description |
|---|---|
static class |
VpcLinkProps.Builder
A builder for
VpcLinkProps |
static class |
VpcLinkProps.Jsii$Proxy
An implementation for
VpcLinkProps |
| Modifier and Type | Method and Description |
|---|---|
static VpcLinkProps.Builder |
builder() |
default String |
getDescription()
The description of the VPC link.
|
default List<INetworkLoadBalancer> |
getTargets()
The network load balancers of the VPC targeted by the VPC link.
|
default String |
getVpcLinkName()
The name used to label and identify the VPC link.
|
@Stability(value=Stable) @Nullable default String getDescription()
Default: no description
@Stability(value=Stable) @Nullable default List<INetworkLoadBalancer> getTargets()
The network load balancers must be owned by the same AWS account of the API owner.
Default: - no targets. Use `addTargets` to add targets
@Stability(value=Stable) @Nullable default String getVpcLinkName()
Default: - automatically generated name
@Stability(value=Stable) static VpcLinkProps.Builder builder()
VpcLinkProps.Builder of VpcLinkPropsCopyright © 2022. All rights reserved.