Class: Aws::ServiceDiscovery::Types::ServiceChange

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-servicediscovery/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

Instance Attribute Details

#descriptionString

A description for the service.

Returns:

  • (String)


3271
3272
3273
3274
3275
3276
3277
# File 'gems/aws-sdk-servicediscovery/lib/aws-sdk-servicediscovery/types.rb', line 3271

class ServiceChange < Struct.new(
  :description,
  :dns_config,
  :health_check_config)
  SENSITIVE = []
  include Aws::Structure
end

#dns_configTypes::DnsConfigChange

Information about the Route 53 DNS records that you want Cloud Map to create when you register an instance.



3271
3272
3273
3274
3275
3276
3277
# File 'gems/aws-sdk-servicediscovery/lib/aws-sdk-servicediscovery/types.rb', line 3271

class ServiceChange < Struct.new(
  :description,
  :dns_config,
  :health_check_config)
  SENSITIVE = []
  include Aws::Structure
end

#health_check_configTypes::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.



3271
3272
3273
3274
3275
3276
3277
# File 'gems/aws-sdk-servicediscovery/lib/aws-sdk-servicediscovery/types.rb', line 3271

class ServiceChange < Struct.new(
  :description,
  :dns_config,
  :health_check_config)
  SENSITIVE = []
  include Aws::Structure
end