Class: Aws::ServiceDiscovery::Types::ServiceFilter

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

Overview

A complex type that lets you specify the namespaces that you want to list services for.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#conditionString

The operator that you want to use to determine whether a service is returned by ListServices. Valid values for Condition include the following:

  • EQ: When you specify EQ, specify one value. EQ is the default condition and can be omitted.

^

Returns:

  • (String)


3299
3300
3301
3302
3303
3304
3305
# File 'gems/aws-sdk-servicediscovery/lib/aws-sdk-servicediscovery/types.rb', line 3299

class ServiceFilter < Struct.new(
  :name,
  :values,
  :condition)
  SENSITIVE = []
  include Aws::Structure
end

#nameString

Specify the services that you want to get using one of the following.

  • NAMESPACE_ID: Gets the services associated with the specified namespace.

  • RESOURCE_OWNER: Gets the services associated with the namespaces created by your Amazon Web Services account or by other accounts. This can be used to filter for services created in a shared namespace. For more information about shared namespaces, see Cross-account Cloud Map namespace sharing in the Cloud Map Developer Guide.

Returns:

  • (String)


3299
3300
3301
3302
3303
3304
3305
# File 'gems/aws-sdk-servicediscovery/lib/aws-sdk-servicediscovery/types.rb', line 3299

class ServiceFilter < Struct.new(
  :name,
  :values,
  :condition)
  SENSITIVE = []
  include Aws::Structure
end

#valuesArray<String>

The values that are applicable to the value that you specify for Condition to filter the list of services.

  • NAMESPACE_ID: Specify one namespace ID or ARN. Specify the namespace ARN for namespaces that are shared with your Amazon Web Services account.

  • RESOURCE_OWNER: Specify one of SELF or OTHER_ACCOUNTS. SELF can be used to filter services associated with namespaces created by you and OTHER_ACCOUNTS can be used to filter services associated with namespaces that were shared with you.

Returns:

  • (Array<String>)


3299
3300
3301
3302
3303
3304
3305
# File 'gems/aws-sdk-servicediscovery/lib/aws-sdk-servicediscovery/types.rb', line 3299

class ServiceFilter < Struct.new(
  :name,
  :values,
  :condition)
  SENSITIVE = []
  include Aws::Structure
end