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

Class: Aws::EC2::Types::ClientVpnRoute

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

Overview

Information about a Client VPN endpoint route.

Instance Attribute Summary collapse

Instance Attribute Details

#client_vpn_endpoint_idString

The ID of the Client VPN endpoint with which the route is associated.

Returns:

  • (String)


3723
3724
3725
3726
3727
3728
3729
3730
3731
3732
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 3723

class ClientVpnRoute < Struct.new(
  :client_vpn_endpoint_id,
  :destination_cidr,
  :target_subnet,
  :type,
  :origin,
  :status,
  :description)
  include Aws::Structure
end

#descriptionString

A brief description of the route.

Returns:

  • (String)


3723
3724
3725
3726
3727
3728
3729
3730
3731
3732
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 3723

class ClientVpnRoute < Struct.new(
  :client_vpn_endpoint_id,
  :destination_cidr,
  :target_subnet,
  :type,
  :origin,
  :status,
  :description)
  include Aws::Structure
end

#destination_cidrString

The IPv4 address range, in CIDR notation, of the route destination.

Returns:

  • (String)


3723
3724
3725
3726
3727
3728
3729
3730
3731
3732
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 3723

class ClientVpnRoute < Struct.new(
  :client_vpn_endpoint_id,
  :destination_cidr,
  :target_subnet,
  :type,
  :origin,
  :status,
  :description)
  include Aws::Structure
end

#originString

Indicates how the route was associated with the Client VPN endpoint. associate indicates that the route was automatically added when the target network was associated with the Client VPN endpoint. add-route indicates that the route was manually added using the CreateClientVpnRoute action.

Returns:

  • (String)


3723
3724
3725
3726
3727
3728
3729
3730
3731
3732
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 3723

class ClientVpnRoute < Struct.new(
  :client_vpn_endpoint_id,
  :destination_cidr,
  :target_subnet,
  :type,
  :origin,
  :status,
  :description)
  include Aws::Structure
end

#statusTypes::ClientVpnRouteStatus

The current state of the route.



3723
3724
3725
3726
3727
3728
3729
3730
3731
3732
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 3723

class ClientVpnRoute < Struct.new(
  :client_vpn_endpoint_id,
  :destination_cidr,
  :target_subnet,
  :type,
  :origin,
  :status,
  :description)
  include Aws::Structure
end

#target_subnetString

The ID of the subnet through which traffic is routed.

Returns:

  • (String)


3723
3724
3725
3726
3727
3728
3729
3730
3731
3732
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 3723

class ClientVpnRoute < Struct.new(
  :client_vpn_endpoint_id,
  :destination_cidr,
  :target_subnet,
  :type,
  :origin,
  :status,
  :description)
  include Aws::Structure
end

#typeString

The route type.

Returns:

  • (String)


3723
3724
3725
3726
3727
3728
3729
3730
3731
3732
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 3723

class ClientVpnRoute < Struct.new(
  :client_vpn_endpoint_id,
  :destination_cidr,
  :target_subnet,
  :type,
  :origin,
  :status,
  :description)
  include Aws::Structure
end