Class: Aws::ServiceDiscovery::Types::NamespaceFilter
- Inherits:
-
Struct
- Object
- Struct
- Aws::ServiceDiscovery::Types::NamespaceFilter
- Defined in:
- gems/aws-sdk-servicediscovery/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
-
#condition ⇒ String
Specify the operator that you want to use to determine whether a namespace matches the specified value.
-
#name ⇒ String
Specify the namespaces that you want to get using one of the following.
-
#values ⇒ Array<String>
Specify the values that are applicable to the value that you specify for
Name
.
Instance Attribute Details
#condition ⇒ String
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 specifyEQ
forCondition
, you can specify only one value.EQ
is supported forTYPE
,NAME
,RESOURCE_OWNER
andHTTP_NAME
.EQ
is the default condition and can be omitted.BEGINS_WITH
: When you specifyBEGINS_WITH
forCondition
, you can specify only one value.BEGINS_WITH
is supported forTYPE
,NAME
, andHTTP_NAME
.
2209 2210 2211 2212 2213 2214 2215 |
# File 'gems/aws-sdk-servicediscovery/lib/aws-sdk-servicediscovery/types.rb', line 2209 class NamespaceFilter < Struct.new( :name, :values, :condition) SENSITIVE = [] include Aws::Structure end |
#name ⇒ String
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.RESOURCE_OWNER
: Gets the namespaces created by your Amazon Web Services account or by other accounts. This can be used to filter for shared namespaces. For more information about shared namespaces, see Cross-account Cloud Map namespace sharing in the Cloud Map Developer Guide.
2209 2210 2211 2212 2213 2214 2215 |
# File 'gems/aws-sdk-servicediscovery/lib/aws-sdk-servicediscovery/types.rb', line 2209 class NamespaceFilter < Struct.new( :name, :values, :condition) SENSITIVE = [] include Aws::Structure end |
#values ⇒ Array<String>
Specify the values that are applicable to the value that you specify
for Name
.
TYPE
: SpecifyHTTP
,DNS_PUBLIC
, orDNS_PRIVATE
.NAME
: Specify the name of the namespace, which is found inNamespace.Name
.HTTP_NAME
: Specify the HTTP name of the namespace, which is found inNamespace.Properties.HttpProperties.HttpName
.RESOURCE_OWNER
: Specify one ofSELF
orOTHER_ACCOUNTS
.SELF
can be used to filter namespaces created by you andOTHER_ACCOUNTS
can be used to filter namespaces shared with you that were created by other accounts.
2209 2210 2211 2212 2213 2214 2215 |
# File 'gems/aws-sdk-servicediscovery/lib/aws-sdk-servicediscovery/types.rb', line 2209 class NamespaceFilter < Struct.new( :name, :values, :condition) SENSITIVE = [] include Aws::Structure end |