@pulumi/cloudngfwaws
Version:
A Pulumi package for creating and managing Cloud NGFW for AWS resources.
129 lines (128 loc) • 3.58 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
/**
* Data source for retrieving a predefined URL category override.
*
* ## 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 r = new cloudngfwaws.Rulestack("r", {
* name: "my-rulestack",
* scope: "Local",
* accountId: "12345",
* description: "Made by Pulumi",
* profileConfig: {
* antiSpyware: "BestPractice",
* },
* });
* const example = cloudngfwaws.getPredefinedUrlCategoryOverrideOutput({
* rulestack: r.name,
* name: "foobar",
* });
* ```
*/
export declare function getPredefinedUrlCategoryOverride(args: GetPredefinedUrlCategoryOverrideArgs, opts?: pulumi.InvokeOptions): Promise<GetPredefinedUrlCategoryOverrideResult>;
/**
* A collection of arguments for invoking getPredefinedUrlCategoryOverride.
*/
export interface GetPredefinedUrlCategoryOverrideArgs {
/**
* Retrieve either the candidate or running config. Valid values are `candidate` or `running`. Defaults to `candidate`.
*/
configType?: string;
/**
* The name.
*/
name: string;
/**
* The rulestack.
*/
rulestack: string;
}
/**
* A collection of values returned by getPredefinedUrlCategoryOverride.
*/
export interface GetPredefinedUrlCategoryOverrideResult {
/**
* The action to take. Valid values are `none`, `allow`, `alert`, or `block`.
*/
readonly action: string;
/**
* The audit comment.
*/
readonly auditComment: string;
/**
* Retrieve either the candidate or running config. Valid values are `candidate` or `running`. Defaults to `candidate`.
*/
readonly configType?: string;
/**
* The provider-assigned unique ID for this managed resource.
*/
readonly id: string;
/**
* The name.
*/
readonly name: string;
/**
* The rulestack.
*/
readonly rulestack: string;
/**
* Update token.
*/
readonly updateToken: string;
}
/**
* Data source for retrieving a predefined URL category override.
*
* ## 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 r = new cloudngfwaws.Rulestack("r", {
* name: "my-rulestack",
* scope: "Local",
* accountId: "12345",
* description: "Made by Pulumi",
* profileConfig: {
* antiSpyware: "BestPractice",
* },
* });
* const example = cloudngfwaws.getPredefinedUrlCategoryOverrideOutput({
* rulestack: r.name,
* name: "foobar",
* });
* ```
*/
export declare function getPredefinedUrlCategoryOverrideOutput(args: GetPredefinedUrlCategoryOverrideOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetPredefinedUrlCategoryOverrideResult>;
/**
* A collection of arguments for invoking getPredefinedUrlCategoryOverride.
*/
export interface GetPredefinedUrlCategoryOverrideOutputArgs {
/**
* Retrieve either the candidate or running config. Valid values are `candidate` or `running`. Defaults to `candidate`.
*/
configType?: pulumi.Input<string>;
/**
* The name.
*/
name: pulumi.Input<string>;
/**
* The rulestack.
*/
rulestack: pulumi.Input<string>;
}