ServiceArgs class

The set of arguments for Service. The set of arguments for Service.

Constructors

ServiceArgs({Input<String?>? description, Input<ServiceDnsConfig?>? dnsConfig, Input<bool?>? forceDestroy, Input<ServiceHealthCheckConfig?>? healthCheckConfig, Input<ServiceHealthCheckCustomConfig?>? healthCheckCustomConfig, Input<String?>? name, Input<String?>? namespaceId, Input<String?>? region, Input<Map<String, String>?>? tags, Input<String?>? type})
Creates a new ServiceArgs. description The description of the service. dnsConfig A complex type that contains information about the resource record sets that you want Amazon Route 53 to create when you register an instance. See dnsConfig Block for details. forceDestroy A boolean that indicates all instances should be deleted from the service so that the service can be destroyed without error. These instances are not recoverable. Defaults to false. healthCheckConfig A complex type that contains settings for an optional health check. Only for Public DNS namespaces. See healthCheckConfig Block for details. healthCheckCustomConfig Please use healthCheckConfig instead. See healthCheckCustomConfig Block for details. name The name of the service. namespaceId The ID of the namespace that you want to use to create the service. region Region where this resource will be managed. Defaults to the Region set in the provider configuration. tags A map of tags to assign to the service. If configured with a provider defaultTags configuration block present, tags with matching keys will overwrite those defined at the provider-level. type If present, specifies that the service instances are only discoverable using the DiscoverInstances API operation. No DNS records is registered for the service instances. The only valid value is HTTP.
const
ServiceArgs.fromMap(Map<String, dynamic> map)
factory

Properties

description → Input<String?>?
The description of the service.
final
dnsConfig → Input<ServiceDnsConfig?>?
A complex type that contains information about the resource record sets that you want Amazon Route 53 to create when you register an instance. See dnsConfig Block for details.
final
forceDestroy → Input<bool?>?
A boolean that indicates all instances should be deleted from the service so that the service can be destroyed without error. These instances are not recoverable. Defaults to false.
final
hashCode → int
The hash code for this object.
no setterinherited
healthCheckConfig → Input<ServiceHealthCheckConfig?>?
A complex type that contains settings for an optional health check. Only for Public DNS namespaces. See healthCheckConfig Block for details.
final
healthCheckCustomConfig → Input<ServiceHealthCheckCustomConfig?>?
Please use healthCheckConfig instead. See healthCheckCustomConfig Block for details.
final
name → Input<String?>?
The name of the service.
final
namespaceId → Input<String?>?
The ID of the namespace that you want to use to create the service.
final
region → Input<String?>?
Region where this resource will be managed. Defaults to the Region set in the provider configuration.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
tags → Input<Map<String, String>?>?
A map of tags to assign to the service. If configured with a provider defaultTags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
final
type → Input<String?>?
If present, specifies that the service instances are only discoverable using the DiscoverInstances API operation. No DNS records is registered for the service instances. The only valid value is HTTP.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited