Class: Aws::ServiceDiscovery::Types::UpdateServiceRequest
- Inherits:
-
Struct
- Object
- Struct
- Aws::ServiceDiscovery::Types::UpdateServiceRequest
- Includes:
- Aws::Structure
- Defined in:
- lib/aws-sdk-servicediscovery/types.rb
Overview
Note:
When making an API call, you may pass UpdateServiceRequest data as a hash:
{
id: "ResourceId", # required
service: { # required
description: "ResourceDescription",
dns_config: { # required
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,
},
},
}
Instance Attribute Summary collapse
-
#id ⇒ String
The ID of the service that you want to update.
-
#service ⇒ Types::ServiceChange
A complex type that contains the new settings for the service.
Instance Attribute Details
#id ⇒ String
The ID of the service that you want to update.
2706 2707 2708 2709 2710 |
# File 'lib/aws-sdk-servicediscovery/types.rb', line 2706 class UpdateServiceRequest < Struct.new( :id, :service) include Aws::Structure end |
#service ⇒ Types::ServiceChange
A complex type that contains the new settings for the service.
2706 2707 2708 2709 2710 |
# File 'lib/aws-sdk-servicediscovery/types.rb', line 2706 class UpdateServiceRequest < Struct.new( :id, :service) include Aws::Structure end |