C# Class Amazon.EC2.Model.ModifyVpcPeeringConnectionOptionsRequest

Container for the parameters to the ModifyVpcPeeringConnectionOptions operation. Modifies the VPC peering connection options on one side of a VPC peering connection. You can do the following:
  • Enable/disable communication over the peering connection between an EC2-Classic instance that's linked to your VPC (using ClassicLink) and instances in the peer VPC.

  • Enable/disable communication over the peering connection between instances in your VPC and an EC2-Classic instance that's linked to the peer VPC.

  • Enable/disable a local VPC to resolve public DNS hostnames to private IP addresses when queried from instances in the peer VPC.

If the peered VPCs are in different accounts, each owner must initiate a separate request to modify the peering connection options, depending on whether their VPC was the requester or accepter for the VPC peering connection. If the peered VPCs are in the same account, you can modify the requester and accepter options in the same request. To confirm which VPC is the accepter and requester for a VPC peering connection, use the DescribeVpcPeeringConnections command.

Inheritance: AmazonEC2Request
Show file Open project: aws/aws-sdk-net Class Usage Examples

Private Methods

Method Description
IsSetAccepterPeeringConnectionOptions ( ) : bool
IsSetRequesterPeeringConnectionOptions ( ) : bool
IsSetVpcPeeringConnectionId ( ) : bool