import * as pulumi from "@pulumi/pulumi"; /** * Provides a Datadog App resource for creating and managing Datadog Apps from App Builder using the JSON definition. To easily export an App for use with Terraform, use the export button in the Datadog App Builder UI. This resource requires a registered application key. * * ## Import * * The `pulumi import` command can be used, for example: * * ```sh * $ pulumi import datadog:index/appBuilderApp:AppBuilderApp my_app 11111111-2222-3333-4444-555555555555 * ``` */ export declare class AppBuilderApp extends pulumi.CustomResource { /** * Get an existing AppBuilderApp 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?: AppBuilderAppState, opts?: pulumi.CustomResourceOptions): AppBuilderApp; /** * Returns true if the given object is an instance of AppBuilderApp. 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 AppBuilderApp; /** * If specified, this will override the Action Connection IDs for the specified Action Query Names in the App JSON. Otherwise, a map of the App's Action Query Names to Action Connection IDs will be returned in output. */ readonly actionQueryNamesToConnectionIds: pulumi.Output<{ [key: string]: string; }>; /** * The JSON representation of the App. String length must be at least 1. */ readonly appJson: pulumi.Output; /** * If specified, this will override the human-readable description of the App in the App JSON. String length must be at least 1. */ readonly description: pulumi.Output; /** * If specified, this will override the name of the App in the App JSON. String length must be at least 1. */ readonly name: pulumi.Output; /** * Set the app to published or unpublished. Published apps are available to other users. To ensure the app is accessible to the correct users, you also need to set a [Restriction Policy](https://docs.datadoghq.com/api/latest/restriction-policies/) on the app if a policy does not yet exist. Defaults to `false`. */ readonly published: pulumi.Output; /** * The name of the root component of the app. This must be a grid component that contains all other components. If specified, this will override the root instance name of the App in the App JSON. String length must be at least 1. */ readonly rootInstanceName: pulumi.Output; /** * Create a AppBuilderApp 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: AppBuilderAppArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering AppBuilderApp resources. */ export interface AppBuilderAppState { /** * If specified, this will override the Action Connection IDs for the specified Action Query Names in the App JSON. Otherwise, a map of the App's Action Query Names to Action Connection IDs will be returned in output. */ actionQueryNamesToConnectionIds?: pulumi.Input<{ [key: string]: pulumi.Input; }>; /** * The JSON representation of the App. String length must be at least 1. */ appJson?: pulumi.Input; /** * If specified, this will override the human-readable description of the App in the App JSON. String length must be at least 1. */ description?: pulumi.Input; /** * If specified, this will override the name of the App in the App JSON. String length must be at least 1. */ name?: pulumi.Input; /** * Set the app to published or unpublished. Published apps are available to other users. To ensure the app is accessible to the correct users, you also need to set a [Restriction Policy](https://docs.datadoghq.com/api/latest/restriction-policies/) on the app if a policy does not yet exist. Defaults to `false`. */ published?: pulumi.Input; /** * The name of the root component of the app. This must be a grid component that contains all other components. If specified, this will override the root instance name of the App in the App JSON. String length must be at least 1. */ rootInstanceName?: pulumi.Input; } /** * The set of arguments for constructing a AppBuilderApp resource. */ export interface AppBuilderAppArgs { /** * If specified, this will override the Action Connection IDs for the specified Action Query Names in the App JSON. Otherwise, a map of the App's Action Query Names to Action Connection IDs will be returned in output. */ actionQueryNamesToConnectionIds?: pulumi.Input<{ [key: string]: pulumi.Input; }>; /** * The JSON representation of the App. String length must be at least 1. */ appJson: pulumi.Input; /** * If specified, this will override the human-readable description of the App in the App JSON. String length must be at least 1. */ description?: pulumi.Input; /** * If specified, this will override the name of the App in the App JSON. String length must be at least 1. */ name?: pulumi.Input; /** * Set the app to published or unpublished. Published apps are available to other users. To ensure the app is accessible to the correct users, you also need to set a [Restriction Policy](https://docs.datadoghq.com/api/latest/restriction-policies/) on the app if a policy does not yet exist. Defaults to `false`. */ published?: pulumi.Input; /** * The name of the root component of the app. This must be a grid component that contains all other components. If specified, this will override the root instance name of the App in the App JSON. String length must be at least 1. */ rootInstanceName?: pulumi.Input; }