ServiceSummary
¶
Source code in docs_src/capo_servicediscovery/types/service_summary.py
arn
instance-attribute
¶
arn: NotRequired[Arn]
The Amazon Resource Name (ARN) that Cloud Map assigns to the service when you create it.
create_date
instance-attribute
¶
create_date: NotRequired[Timestamp]
The date and time that the service was created.
created_by_account
instance-attribute
¶
created_by_account: NotRequired[AWSAccountId]
The ID of the Amazon Web Services account that created the service. If this isn't your account ID, it is the account ID of the namespace owner or of another account with which the namespace has been shared. For more information about shared namespaces, see Cross-account Cloud Map namespace sharing in the Cloud Map Developer Guide.
description
instance-attribute
¶
description: NotRequired[ResourceDescription]
The description that you specify when you create the service.
dns_config
instance-attribute
¶
dns_config: NotRequired[DnsConfig]
Information about the Route 53 DNS records that you want Cloud Map to create when you register an instance.
health_check_config
instance-attribute
¶
health_check_config: NotRequired[HealthCheckConfig]
Public DNS and HTTP namespaces only. Settings for an optional health check. If you specify settings for a health check, Cloud Map associates the health check with the records that you specify in DnsConfig.
health_check_custom_config
instance-attribute
¶
health_check_custom_config: NotRequired[HealthCheckCustomConfig]
Information about an optional custom health check. A custom health check, which requires that you use a third-party health checker to evaluate the health of your resources, is useful in the following circumstances:
-
You can't use a health check that's defined by
HealthCheckConfigbecause the resource isn't available over the internet. For example, you can use a custom health check when the instance is in an Amazon VPC. (To check the health of resources in a VPC, the health checker must also be in the VPC.) -
You want to use a third-party health checker regardless of where your resources are located.
If you specify a health check configuration, you can specify either HealthCheckCustomConfig or HealthCheckConfig but not both.
id
instance-attribute
¶
id: NotRequired[ResourceId]
The ID that Cloud Map assigned to the service when you created it.
instance_count
instance-attribute
¶
instance_count: NotRequired[ResourceCount]
The number of instances that are currently associated with the service. Instances that were previously associated with the service but that are deleted aren't included in the count. The count might not reflect pending registrations and deregistrations.
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.
type
instance-attribute
¶
type: NotRequired[ServiceType]
Describes the systems that can be used to discover the service instances.
- DNS_HTTP
-
The service instances can be discovered using either DNS queries or the
DiscoverInstancesAPI operation. - HTTP
-
The service instances can only be discovered using the
DiscoverInstancesAPI operation. - DNS
-
Reserved.