UNPKG

@pulumi/fastly

Version:

A Pulumi package for creating and managing fastly cloud resources.. Based on terraform-provider-fastly: version v4

70 lines (69 loc) 2.14 kB
import * as pulumi from "@pulumi/pulumi"; import * as outputs from "./types/output"; /** * Use this data source to get a Fastly Next-Gen WAF Alert Slack integration. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as fastly from "@pulumi/fastly"; * * const ngwafSlackAlerts = fastly.getNgwafAlertSlackIntegration({ * workspaceId: example.id, * }); * export const ngwafSlackAlertsAll = ngwafSlackAlerts; * ``` */ export declare function getNgwafAlertSlackIntegration(args: GetNgwafAlertSlackIntegrationArgs, opts?: pulumi.InvokeOptions): Promise<GetNgwafAlertSlackIntegrationResult>; /** * A collection of arguments for invoking getNgwafAlertSlackIntegration. */ export interface GetNgwafAlertSlackIntegrationArgs { /** * The ID of the workspace. */ workspaceId: string; } /** * A collection of values returned by getNgwafAlertSlackIntegration. */ export interface GetNgwafAlertSlackIntegrationResult { /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; /** * List of all Slack alerts for a workspace. */ readonly slackAlerts: outputs.GetNgwafAlertSlackIntegrationSlackAlert[]; /** * The ID of the workspace. */ readonly workspaceId: string; } /** * Use this data source to get a Fastly Next-Gen WAF Alert Slack integration. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as fastly from "@pulumi/fastly"; * * const ngwafSlackAlerts = fastly.getNgwafAlertSlackIntegration({ * workspaceId: example.id, * }); * export const ngwafSlackAlertsAll = ngwafSlackAlerts; * ``` */ export declare function getNgwafAlertSlackIntegrationOutput(args: GetNgwafAlertSlackIntegrationOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetNgwafAlertSlackIntegrationResult>; /** * A collection of arguments for invoking getNgwafAlertSlackIntegration. */ export interface GetNgwafAlertSlackIntegrationOutputArgs { /** * The ID of the workspace. */ workspaceId: pulumi.Input<string>; }