Interface VPCPeeringConnectionProps
- All Superinterfaces:
 software.amazon.jsii.JsiiSerializable,VPCPeeringConnectionOptions
- All Known Implementing Classes:
 VPCPeeringConnectionProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.116.0 (build 0eddcff)",
           date="2025-10-29T11:15:51.459Z")
@Stability(Experimental)
public interface VPCPeeringConnectionProps
extends software.amazon.jsii.JsiiSerializable, VPCPeeringConnectionOptions
(experimental) Properties to define a VPC peering connection.
 
Example:
 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 import software.amazon.awscdk.services.ec2.alpha.*;
 VpcV2 vpcV2;
 VPCPeeringConnectionProps vPCPeeringConnectionProps = VPCPeeringConnectionProps.builder()
         .acceptorVpc(vpcV2)
         .requestorVpc(vpcV2)
         // the properties below are optional
         .peerRoleArn("peerRoleArn")
         .vpcPeeringConnectionName("vpcPeeringConnectionName")
         .build();
 - 
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forVPCPeeringConnectionPropsstatic final classAn implementation forVPCPeeringConnectionProps - 
Method Summary
Modifier and TypeMethodDescriptionbuilder()(experimental) The VPC that is requesting the peering connection.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJsonMethods inherited from interface software.amazon.awscdk.services.ec2.alpha.VPCPeeringConnectionOptions
getAcceptorVpc, getPeerRoleArn, getVpcPeeringConnectionName 
- 
Method Details
- 
getRequestorVpc
(experimental) The VPC that is requesting the peering connection. - 
builder
- Returns:
 - a 
VPCPeeringConnectionProps.BuilderofVPCPeeringConnectionProps 
 
 -