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

Class: Aws::AppMesh::Types::VirtualGatewaySpec

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing VirtualGatewaySpec as input to an Aws::Client method, you can use a vanilla Hash:

{
  backend_defaults: {
    client_policy: {
      tls: {
        enforce: false,
        ports: [1],
        validation: { # required
          trust: { # required
            acm: {
              certificate_authority_arns: ["Arn"], # required
            },
            file: {
              certificate_chain: "FilePath", # required
            },
          },
        },
      },
    },
  },
  listeners: [ # required
    {
      connection_pool: {
        grpc: {
          max_requests: 1, # required
        },
        http: {
          max_connections: 1, # required
          max_pending_requests: 1,
        },
        http2: {
          max_requests: 1, # required
        },
      },
      health_check: {
        healthy_threshold: 1, # required
        interval_millis: 1, # required
        path: "String",
        port: 1,
        protocol: "http", # required, accepts http, http2, grpc
        timeout_millis: 1, # required
        unhealthy_threshold: 1, # required
      },
      port_mapping: { # required
        port: 1, # required
        protocol: "http", # required, accepts http, http2, grpc
      },
      tls: {
        certificate: { # required
          acm: {
            certificate_arn: "Arn", # required
          },
          file: {
            certificate_chain: "FilePath", # required
            private_key: "FilePath", # required
          },
        },
        mode: "STRICT", # required, accepts STRICT, PERMISSIVE, DISABLED
      },
    },
  ],
  logging: {
    access_log: {
      file: {
        path: "FilePath", # required
      },
    },
  },
}

An object that represents the specification of a service mesh resource.

Returned by:

Instance Attribute Summary collapse

Instance Attribute Details

#backend_defaultsTypes::VirtualGatewayBackendDefaults

A reference to an object that represents the defaults for backends.

Returns:

#listenersArray<Types::VirtualGatewayListener>

The listeners that the mesh endpoint is expected to receive inbound traffic from. You can specify one listener.

Returns:

#loggingTypes::VirtualGatewayLogging

An object that represents logging information.

Returns: