AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

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

Class: Aws::ServiceDiscovery::Types::NamespaceFilter

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

Overview

Note:

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

{
  name: "TYPE", # required, accepts TYPE
  values: ["FilterValue"], # required
  condition: "EQ", # accepts EQ, IN, BETWEEN
}

A complex type that identifies the namespaces that you want to list. You can choose to list public or private namespaces.

Instance Attribute Summary collapse

Instance Attribute Details

#conditionString

The operator that you want to use to determine whether ListNamespaces returns a namespace. Valid values for condition include:

  • EQ: When you specify EQ for the condition, you can choose to list only public namespaces or private namespaces, but not both. EQ is the default condition and can be omitted.

  • IN: When you specify IN for the condition, you can choose to list public namespaces, private namespaces, or both.

  • BETWEEN: Not applicable

    Possible values:

    • EQ
    • IN
    • BETWEEN

Returns:

  • (String)

    The operator that you want to use to determine whether ListNamespaces returns a namespace.

#nameString

Specify TYPE.

Possible values:

  • TYPE

Returns:

  • (String)

    Specify TYPE.

#valuesArray<String>

If you specify EQ for Condition, specify either DNS_PUBLIC or DNS_PRIVATE.

If you specify IN for Condition, you can specify DNS_PUBLIC, DNS_PRIVATE, or both.

Returns:

  • (Array<String>)

    If you specify EQ for Condition, specify either DNS_PUBLIC or DNS_PRIVATE.