UNPKG

@pulumi/cloudngfwaws

Version:

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

83 lines (82 loc) 2.57 kB
import * as pulumi from "@pulumi/pulumi"; /** * Data source to validate the rulestack config. * * ## Admin Permission Type * * * `Rulestack` (for `scope="Local"`) * * `Global Rulestack` (for `scope="Global"`) */ export declare function getValidateRulestack(args: GetValidateRulestackArgs, opts?: pulumi.InvokeOptions): Promise<GetValidateRulestackResult>; /** * A collection of arguments for invoking getValidateRulestack. */ export interface GetValidateRulestackArgs { /** * The rulestack. */ rulestack: string; /** * 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?: string; } /** * A collection of values returned by getValidateRulestack. */ export interface GetValidateRulestackResult { /** * Commit error messages. */ readonly commitErrors: string[]; /** * The commit status. */ readonly commitStatus: string; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; /** * The rulestack. */ readonly rulestack: string; /** * 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?: string; /** * The rulestack state. */ readonly state: string; /** * Validation error messages. */ readonly validationErrors: string[]; /** * The validation status. */ readonly validationStatus: string; } /** * Data source to validate the rulestack config. * * ## Admin Permission Type * * * `Rulestack` (for `scope="Local"`) * * `Global Rulestack` (for `scope="Global"`) */ export declare function getValidateRulestackOutput(args: GetValidateRulestackOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetValidateRulestackResult>; /** * A collection of arguments for invoking getValidateRulestack. */ export interface GetValidateRulestackOutputArgs { /** * The rulestack. */ rulestack: pulumi.Input<string>; /** * 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>; }