import * as pulumi from "@pulumi/pulumi";
import * as inputs from "./types/input";
import * as outputs from "./types/output";
/**
 * A connection that can be used in Actions, including in the Workflow Automation and App Builder products. This resource requires a registered application key.
 *
 * ## Example Usage
 *
 * ```typescript
 * import * as pulumi from "@pulumi/pulumi";
 * import * as datadog from "@pulumi/datadog";
 *
 * const awsConnection = new datadog.ActionConnection("aws_connection", {
 *     name: "My AWS Connection",
 *     aws: [{
 *         assumeRole: [{
 *             accountId: "123456789012",
 *             role: "role2",
 *         }],
 *     }],
 * });
 * const config = new pulumi.Config();
 * const token1 = config.require("token1");
 * const token2 = config.require("token2");
 * const httpConnection = new datadog.ActionConnection("http_connection", {
 *     name: "My HTTP connection with token auth",
 *     http: [{
 *         baseUrl: "https://catfact.ninja",
 *         tokenAuth: [{
 *             tokens: [
 *                 {
 *                     type: "SECRET",
 *                     name: "token1",
 *                     value: token1,
 *                 },
 *                 {
 *                     type: "SECRET",
 *                     name: "token2",
 *                     value: token2,
 *                 },
 *             ],
 *             headers: [
 *                 {
 *                     name: "header-one",
 *                     value: "headerval",
 *                 },
 *                 {
 *                     name: "h2",
 *                     value: "{{ token1 }} test",
 *                 },
 *             ],
 *             urlParameters: [
 *                 {
 *                     name: "param1",
 *                     value: "{{ token1 }}",
 *                 },
 *                 {
 *                     name: "param2",
 *                     value: "paramVal2",
 *                 },
 *             ],
 *             body: [{
 *                 contentType: "application/json",
 *                 content: JSON.stringify({
 *                     key: "mykey",
 *                     value: "maybe with a secret: {{ token2 }}",
 *                 }),
 *             }],
 *         }],
 *     }],
 * });
 * ```
 *
 * ## Import
 *
 * The `pulumi import` command can be used, for example:
 *
 * ```sh
 * $ pulumi import datadog:index/actionConnection:ActionConnection my_connection 11111111-2222-3333-4444-555555555555
 * ```
 */
export declare class ActionConnection extends pulumi.CustomResource {
    /**
     * Get an existing ActionConnection 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<pulumi.ID>, state?: ActionConnectionState, opts?: pulumi.CustomResourceOptions): ActionConnection;
    /**
     * Returns true if the given object is an instance of ActionConnection.  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 ActionConnection;
    /**
     * Configuration for an AWS connection
     */
    readonly aws: pulumi.Output<outputs.ActionConnectionAws | undefined>;
    /**
     * Configuration for an HTTP connection
     */
    readonly http: pulumi.Output<outputs.ActionConnectionHttp | undefined>;
    /**
     * Name of the connection
     */
    readonly name: pulumi.Output<string>;
    /**
     * Create a ActionConnection 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: ActionConnectionArgs, opts?: pulumi.CustomResourceOptions);
}
/**
 * Input properties used for looking up and filtering ActionConnection resources.
 */
export interface ActionConnectionState {
    /**
     * Configuration for an AWS connection
     */
    aws?: pulumi.Input<inputs.ActionConnectionAws | undefined>;
    /**
     * Configuration for an HTTP connection
     */
    http?: pulumi.Input<inputs.ActionConnectionHttp | undefined>;
    /**
     * Name of the connection
     */
    name?: pulumi.Input<string | undefined>;
}
/**
 * The set of arguments for constructing a ActionConnection resource.
 */
export interface ActionConnectionArgs {
    /**
     * Configuration for an AWS connection
     */
    aws?: pulumi.Input<inputs.ActionConnectionAws | undefined>;
    /**
     * Configuration for an HTTP connection
     */
    http?: pulumi.Input<inputs.ActionConnectionHttp | undefined>;
    /**
     * Name of the connection
     */
    name: pulumi.Input<string>;
}
//# sourceMappingURL=actionConnection.d.ts.map