Class: Aws::ServiceDiscovery::Types::ServiceChange
- Inherits:
-
Struct
- Object
- Struct
- Aws::ServiceDiscovery::Types::ServiceChange
- Includes:
- Aws::Structure
- Defined in:
- lib/aws-sdk-servicediscovery/types.rb
Overview
Note:
When making an API call, you may pass ServiceChange data as a hash:
{
description: "ResourceDescription",
dns_config: {
dns_records: [ # required
{
type: "SRV", # required, accepts SRV, A, AAAA, CNAME
ttl: 1, # required
},
],
},
health_check_config: {
type: "HTTP", # required, accepts HTTP, HTTPS, TCP
resource_path: "ResourcePath",
failure_threshold: 1,
},
}
A complex type that contains changes to an existing service.
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#description ⇒ String
A description for the service.
-
#dns_config ⇒ Types::DnsConfigChange
Information about the Route 53 DNS records that you want AWS 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.
Instance Attribute Details
#description ⇒ String
A description for the service.
2909 2910 2911 2912 2913 2914 2915 |
# File 'lib/aws-sdk-servicediscovery/types.rb', line 2909 class ServiceChange < Struct.new( :description, :dns_config, :health_check_config) SENSITIVE = [] include Aws::Structure end |
#dns_config ⇒ Types::DnsConfigChange
Information about the Route 53 DNS records that you want AWS Cloud Map to create when you register an instance.
2909 2910 2911 2912 2913 2914 2915 |
# File 'lib/aws-sdk-servicediscovery/types.rb', line 2909 class ServiceChange < Struct.new( :description, :dns_config, :health_check_config) 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, AWS Cloud Map associates the health check with the records that you specify in ‘DnsConfig`.
2909 2910 2911 2912 2913 2914 2915 |
# File 'lib/aws-sdk-servicediscovery/types.rb', line 2909 class ServiceChange < Struct.new( :description, :dns_config, :health_check_config) SENSITIVE = [] include Aws::Structure end |