UNPKG

@pulumi/cloudngfwaws

Version:

A Pulumi package for creating and managing Cloud NGFW for AWS resources.

185 lines (184 loc) 5.54 kB
import * as pulumi from "@pulumi/pulumi"; import * as inputs from "./types/input"; import * as outputs from "./types/output"; /** * Resource for rulestack manipulation. * * ## Admin Permission Type * * * `Rulestack` (for `scope="Local"`) * * `Global Rulestack` (for `scope="Global"`) * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as cloudngfwaws from "@pulumi/cloudngfwaws"; * * const example = new cloudngfwaws.Rulestack("example", { * name: "terraform-rulestack", * scope: "Local", * accountId: "123456789", * description: "Made by Pulumi", * profileConfig: { * antiSpyware: "BestPractice", * }, * }); * ``` * * ## Import * * import name is <scope>:<rulestack> * * ```sh * $ pulumi import cloudngfwaws:index/rulestack:Rulestack example Local:terraform-rulestack * ``` */ export declare class Rulestack extends pulumi.CustomResource { /** * Get an existing Rulestack 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?: RulestackState, opts?: pulumi.CustomResourceOptions): Rulestack; /** * Returns true if the given object is an instance of Rulestack. 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 Rulestack; /** * Account group. */ readonly accountGroup: pulumi.Output<string | undefined>; /** * The account ID. */ readonly accountId: pulumi.Output<string | undefined>; /** * The description. */ readonly description: pulumi.Output<string | undefined>; /** * Lookup x forwarded for. */ readonly lookupXForwardedFor: pulumi.Output<string>; /** * Minimum App-ID version number. */ readonly minimumAppIdVersion: pulumi.Output<string>; /** * The name. */ readonly name: pulumi.Output<string>; readonly profileConfig: pulumi.Output<outputs.RulestackProfileConfig>; /** * The rulestack's scope. A local rulestack will require that you've retrieved a LRA JWT. A global rulestack will require that you've retrieved a GRA JWT. Valid values are `Local` or `Global`. Defaults to `Local`. */ readonly scope: pulumi.Output<string | undefined>; /** * The rulestack state. */ readonly state: pulumi.Output<string>; /** * The tags. */ readonly tags: pulumi.Output<{ [key: string]: string; } | undefined>; /** * Create a Rulestack 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: RulestackArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering Rulestack resources. */ export interface RulestackState { /** * Account group. */ accountGroup?: pulumi.Input<string>; /** * The account ID. */ accountId?: pulumi.Input<string>; /** * The description. */ description?: pulumi.Input<string>; /** * Lookup x forwarded for. */ lookupXForwardedFor?: pulumi.Input<string>; /** * Minimum App-ID version number. */ minimumAppIdVersion?: pulumi.Input<string>; /** * The name. */ name?: pulumi.Input<string>; profileConfig?: pulumi.Input<inputs.RulestackProfileConfig>; /** * The rulestack's scope. A local rulestack will require that you've retrieved a LRA JWT. A global rulestack will require that you've retrieved a GRA JWT. Valid values are `Local` or `Global`. Defaults to `Local`. */ scope?: pulumi.Input<string>; /** * The rulestack state. */ state?: pulumi.Input<string>; /** * The tags. */ tags?: pulumi.Input<{ [key: string]: pulumi.Input<string>; }>; } /** * The set of arguments for constructing a Rulestack resource. */ export interface RulestackArgs { /** * Account group. */ accountGroup?: pulumi.Input<string>; /** * The account ID. */ accountId?: pulumi.Input<string>; /** * The description. */ description?: pulumi.Input<string>; /** * Lookup x forwarded for. */ lookupXForwardedFor?: pulumi.Input<string>; /** * Minimum App-ID version number. */ minimumAppIdVersion?: pulumi.Input<string>; /** * The name. */ name?: pulumi.Input<string>; profileConfig: pulumi.Input<inputs.RulestackProfileConfig>; /** * The rulestack's scope. A local rulestack will require that you've retrieved a LRA JWT. A global rulestack will require that you've retrieved a GRA JWT. Valid values are `Local` or `Global`. Defaults to `Local`. */ scope?: pulumi.Input<string>; /** * The tags. */ tags?: pulumi.Input<{ [key: string]: pulumi.Input<string>; }>; }