Package com.pulumi.aws.servicediscovery
Class ServiceArgs
- java.lang.Object
-
- com.pulumi.resources.InputArgs
-
- com.pulumi.resources.ResourceArgs
-
- com.pulumi.aws.servicediscovery.ServiceArgs
-
public final class ServiceArgs extends com.pulumi.resources.ResourceArgs
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classServiceArgs.Builder
-
Field Summary
Fields Modifier and Type Field Description static ServiceArgsEmpty
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ServiceArgs.Builderbuilder()static ServiceArgs.Builderbuilder(ServiceArgs defaults)java.util.Optional<com.pulumi.core.Output<java.lang.String>>description()java.util.Optional<com.pulumi.core.Output<ServiceDnsConfigArgs>>dnsConfig()java.util.Optional<com.pulumi.core.Output<java.lang.Boolean>>forceDestroy()java.util.Optional<com.pulumi.core.Output<ServiceHealthCheckConfigArgs>>healthCheckConfig()java.util.Optional<com.pulumi.core.Output<ServiceHealthCheckCustomConfigArgs>>healthCheckCustomConfig()java.util.Optional<com.pulumi.core.Output<java.lang.String>>name()java.util.Optional<com.pulumi.core.Output<java.lang.String>>namespaceId()java.util.Optional<com.pulumi.core.Output<java.lang.String>>region()java.util.Optional<com.pulumi.core.Output<java.util.Map<java.lang.String,java.lang.String>>>tags()java.util.Optional<com.pulumi.core.Output<java.lang.String>>type()
-
-
-
Field Detail
-
Empty
public static final ServiceArgs Empty
-
-
Method Detail
-
description
public java.util.Optional<com.pulumi.core.Output<java.lang.String>> description()
- Returns:
- The description of the service.
-
dnsConfig
public java.util.Optional<com.pulumi.core.Output<ServiceDnsConfigArgs>> dnsConfig()
- Returns:
- 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
public java.util.Optional<com.pulumi.core.Output<java.lang.Boolean>> forceDestroy()
- Returns:
- 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
public java.util.Optional<com.pulumi.core.Output<ServiceHealthCheckConfigArgs>> healthCheckConfig()
- Returns:
- A complex type that contains settings for an optional health check. Only for Public DNS namespaces. See `healthCheckConfig` Block for details.
-
healthCheckCustomConfig
public java.util.Optional<com.pulumi.core.Output<ServiceHealthCheckCustomConfigArgs>> healthCheckCustomConfig()
- Returns:
- Please use `healthCheckConfig` instead. See `healthCheckCustomConfig` Block for details.
-
name
public java.util.Optional<com.pulumi.core.Output<java.lang.String>> name()
- Returns:
- The name of the service.
-
namespaceId
public java.util.Optional<com.pulumi.core.Output<java.lang.String>> namespaceId()
- Returns:
- The ID of the namespace that you want to use to create the service.
-
region
public java.util.Optional<com.pulumi.core.Output<java.lang.String>> region()
- Returns:
- Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
-
tags
public java.util.Optional<com.pulumi.core.Output<java.util.Map<java.lang.String,java.lang.String>>> tags()
- Returns:
- 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
public java.util.Optional<com.pulumi.core.Output<java.lang.String>> type()
- Returns:
- 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`.
-
builder
public static ServiceArgs.Builder builder()
-
builder
public static ServiceArgs.Builder builder(ServiceArgs defaults)
-
-