Class: Aws::ServiceDiscovery::Types::ServiceSummary
- Inherits:
-
Struct
- Object
- Struct
- Aws::ServiceDiscovery::Types::ServiceSummary
- Includes:
- Aws::Structure
- Defined in:
- lib/aws-sdk-servicediscovery/types.rb
Overview
A complex type that contains information about a specified service.
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#arn ⇒ String
The Amazon Resource Name (ARN) that Cloud Map assigns to the service when you create it.
-
#create_date ⇒ Time
The date and time that the service was created.
-
#description ⇒ String
The description that you specify when you create the service.
-
#dns_config ⇒ Types::DnsConfig
Information about the Route 53 DNS records that you want Cloud Map to create when you register an instance.
-
#health_check_config ⇒ Types::HealthCheckConfig
*Public DNS and HTTP namespaces only.* Settings for an optional health check.
-
#health_check_custom_config ⇒ Types::HealthCheckCustomConfig
Information about an optional custom health check.
-
#id ⇒ String
The ID that Cloud Map assigned to the service when you created it.
-
#instance_count ⇒ Integer
The number of instances that are currently associated with the service.
-
#name ⇒ String
The name of the service.
-
#type ⇒ String
Describes the systems that can be used to discover the service instances.
Instance Attribute Details
#arn ⇒ String
The Amazon Resource Name (ARN) that Cloud Map assigns to the service when you create it.
3035 3036 3037 3038 3039 3040 3041 3042 3043 3044 3045 3046 3047 3048 |
# File 'lib/aws-sdk-servicediscovery/types.rb', line 3035 class ServiceSummary < Struct.new( :id, :arn, :name, :type, :description, :instance_count, :dns_config, :health_check_config, :health_check_custom_config, :create_date) SENSITIVE = [] include Aws::Structure end |
#create_date ⇒ Time
The date and time that the service was created.
3035 3036 3037 3038 3039 3040 3041 3042 3043 3044 3045 3046 3047 3048 |
# File 'lib/aws-sdk-servicediscovery/types.rb', line 3035 class ServiceSummary < Struct.new( :id, :arn, :name, :type, :description, :instance_count, :dns_config, :health_check_config, :health_check_custom_config, :create_date) SENSITIVE = [] include Aws::Structure end |
#description ⇒ String
The description that you specify when you create the service.
3035 3036 3037 3038 3039 3040 3041 3042 3043 3044 3045 3046 3047 3048 |
# File 'lib/aws-sdk-servicediscovery/types.rb', line 3035 class ServiceSummary < Struct.new( :id, :arn, :name, :type, :description, :instance_count, :dns_config, :health_check_config, :health_check_custom_config, :create_date) SENSITIVE = [] include Aws::Structure end |
#dns_config ⇒ Types::DnsConfig
Information about the Route 53 DNS records that you want Cloud Map to create when you register an instance.
3035 3036 3037 3038 3039 3040 3041 3042 3043 3044 3045 3046 3047 3048 |
# File 'lib/aws-sdk-servicediscovery/types.rb', line 3035 class ServiceSummary < Struct.new( :id, :arn, :name, :type, :description, :instance_count, :dns_config, :health_check_config, :health_check_custom_config, :create_date) SENSITIVE = [] include Aws::Structure end |
#health_check_config ⇒ Types::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`.
3035 3036 3037 3038 3039 3040 3041 3042 3043 3044 3045 3046 3047 3048 |
# File 'lib/aws-sdk-servicediscovery/types.rb', line 3035 class ServiceSummary < Struct.new( :id, :arn, :name, :type, :description, :instance_count, :dns_config, :health_check_config, :health_check_custom_config, :create_date) SENSITIVE = [] include Aws::Structure end |
#health_check_custom_config ⇒ Types::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 ‘HealthCheckConfig` because 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.
3035 3036 3037 3038 3039 3040 3041 3042 3043 3044 3045 3046 3047 3048 |
# File 'lib/aws-sdk-servicediscovery/types.rb', line 3035 class ServiceSummary < Struct.new( :id, :arn, :name, :type, :description, :instance_count, :dns_config, :health_check_config, :health_check_custom_config, :create_date) SENSITIVE = [] include Aws::Structure end |
#id ⇒ String
The ID that Cloud Map assigned to the service when you created it.
3035 3036 3037 3038 3039 3040 3041 3042 3043 3044 3045 3046 3047 3048 |
# File 'lib/aws-sdk-servicediscovery/types.rb', line 3035 class ServiceSummary < Struct.new( :id, :arn, :name, :type, :description, :instance_count, :dns_config, :health_check_config, :health_check_custom_config, :create_date) SENSITIVE = [] include Aws::Structure end |
#instance_count ⇒ Integer
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.
3035 3036 3037 3038 3039 3040 3041 3042 3043 3044 3045 3046 3047 3048 |
# File 'lib/aws-sdk-servicediscovery/types.rb', line 3035 class ServiceSummary < Struct.new( :id, :arn, :name, :type, :description, :instance_count, :dns_config, :health_check_config, :health_check_custom_config, :create_date) SENSITIVE = [] include Aws::Structure end |
#name ⇒ String
The name of the service.
3035 3036 3037 3038 3039 3040 3041 3042 3043 3044 3045 3046 3047 3048 |
# File 'lib/aws-sdk-servicediscovery/types.rb', line 3035 class ServiceSummary < Struct.new( :id, :arn, :name, :type, :description, :instance_count, :dns_config, :health_check_config, :health_check_custom_config, :create_date) SENSITIVE = [] include Aws::Structure end |
#type ⇒ String
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 `DiscoverInstances` API operation.
HTTP
: The service instances can only be discovered using the
`DiscoverInstances` API operation.
DNS
: Reserved.
3035 3036 3037 3038 3039 3040 3041 3042 3043 3044 3045 3046 3047 3048 |
# File 'lib/aws-sdk-servicediscovery/types.rb', line 3035 class ServiceSummary < Struct.new( :id, :arn, :name, :type, :description, :instance_count, :dns_config, :health_check_config, :health_check_custom_config, :create_date) SENSITIVE = [] include Aws::Structure end |