Interface VpcLinkAttributes
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
VpcLinkAttributes.Jsii$Proxy
@Generated(value="jsii-pacmak/1.116.0 (build 0eddcff)",
date="2025-10-29T11:15:31.771Z")
@Stability(Stable)
public interface VpcLinkAttributes
extends software.amazon.jsii.JsiiSerializable
Attributes when importing a new VpcLink.
Example:
import software.amazon.awscdk.services.ec2.*;
Vpc vpc;
IVpcLink awesomeLink = VpcLink.fromVpcLinkAttributes(this, "awesome-vpc-link", VpcLinkAttributes.builder()
.vpcLinkId("us-east-1_oiuR12Abd")
.vpc(vpc)
.build());
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forVpcLinkAttributesstatic final classAn implementation forVpcLinkAttributes -
Method Summary
Modifier and TypeMethodDescriptionstatic VpcLinkAttributes.Builderbuilder()getVpc()The VPC to which this VPC link is associated with.The VPC Link id.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getVpc
The VPC to which this VPC link is associated with. -
getVpcLinkId
The VPC Link id. -
builder
- Returns:
- a
VpcLinkAttributes.BuilderofVpcLinkAttributes
-