amazonka-ec2-0.3.1: Amazon Elastic Compute Cloud SDK.

Safe HaskellNone
LanguageHaskell2010

Network.AWS.EC2.ReplaceRoute

Contents

Description

Replaces an existing route within a route table in a VPC. You must provide only one of the following: Internet gateway or virtual private gateway, NAT instance, VPC peering connection, or network interface.

For more information about route tables, see Route Tables in the AmazonVirtual Private Cloud User Guide.

http://docs.aws.amazon.com/AWSEC2/latest/APIReference/ApiReference-query-ReplaceRoute.html

Synopsis

Request

Request constructor

Request lenses

rrDestinationCidrBlock :: Lens' ReplaceRoute Text Source

The CIDR address block used for the destination match. The value you provide must match the CIDR of an existing route in the table.

rrGatewayId :: Lens' ReplaceRoute (Maybe Text) Source

The ID of an Internet gateway or virtual private gateway.

rrInstanceId :: Lens' ReplaceRoute (Maybe Text) Source

The ID of a NAT instance in your VPC.

rrNetworkInterfaceId :: Lens' ReplaceRoute (Maybe Text) Source

The ID of a network interface.

rrRouteTableId :: Lens' ReplaceRoute Text Source

The ID of the route table.

rrVpcPeeringConnectionId :: Lens' ReplaceRoute (Maybe Text) Source

The ID of a VPC peering connection.

Response

Response constructor