UNPKG

@pulumi/cloudngfwaws

Version:

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

102 lines (101 loc) 2.49 kB
import * as pulumi from "@pulumi/pulumi"; import * as outputs from "./types/output"; /** * Data source for retrieving log profile information. * * ## Admin Permission Type * * * `Firewall` * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as cloudngfwaws from "@pulumi/cloudngfwaws"; * * const example = cloudngfwaws.getNgfwLogProfile({ * ngfw: "example-instance", * accountId: "123456789", * }); * ``` */ export declare function getNgfwLogProfile(args: GetNgfwLogProfileArgs, opts?: pulumi.InvokeOptions): Promise<GetNgfwLogProfileResult>; /** * A collection of arguments for invoking getNgfwLogProfile. */ export interface GetNgfwLogProfileArgs { /** * The unique ID of the account. */ accountId: string; /** * The name of the NGFW. */ ngfw: string; } /** * A collection of values returned by getNgfwLogProfile. */ export interface GetNgfwLogProfileResult { /** * The unique ID of the account. */ readonly accountId: string; /** * Enable advanced threat logging. */ readonly advancedThreatLog: boolean; /** * The CloudWatch metric namespace. */ readonly cloudWatchMetricNamespace: string; /** * Cloudwatch metric fields. */ readonly cloudwatchMetricFields: string[]; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; /** * List of log destinations. */ readonly logDestinations: outputs.GetNgfwLogProfileLogDestination[]; /** * The name of the NGFW. */ readonly ngfw: string; } /** * Data source for retrieving log profile information. * * ## Admin Permission Type * * * `Firewall` * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as cloudngfwaws from "@pulumi/cloudngfwaws"; * * const example = cloudngfwaws.getNgfwLogProfile({ * ngfw: "example-instance", * accountId: "123456789", * }); * ``` */ export declare function getNgfwLogProfileOutput(args: GetNgfwLogProfileOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetNgfwLogProfileResult>; /** * A collection of arguments for invoking getNgfwLogProfile. */ export interface GetNgfwLogProfileOutputArgs { /** * The unique ID of the account. */ accountId: pulumi.Input<string>; /** * The name of the NGFW. */ ngfw: pulumi.Input<string>; }