Class: Aws::AppMesh::Types::VirtualNodeSpec
- Inherits:
-
Struct
- Object
- Struct
- Aws::AppMesh::Types::VirtualNodeSpec
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-appmesh/types.rb
Overview
When making an API call, you may pass VirtualNodeSpec data as a hash:
{
backends: [
{
virtual_service: {
virtual_service_name: "ServiceName", # required
},
},
],
listeners: [
{
health_check: {
healthy_threshold: 1, # required
interval_millis: 1, # required
path: "String",
port: 1,
protocol: "grpc", # required, accepts grpc, http, http2, tcp
timeout_millis: 1, # required
unhealthy_threshold: 1, # required
},
port_mapping: { # required
port: 1, # required
protocol: "grpc", # required, accepts grpc, http, http2, tcp
},
},
],
logging: {
access_log: {
file: {
path: "FilePath", # required
},
},
},
service_discovery: {
aws_cloud_map: {
attributes: [
{
key: "AwsCloudMapInstanceAttributeKey", # required
value: "AwsCloudMapInstanceAttributeValue", # required
},
],
namespace_name: "AwsCloudMapName", # required
service_name: "AwsCloudMapName", # required
},
dns: {
hostname: "Hostname", # required
},
},
}
An object that represents the specification of a virtual node.
Instance Attribute Summary collapse
-
#backends ⇒ Array<Types::Backend>
The backends that the virtual node is expected to send outbound traffic to.
-
#listeners ⇒ Array<Types::Listener>
The listeners that the virtual node is expected to receive inbound traffic from.
-
#logging ⇒ Types::Logging
The inbound and outbound access logging information for the virtual node.
-
#service_discovery ⇒ Types::ServiceDiscovery
The service discovery information for the virtual node.
Instance Attribute Details
#backends ⇒ Array<Types::Backend>
The backends that the virtual node is expected to send outbound traffic to.
1937 1938 1939 1940 1941 1942 1943 |
# File 'lib/aws-sdk-appmesh/types.rb', line 1937 class VirtualNodeSpec < Struct.new( :backends, :listeners, :logging, :service_discovery) include Aws::Structure end |
#listeners ⇒ Array<Types::Listener>
The listeners that the virtual node is expected to receive inbound traffic from. You can specify one listener.
1937 1938 1939 1940 1941 1942 1943 |
# File 'lib/aws-sdk-appmesh/types.rb', line 1937 class VirtualNodeSpec < Struct.new( :backends, :listeners, :logging, :service_discovery) include Aws::Structure end |
#logging ⇒ Types::Logging
The inbound and outbound access logging information for the virtual node.
1937 1938 1939 1940 1941 1942 1943 |
# File 'lib/aws-sdk-appmesh/types.rb', line 1937 class VirtualNodeSpec < Struct.new( :backends, :listeners, :logging, :service_discovery) include Aws::Structure end |
#service_discovery ⇒ Types::ServiceDiscovery
The service discovery information for the virtual node. If your virtual node does not expect ingress traffic, you can omit this parameter.
1937 1938 1939 1940 1941 1942 1943 |
# File 'lib/aws-sdk-appmesh/types.rb', line 1937 class VirtualNodeSpec < Struct.new( :backends, :listeners, :logging, :service_discovery) include Aws::Structure end |