Class: Aws::AppMesh::Types::Backend

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-appmesh/lib/aws-sdk-appmesh/types.rb

Overview

Note:

Backend is a union - when making an API calls you must set exactly one of the members.

Note:

Backend is a union - when returned from an API call exactly one value will be set and the returned type will be a subclass of Backend corresponding to the set member.

An object that represents the backends that a virtual node is expected to send outbound traffic to.

Direct Known Subclasses

Unknown, VirtualService

Defined Under Namespace

Classes: Unknown, VirtualService

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#unknownObject

Returns the value of attribute unknown

Returns:

  • (Object)

    the current value of unknown



117
118
119
# File 'gems/aws-sdk-appmesh/lib/aws-sdk-appmesh/types.rb', line 117

def unknown
  @unknown
end

#virtual_serviceTypes::VirtualServiceBackend

Specifies a virtual service to use as a backend.



117
118
119
120
121
122
123
124
125
126
# File 'gems/aws-sdk-appmesh/lib/aws-sdk-appmesh/types.rb', line 117

class Backend < Struct.new(
  :virtual_service,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class VirtualService < Backend; end
  class Unknown < Backend; end
end