Skip to content

ServiceAttributes

Source code in docs_src/capo_servicediscovery/types/service_attributes.py
class ServiceAttributes(TypedDict, closed=True):
    service_arn: NotRequired["capo_servicediscovery.types.arn.Arn"]
    """<p>The ARN of the service that the attributes are associated with.</p>"""
    resource_owner: NotRequired[
        "capo_servicediscovery.types.aws_account_id.AWSAccountId"
    ]
    """<p>The ID of the Amazon Web Services account that created the namespace with which the service is associated. If this isn't your account ID, it is the ID of the account that shared the namespace with your account. For more information about shared namespaces, see <a href="https://docs.aws.amazon.com/cloud-map/latest/dg/sharing-namespaces.html">Cross-account Cloud Map namespace sharing</a> in the <i>Cloud Map Developer Guide</i>.</p>"""
    attributes: NotRequired[
        "capo_servicediscovery.types.service_attributes_map.ServiceAttributesMap"
    ]
    """<p>A string map that contains the following information for the service that you specify in <code>ServiceArn</code>:</p> <ul> <li> <p>The attributes that apply to the service. </p> </li> <li> <p>For each attribute, the applicable value.</p> </li> </ul> <p>You can specify a total of 30 attributes.</p>"""

attributes instance-attribute

attributes: NotRequired[ServiceAttributesMap]

A string map that contains the following information for the service that you specify in ServiceArn:

  • The attributes that apply to the service.

  • For each attribute, the applicable value.

You can specify a total of 30 attributes.

resource_owner instance-attribute

resource_owner: NotRequired[AWSAccountId]

The ID of the Amazon Web Services account that created the namespace with which the service is associated. If this isn't your account ID, it is the ID of the account that shared the namespace with your account. For more information about shared namespaces, see Cross-account Cloud Map namespace sharing in the Cloud Map Developer Guide.

service_arn instance-attribute

service_arn: NotRequired[Arn]

The ARN of the service that the attributes are associated with.