import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../types/input"; import * as outputs from "../types/output"; /** * Resource schema for AppSync Api */ export declare class Api extends pulumi.CustomResource { /** * Get an existing Api 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): Api; /** * Returns true if the given object is an instance of Api. 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 Api; /** * The Amazon Resource Name (ARN) of the AppSync Api */ readonly apiArn: pulumi.Output; /** * The unique identifier for the AppSync Api generated by the service */ readonly apiId: pulumi.Output; readonly dns: pulumi.Output; /** * Describes the authorization configuration for connections, message publishing, message subscriptions, and logging for an Event API. */ readonly eventConfig: pulumi.Output; /** * The name of the `Api` . */ readonly name: pulumi.Output; /** * The owner contact information for an API resource. * * This field accepts any string input with a length of 0 - 256 characters. */ readonly ownerContact: pulumi.Output; /** * A set of tags (key-value pairs) for this API. */ readonly tags: pulumi.Output; /** * Create a Api 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?: ApiArgs, opts?: pulumi.CustomResourceOptions); } /** * The set of arguments for constructing a Api resource. */ export interface ApiArgs { /** * Describes the authorization configuration for connections, message publishing, message subscriptions, and logging for an Event API. */ eventConfig?: pulumi.Input; /** * The name of the `Api` . */ name?: pulumi.Input; /** * The owner contact information for an API resource. * * This field accepts any string input with a length of 0 - 256 characters. */ ownerContact?: pulumi.Input; /** * A set of tags (key-value pairs) for this API. */ tags?: pulumi.Input[]>; }