Skip to content

AwsCloudMapServiceDiscovery

Source code in docs_src/capo_app_mesh/types/aws_cloud_map_service_discovery.py
class AwsCloudMapServiceDiscovery(TypedDict, closed=True):
    namespace_name: "capo_app_mesh.types.aws_cloud_map_name.AwsCloudMapName"
    """<p>The name of the Cloud Map namespace to use.</p>"""
    service_name: "capo_app_mesh.types.aws_cloud_map_name.AwsCloudMapName"
    """<p>The name of the Cloud Map service to use.</p>"""
    attributes: NotRequired[
        "capo_app_mesh.types.aws_cloud_map_instance_attributes.AwsCloudMapInstanceAttributes"
    ]
    """<p>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.</p>"""
    ip_preference: NotRequired["capo_app_mesh.types.ip_preference.IpPreference"]
    """<p>The preferred IP version that this virtual node uses. Setting the IP preference on the virtual node only overrides the IP preference set for the mesh on this specific node.</p>"""

attributes instance-attribute

attributes: NotRequired[AwsCloudMapInstanceAttributes]

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.

ip_preference instance-attribute

ip_preference: NotRequired[IpPreference]

The preferred IP version that this virtual node uses. Setting the IP preference on the virtual node only overrides the IP preference set for the mesh on this specific node.

namespace_name instance-attribute

namespace_name: AwsCloudMapName

The name of the Cloud Map namespace to use.

service_name instance-attribute

service_name: AwsCloudMapName

The name of the Cloud Map service to use.