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

Class: Aws::AppMesh::Types::UpdateVirtualRouterInput

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

Overview

Note:

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

{
  client_token: "String",
  mesh_name: "ResourceName", # required
  spec: { # required
    listeners: [
      {
        port_mapping: { # required
          port: 1, # required
          protocol: "http", # required, accepts http, tcp
        },
      },
    ],
  },
  virtual_router_name: "ResourceName", # required
}

Instance Attribute Summary collapse

Instance Attribute Details

#client_tokenString

Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. Up to 36 letters, numbers, hyphens, and underscores are allowed.

A suitable default value is auto-generated. You should normally not need to pass this option.

Returns:

  • (String)


250
251
252
253
254
255
256
# File 'gems/aws-sdk-appmesh/lib/aws-sdk-appmesh/types.rb', line 250

class UpdateVirtualRouterInput < Struct.new(
  :client_token,
  :mesh_name,
  :spec,
  :virtual_router_name)
  include Aws::Structure
end

#mesh_nameString

The name of the service mesh that the virtual router resides in.

Returns:

  • (String)


250
251
252
253
254
255
256
# File 'gems/aws-sdk-appmesh/lib/aws-sdk-appmesh/types.rb', line 250

class UpdateVirtualRouterInput < Struct.new(
  :client_token,
  :mesh_name,
  :spec,
  :virtual_router_name)
  include Aws::Structure
end

#specTypes::VirtualRouterSpec

The new virtual router specification to apply. This overwrites the existing data.



250
251
252
253
254
255
256
# File 'gems/aws-sdk-appmesh/lib/aws-sdk-appmesh/types.rb', line 250

class UpdateVirtualRouterInput < Struct.new(
  :client_token,
  :mesh_name,
  :spec,
  :virtual_router_name)
  include Aws::Structure
end

#virtual_router_nameString

The name of the virtual router to update.

Returns:

  • (String)


250
251
252
253
254
255
256
# File 'gems/aws-sdk-appmesh/lib/aws-sdk-appmesh/types.rb', line 250

class UpdateVirtualRouterInput < Struct.new(
  :client_token,
  :mesh_name,
  :spec,
  :virtual_router_name)
  include Aws::Structure
end