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

Class: Aws::AppMesh::Types::Listener

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

Overview

Note:

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

{
  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
  },
  tls: {
    certificate: { # required
      acm: {
        certificate_arn: "Arn", # required
      },
      file: {
        certificate_chain: "FilePath", # required
        private_key: "FilePath", # required
      },
    },
    mode: "DISABLED", # required, accepts DISABLED, PERMISSIVE, STRICT
  },
}

An object that represents a listener for a virtual node.

Instance Attribute Summary collapse

Instance Attribute Details

#health_checkTypes::HealthCheckPolicy

An object that represents the health check policy for a virtual node's listener.

Returns:

#port_mappingTypes::PortMapping

An object that represents a port mapping.

Returns:

#tlsTypes::ListenerTls

An object that represents the Transport Layer Security (TLS) properties for a listener.

Returns:

  • (Types::ListenerTls)

    An object that represents the Transport Layer Security (TLS) properties for a listener.

    .