Class ServiceState


  • public final class ServiceState
    extends com.pulumi.resources.ResourceArgs
    • Method Detail

      • arn

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> arn()
        Returns:
        The ARN of the service.
      • 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.
      • 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.
      • 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.
      • healthCheckCustomConfig

        public java.util.Optional<com.pulumi.core.Output<ServiceHealthCheckCustomConfigArgs>> healthCheckCustomConfig()
        Returns:
        A complex type that contains settings for ECS managed health checks.
      • 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.
      • 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 `default_tags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
      • tagsAll

        @Deprecated
        public java.util.Optional<com.pulumi.core.Output<java.util.Map<java.lang.String,​java.lang.String>>> tagsAll()
        Deprecated.
        Please use `tags` instead.
        Returns:
        A map of tags assigned to the resource, including those inherited from the provider `default_tags` configuration block.
      • 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`.