import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../types/input"; import * as outputs from "../types/output"; /** * Resource Type definition for AWS::ServiceDiscovery::Service */ export declare class Service extends pulumi.CustomResource { /** * Get an existing Service resource's state with the given name, ID, and optional extra * properties used to qualify the lookup. * * @param name The _unique_ name of the resulting resource. * @param id The _unique_ provider ID of the resource to lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input, opts?: pulumi.CustomResourceOptions): Service; /** * Returns true if the given object is an instance of Service. This is designed to work even * when multiple copies of the Pulumi SDK have been loaded into the same process. */ static isInstance(obj: any): obj is Service; /** * The Amazon Resource Name (ARN) of the service. */ readonly arn: pulumi.Output; /** * The ID of the service. */ readonly awsId: pulumi.Output; /** * The description of the service. */ readonly description: pulumi.Output; /** * A complex type that contains information about the Route 53 DNS records that you want AWS Cloud Map to create when you register an instance. * * > The record types of a service can only be changed by deleting the service and recreating it with a new `Dnsconfig` . */ readonly dnsConfig: pulumi.Output; /** * *Public DNS and HTTP namespaces only.* A complex type that contains settings for an optional health check. If you specify settings for a health check, AWS Cloud Map associates the health check with the records that you specify in `DnsConfig` . * * For information about the charges for health checks, see [Amazon Route 53 Pricing](https://docs.aws.amazon.com/route53/pricing/) . */ readonly healthCheckConfig: pulumi.Output; /** * A complex type that contains information about an optional custom health check. * * > If you specify a health check configuration, you can specify either `HealthCheckCustomConfig` or `HealthCheckConfig` but not both. */ readonly healthCheckCustomConfig: pulumi.Output; /** * The name of the service. */ readonly name: pulumi.Output; /** * The ID or Amazon Resource Name (ARN) of the namespace that you want to use to create the service. For namespaces shared with your AWS account, specify the namespace ARN. For more information about shared namespaces, see [Cross-account AWS Cloud Map namespace sharing](https://docs.aws.amazon.com/cloud-map/latest/dg/sharing-namespaces.html) in the *AWS Cloud Map Developer Guide* . */ readonly namespaceId: pulumi.Output; /** * A complex type that contains information about attributes associated with a specific service. * * Search the [CloudFormation User Guide](https://docs.aws.amazon.com/cloudformation/) for `AWS::ServiceDiscovery::Service` for more information about the expected schema for this property. */ readonly serviceAttributes: pulumi.Output; /** * The tags for the service. Each tag consists of a key and an optional value, both of which you define. Tag keys can have a maximum character length of 128 characters, and tag values can have a maximum length of 256 characters. */ readonly tags: pulumi.Output; /** * 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` . */ readonly type: pulumi.Output; /** * Create a Service resource with the given unique name, arguments, and options. * * @param name The _unique_ name of the resource. * @param args The arguments to use to populate this resource's properties. * @param opts A bag of options that control this resource's behavior. */ constructor(name: string, args?: ServiceArgs, opts?: pulumi.CustomResourceOptions); } /** * The set of arguments for constructing a Service resource. */ export interface ServiceArgs { /** * The description of the service. */ description?: pulumi.Input; /** * A complex type that contains information about the Route 53 DNS records that you want AWS Cloud Map to create when you register an instance. * * > The record types of a service can only be changed by deleting the service and recreating it with a new `Dnsconfig` . */ dnsConfig?: pulumi.Input; /** * *Public DNS and HTTP namespaces only.* A complex type that contains settings for an optional health check. If you specify settings for a health check, AWS Cloud Map associates the health check with the records that you specify in `DnsConfig` . * * For information about the charges for health checks, see [Amazon Route 53 Pricing](https://docs.aws.amazon.com/route53/pricing/) . */ healthCheckConfig?: pulumi.Input; /** * A complex type that contains information about an optional custom health check. * * > If you specify a health check configuration, you can specify either `HealthCheckCustomConfig` or `HealthCheckConfig` but not both. */ healthCheckCustomConfig?: pulumi.Input; /** * The name of the service. */ name?: pulumi.Input; /** * The ID or Amazon Resource Name (ARN) of the namespace that you want to use to create the service. For namespaces shared with your AWS account, specify the namespace ARN. For more information about shared namespaces, see [Cross-account AWS Cloud Map namespace sharing](https://docs.aws.amazon.com/cloud-map/latest/dg/sharing-namespaces.html) in the *AWS Cloud Map Developer Guide* . */ namespaceId?: pulumi.Input; /** * A complex type that contains information about attributes associated with a specific service. * * Search the [CloudFormation User Guide](https://docs.aws.amazon.com/cloudformation/) for `AWS::ServiceDiscovery::Service` for more information about the expected schema for this property. */ serviceAttributes?: any; /** * The tags for the service. Each tag consists of a key and an optional value, both of which you define. Tag keys can have a maximum character length of 128 characters, and tag values can have a maximum length of 256 characters. */ tags?: pulumi.Input[]>; /** * 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` . */ type?: pulumi.Input; }