You are viewing documentation for version 3 of the AWS SDK for Ruby. Version 2 documentation can be found here.

Class: Aws::EC2::Types::CreateVpnConnectionRouteRequest

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb

Overview

Note:

When making an API call, you may pass CreateVpnConnectionRouteRequest data as a hash:

{
  destination_cidr_block: "String", # required
  vpn_connection_id: "String", # required
}

Contains the parameters for CreateVpnConnectionRoute.

Instance Attribute Summary collapse

Instance Attribute Details

#destination_cidr_blockString

The CIDR block associated with the local subnet of the customer network.

Returns:

  • (String)


4253
4254
4255
4256
4257
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 4253

class CreateVpnConnectionRouteRequest < Struct.new(
  :destination_cidr_block,
  :vpn_connection_id)
  include Aws::Structure
end

#vpn_connection_idString

The ID of the VPN connection.

Returns:

  • (String)


4253
4254
4255
4256
4257
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 4253

class CreateVpnConnectionRouteRequest < Struct.new(
  :destination_cidr_block,
  :vpn_connection_id)
  include Aws::Structure
end