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)


3391
3392
3393
3394
3395
3396
3397
3398
3399
3400
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 3391

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)


3391
3392
3393
3394
3395
3396
3397
3398
3399
3400
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 3391

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)


3391
3392
3393
3394
3395
3396
3397
3398
3399
3400
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 3391

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)


3391
3392
3393
3394
3395
3396
3397
3398
3399
3400
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 3391

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.



3391
3392
3393
3394
3395
3396
3397
3398
3399
3400
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 3391

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)


3391
3392
3393
3394
3395
3396
3397
3398
3399
3400
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 3391

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)


3391
3392
3393
3394
3395
3396
3397
3398
3399
3400
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 3391

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