@pulumi/fastly
Version:
A Pulumi package for creating and managing fastly cloud resources.. Based on terraform-provider-fastly: version v4
108 lines (107 loc) • 3.83 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
/**
* Provides a Fastly Next-Gen WAF Account Signal.\
* Account-level signals apply across one or more workspaces and are useful for defining shared or global WAF logic.
*
* ## Example Usage
*
* Basic usage:
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as fastly from "@pulumi/fastly";
*
* const example = new fastly.NgwafAccountSignal("example", {
* appliesTos: ["*"],
* description: "example",
* name: "Test Name",
* });
* ```
*
* ## Import
*
* Fastly Next-Gen WAF account signals can be imported using just the signal ID, e.g.:
*
* ```sh
* $ pulumi import fastly:index/ngwafAccountSignal:NgwafAccountSignal demo <signalID>
* ```
*/
export declare class NgwafAccountSignal extends pulumi.CustomResource {
/**
* Get an existing NgwafAccountSignal 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?: NgwafAccountSignalState, opts?: pulumi.CustomResourceOptions): NgwafAccountSignal;
/**
* Returns true if the given object is an instance of NgwafAccountSignal. 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 NgwafAccountSignal;
/**
* The list of workspace IDs this signal applies to, or the wildcard `*` if it applies to all workspaces.
*/
readonly appliesTos: pulumi.Output<string[]>;
/**
* The description of the signal.
*/
readonly description: pulumi.Output<string | undefined>;
/**
* The name of the signal. Special characters and periods are not accepted.
*/
readonly name: pulumi.Output<string>;
/**
* The generated reference ID of the signal.
*/
readonly referenceId: pulumi.Output<string>;
/**
* Create a NgwafAccountSignal 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: NgwafAccountSignalArgs, opts?: pulumi.CustomResourceOptions);
}
/**
* Input properties used for looking up and filtering NgwafAccountSignal resources.
*/
export interface NgwafAccountSignalState {
/**
* The list of workspace IDs this signal applies to, or the wildcard `*` if it applies to all workspaces.
*/
appliesTos?: pulumi.Input<pulumi.Input<string>[]>;
/**
* The description of the signal.
*/
description?: pulumi.Input<string>;
/**
* The name of the signal. Special characters and periods are not accepted.
*/
name?: pulumi.Input<string>;
/**
* The generated reference ID of the signal.
*/
referenceId?: pulumi.Input<string>;
}
/**
* The set of arguments for constructing a NgwafAccountSignal resource.
*/
export interface NgwafAccountSignalArgs {
/**
* The list of workspace IDs this signal applies to, or the wildcard `*` if it applies to all workspaces.
*/
appliesTos: pulumi.Input<pulumi.Input<string>[]>;
/**
* The description of the signal.
*/
description?: pulumi.Input<string>;
/**
* The name of the signal. Special characters and periods are not accepted.
*/
name?: pulumi.Input<string>;
}