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

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

Overview

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

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#conditionString

Specify the operator that you want to use to determine whether a namespace matches the specified value. Valid values for ‘Condition` are one of the following.

  • ‘EQ`: When you specify `EQ` for `Condition`, you can specify only one value. `EQ` is supported for `TYPE`, `NAME`, and `HTTP_NAME`. `EQ` is the default condition and can be omitted.

  • ‘BEGINS_WITH`: When you specify `BEGINS_WITH` for `Condition`, you can specify only one value. `BEGINS_WITH` is supported for `TYPE`, `NAME`, and `HTTP_NAME`.

Returns:

  • (String)


1977
1978
1979
1980
1981
1982
1983
# File 'lib/aws-sdk-servicediscovery/types.rb', line 1977

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

#nameString

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

  • ‘TYPE`: Gets the namespaces of the specified type.

  • ‘NAME`: Gets the namespaces with the specified name.

  • ‘HTTP_NAME`: Gets the namespaces with the specified HTTP name.

Returns:

  • (String)


1977
1978
1979
1980
1981
1982
1983
# File 'lib/aws-sdk-servicediscovery/types.rb', line 1977

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

#valuesArray<String>

Specify the values that are applicable to the value that you specify for ‘Name`.

  • ‘TYPE`: Specify `HTTP`, `DNS_PUBLIC`, or `DNS_PRIVATE`.

  • ‘NAME`: Specify the name of the namespace, which is found in `Namespace.Name`.

  • ‘HTTP_NAME`: Specify the HTTP name of the namespace, which is found in `Namespace.Properties.HttpProperties.HttpName`.

Returns:

  • (Array<String>)


1977
1978
1979
1980
1981
1982
1983
# File 'lib/aws-sdk-servicediscovery/types.rb', line 1977

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