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< ? tags, Input<String, String> ?>String?> ? type}) -
Creates a new ServiceArgs.
descriptionThe description of the service.dnsConfigA complex type that contains information about the resource record sets that you want Amazon Route 53 to create when you register an instance. SeednsConfigBlock for details.forceDestroyA 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 tofalse.healthCheckConfigA complex type that contains settings for an optional health check. Only for Public DNS namespaces. SeehealthCheckConfigBlock for details.healthCheckCustomConfigPlease usehealthCheckConfiginstead. SeehealthCheckCustomConfigBlock for details.nameThe name of the service.namespaceIdThe ID of the namespace that you want to use to create the service.regionRegion where this resource will be managed. Defaults to the Region set in the provider configuration.tagsA map of tags to assign to the service. If configured with a providerdefaultTagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level.typeIf present, specifies that the service instances are only discoverable using theDiscoverInstancesAPI operation. No DNS records is registered for the service instances. The only valid value isHTTP.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
dnsConfigBlock 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
healthCheckConfigBlock for details.final -
healthCheckCustomConfig
→ Input<
ServiceHealthCheckCustomConfig?> ? -
Please use
healthCheckConfiginstead. SeehealthCheckCustomConfigBlock 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
-
A map of tags to assign to the service. If configured with a provider
defaultTagsconfiguration 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
DiscoverInstancesAPI operation. No DNS records is registered for the service instances. The only valid value isHTTP.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