ServiceArgs constructor
- 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,String, String> ?> - 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.
Implementation
const ServiceArgs({
this.description,
this.dnsConfig,
this.forceDestroy,
this.healthCheckConfig,
this.healthCheckCustomConfig,
this.name,
this.namespaceId,
this.region,
this.tags,
this.type,
});