import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../types/input"; import * as outputs from "../types/output"; /** * Resource for managing an AWS AppSync Source API Association. * * ## Example Usage * * ### Basic Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as aws from "@pulumi/aws"; * * const test = new aws.appsync.SourceApiAssociation("test", { * description: "My source API Merged", * mergedApiId: "gzos6bteufdunffzzifiowisoe", * sourceApiId: "fzzifiowisoegzos6bteufdunf", * }); * ``` * * ## Import * * Using `pulumi import`, import AppSync Source API Association using the `associationId` and `mergedApiId` separated by `,`. For example: * * ```sh * $ pulumi import aws:appsync/sourceApiAssociation:SourceApiAssociation example gzos6bteufdunffzzifiowisoe,243685a0-9347-4a1a-89c1-9b57dea01e31 * ``` */ export declare class SourceApiAssociation extends pulumi.CustomResource { /** * Get an existing SourceApiAssociation 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 state Any extra arguments used during the lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input, state?: SourceApiAssociationState, opts?: pulumi.CustomResourceOptions): SourceApiAssociation; /** * Returns true if the given object is an instance of SourceApiAssociation. 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 SourceApiAssociation; /** * ARN of the Source API Association. */ readonly arn: pulumi.Output; /** * ID of the Source API Association. */ readonly associationId: pulumi.Output; /** * Description of the source API being merged. */ readonly description: pulumi.Output; /** * ARN of the merged API. One of `mergedApiArn` or `mergedApiId` must be specified. */ readonly mergedApiArn: pulumi.Output; /** * ID of the merged API. One of `mergedApiArn` or `mergedApiId` must be specified. */ readonly mergedApiId: pulumi.Output; /** * 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. */ readonly region: pulumi.Output; /** * ARN of the source API. One of `sourceApiArn` or `sourceApiId` must be specified. */ readonly sourceApiArn: pulumi.Output; /** * Source API Association configuration. See `sourceApiAssociationConfig` Block for details. */ readonly sourceApiAssociationConfigs: pulumi.Output; /** * ID of the source API. One of `sourceApiArn` or `sourceApiId` must be specified. */ readonly sourceApiId: pulumi.Output; readonly timeouts: pulumi.Output; /** * Create a SourceApiAssociation 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?: SourceApiAssociationArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering SourceApiAssociation resources. */ export interface SourceApiAssociationState { /** * ARN of the Source API Association. */ arn?: pulumi.Input; /** * ID of the Source API Association. */ associationId?: pulumi.Input; /** * Description of the source API being merged. */ description?: pulumi.Input; /** * ARN of the merged API. One of `mergedApiArn` or `mergedApiId` must be specified. */ mergedApiArn?: pulumi.Input; /** * ID of the merged API. One of `mergedApiArn` or `mergedApiId` must be specified. */ mergedApiId?: pulumi.Input; /** * 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. */ region?: pulumi.Input; /** * ARN of the source API. One of `sourceApiArn` or `sourceApiId` must be specified. */ sourceApiArn?: pulumi.Input; /** * Source API Association configuration. See `sourceApiAssociationConfig` Block for details. */ sourceApiAssociationConfigs?: pulumi.Input[] | undefined>; /** * ID of the source API. One of `sourceApiArn` or `sourceApiId` must be specified. */ sourceApiId?: pulumi.Input; timeouts?: pulumi.Input; } /** * The set of arguments for constructing a SourceApiAssociation resource. */ export interface SourceApiAssociationArgs { /** * Description of the source API being merged. */ description?: pulumi.Input; /** * ARN of the merged API. One of `mergedApiArn` or `mergedApiId` must be specified. */ mergedApiArn?: pulumi.Input; /** * ID of the merged API. One of `mergedApiArn` or `mergedApiId` must be specified. */ mergedApiId?: pulumi.Input; /** * 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. */ region?: pulumi.Input; /** * ARN of the source API. One of `sourceApiArn` or `sourceApiId` must be specified. */ sourceApiArn?: pulumi.Input; /** * Source API Association configuration. See `sourceApiAssociationConfig` Block for details. */ sourceApiAssociationConfigs?: pulumi.Input[] | undefined>; /** * ID of the source API. One of `sourceApiArn` or `sourceApiId` must be specified. */ sourceApiId?: pulumi.Input; timeouts?: pulumi.Input; } //# sourceMappingURL=sourceApiAssociation.d.ts.map