@pulumi/fastly
Version:
A Pulumi package for creating and managing fastly cloud resources.. Based on terraform-provider-fastly: version v4
112 lines (111 loc) • 3.59 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
/**
* Provides Fastly Next-Gen WAF Alert Datadog integrations, which provide a connection to Datadog.
*
* ## Example Usage
*
* Basic usage:
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as fastly from "@pulumi/fastly";
*
* const demoDatadogAlert = new fastly.NgwafAlertDatadogIntegration("demo_datadog_alert", {
* description: "Some Description",
* key: "123456789",
* site: "us1",
* workspaceId: demo.id,
* });
* ```
*
* ## Import
*
* Fastly Next-Gen WAF Alert Datadog integrations can be imported using their ID and the ID of the workspace they belong to.
*
* ```sh
* $ pulumi import fastly:index/ngwafAlertDatadogIntegration:NgwafAlertDatadogIntegration example <workspace_id>/<alert_id>
* ```
*/
export declare class NgwafAlertDatadogIntegration extends pulumi.CustomResource {
/**
* Get an existing NgwafAlertDatadogIntegration 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?: NgwafAlertDatadogIntegrationState, opts?: pulumi.CustomResourceOptions): NgwafAlertDatadogIntegration;
/**
* Returns true if the given object is an instance of NgwafAlertDatadogIntegration. 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 NgwafAlertDatadogIntegration;
/**
* The description of the alert.
*/
readonly description: pulumi.Output<string | undefined>;
/**
* The Datadog key.
*/
readonly key: pulumi.Output<string>;
/**
* The Datadog site.
*/
readonly site: pulumi.Output<string>;
/**
* The ID of the workspace.
*/
readonly workspaceId: pulumi.Output<string>;
/**
* Create a NgwafAlertDatadogIntegration 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: NgwafAlertDatadogIntegrationArgs, opts?: pulumi.CustomResourceOptions);
}
/**
* Input properties used for looking up and filtering NgwafAlertDatadogIntegration resources.
*/
export interface NgwafAlertDatadogIntegrationState {
/**
* The description of the alert.
*/
description?: pulumi.Input<string>;
/**
* The Datadog key.
*/
key?: pulumi.Input<string>;
/**
* The Datadog site.
*/
site?: pulumi.Input<string>;
/**
* The ID of the workspace.
*/
workspaceId?: pulumi.Input<string>;
}
/**
* The set of arguments for constructing a NgwafAlertDatadogIntegration resource.
*/
export interface NgwafAlertDatadogIntegrationArgs {
/**
* The description of the alert.
*/
description?: pulumi.Input<string>;
/**
* The Datadog key.
*/
key: pulumi.Input<string>;
/**
* The Datadog site.
*/
site: pulumi.Input<string>;
/**
* The ID of the workspace.
*/
workspaceId: pulumi.Input<string>;
}