Class: Aws::AppMesh::Types::UpdateRouteInput
- Inherits:
-
Struct
- Object
- Struct
- Aws::AppMesh::Types::UpdateRouteInput
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-appmesh/types.rb
Overview
When making an API call, you may pass UpdateRouteInput data as a hash:
{
client_token: "String",
mesh_name: "ResourceName", # required
route_name: "ResourceName", # required
spec: { # required
http_route: {
action: { # required
weighted_targets: [ # required
{
virtual_node: "ResourceName", # required
weight: 1, # required
},
],
},
match: { # required
headers: [
{
invert: false,
match: {
exact: "HeaderMatch",
prefix: "HeaderMatch",
range: {
end: 1, # required
start: 1, # required
},
regex: "HeaderMatch",
suffix: "HeaderMatch",
},
name: "HeaderName", # required
},
],
method: "CONNECT", # accepts CONNECT, DELETE, GET, HEAD, OPTIONS, PATCH, POST, PUT, TRACE
prefix: "String", # required
scheme: "http", # accepts http, https
},
},
priority: 1,
tcp_route: {
action: { # required
weighted_targets: [ # required
{
virtual_node: "ResourceName", # required
weight: 1, # required
},
],
},
},
},
virtual_router_name: "ResourceName", # required
}
Instance Attribute Summary collapse
-
#client_token ⇒ String
Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
-
#mesh_name ⇒ String
The name of the service mesh that the route resides in.
-
#route_name ⇒ String
The name of the route to update.
-
#spec ⇒ Types::RouteSpec
The new route specification to apply.
-
#virtual_router_name ⇒ String
The name of the virtual router that the route is associated with.
Instance Attribute Details
#client_token ⇒ String
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.
2742 2743 2744 2745 2746 2747 2748 2749 |
# File 'lib/aws-sdk-appmesh/types.rb', line 2742 class UpdateRouteInput < Struct.new( :client_token, :mesh_name, :route_name, :spec, :virtual_router_name) include Aws::Structure end |
#mesh_name ⇒ String
The name of the service mesh that the route resides in.
2742 2743 2744 2745 2746 2747 2748 2749 |
# File 'lib/aws-sdk-appmesh/types.rb', line 2742 class UpdateRouteInput < Struct.new( :client_token, :mesh_name, :route_name, :spec, :virtual_router_name) include Aws::Structure end |
#route_name ⇒ String
The name of the route to update.
2742 2743 2744 2745 2746 2747 2748 2749 |
# File 'lib/aws-sdk-appmesh/types.rb', line 2742 class UpdateRouteInput < Struct.new( :client_token, :mesh_name, :route_name, :spec, :virtual_router_name) include Aws::Structure end |
#spec ⇒ Types::RouteSpec
The new route specification to apply. This overwrites the existing data.
2742 2743 2744 2745 2746 2747 2748 2749 |
# File 'lib/aws-sdk-appmesh/types.rb', line 2742 class UpdateRouteInput < Struct.new( :client_token, :mesh_name, :route_name, :spec, :virtual_router_name) include Aws::Structure end |
#virtual_router_name ⇒ String
The name of the virtual router that the route is associated with.
2742 2743 2744 2745 2746 2747 2748 2749 |
# File 'lib/aws-sdk-appmesh/types.rb', line 2742 class UpdateRouteInput < Struct.new( :client_token, :mesh_name, :route_name, :spec, :virtual_router_name) include Aws::Structure end |