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

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 Listener data as a 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

The health check information for the listener.



3912
3913
3914
3915
3916
3917
# File 'gems/aws-sdk-appmesh/lib/aws-sdk-appmesh/types.rb', line 3912

class Listener < Struct.new(
  :health_check,
  :port_mapping,
  :tls)
  include Aws::Structure
end

#port_mappingTypes::PortMapping

The port mapping information for the listener.

Returns:



3912
3913
3914
3915
3916
3917
# File 'gems/aws-sdk-appmesh/lib/aws-sdk-appmesh/types.rb', line 3912

class Listener < Struct.new(
  :health_check,
  :port_mapping,
  :tls)
  include Aws::Structure
end

#tlsTypes::ListenerTls

A reference to an object that represents the Transport Layer Security (TLS) properties for a listener.

Returns:



3912
3913
3914
3915
3916
3917
# File 'gems/aws-sdk-appmesh/lib/aws-sdk-appmesh/types.rb', line 3912

class Listener < Struct.new(
  :health_check,
  :port_mapping,
  :tls)
  include Aws::Structure
end