CloudMapServiceDiscoveryOptions¶
-
class
aws_cdk.aws_appmesh.
CloudMapServiceDiscoveryOptions
(*, service, instance_attributes=None)¶ Bases:
object
(experimental) Represents the properties needed to define CloudMap Service Discovery.
- Parameters
service (
IService
) – (experimental) The AWS Cloud Map Service to use for service discovery.instance_attributes (
Optional
[Mapping
[str
,str
]]) – (experimental) A string map that contains attributes with values that you can use to filter instances by any custom attribute that you specified when you registered the instance. Only instances that match all of the specified key/value pairs will be returned. Default: - no instance attributes
- Stability
experimental
Attributes
-
instance_attributes
¶ (experimental) A string map that contains attributes with values that you can use to filter instances by any custom attribute that you specified when you registered the instance.
Only instances that match all of the specified key/value pairs will be returned.
- Default
no instance attributes
- Stability
experimental
- Return type
Optional
[Mapping
[str
,str
]]