@pulumi/aws-native
Version:
The Pulumi AWS Cloud Control Provider enables you to build, deploy, and manage [any AWS resource that's supported by the AWS Cloud Control API](https://github.com/pulumi/pulumi-aws-native/blob/master/provider/cmd/pulumi-gen-aws-native/supported-types.txt)
59 lines (58 loc) • 2.5 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as outputs from "../types/output";
/**
* Resource Type definition for AWS::ServiceDiscovery::Service
*/
export declare function getService(args: GetServiceArgs, opts?: pulumi.InvokeOptions): Promise<GetServiceResult>;
export interface GetServiceArgs {
/**
* The ID of the service.
*/
id: string;
}
export interface GetServiceResult {
/**
* The Amazon Resource Name (ARN) of the service.
*/
readonly arn?: string;
/**
* The description of the service.
*/
readonly description?: string;
/**
* 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?: outputs.servicediscovery.ServiceDnsConfig;
/**
* *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?: outputs.servicediscovery.ServiceHealthCheckConfig;
/**
* The ID of the service.
*/
readonly id?: string;
/**
* 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?: 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.
*/
readonly tags?: outputs.Tag[];
}
/**
* Resource Type definition for AWS::ServiceDiscovery::Service
*/
export declare function getServiceOutput(args: GetServiceOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetServiceResult>;
export interface GetServiceOutputArgs {
/**
* The ID of the service.
*/
id: pulumi.Input<string>;
}