@pulumi/aws-native
Version:
The Pulumi AWS Cloud Control Provider enables you to build, deploy, and manage [any AWS resource that's supported by the AWS Cloud Control API](https://github.com/pulumi/pulumi-aws-native/blob/master/provider/cmd/pulumi-gen-aws-native/supported-types.txt)
41 lines (40 loc) • 2.01 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as outputs from "../types/output";
/**
* A WAFv2 Logging Configuration Resource Provider
*/
export declare function getLoggingConfiguration(args: GetLoggingConfigurationArgs, opts?: pulumi.InvokeOptions): Promise<GetLoggingConfigurationResult>;
export interface GetLoggingConfigurationArgs {
/**
* The Amazon Resource Name (ARN) of the web ACL that you want to associate with LogDestinationConfigs.
*/
resourceArn: string;
}
export interface GetLoggingConfigurationResult {
/**
* The Amazon Resource Names (ARNs) of the logging destinations that you want to associate with the web ACL.
*/
readonly logDestinationConfigs?: string[];
/**
* Filtering that specifies which web requests are kept in the logs and which are dropped. You can filter on the rule action and on the web request labels that were applied by matching rules during web ACL evaluation.
*/
readonly loggingFilter?: outputs.wafv2.LoggingFilterProperties;
/**
* Indicates whether the logging configuration was created by AWS Firewall Manager, as part of an AWS WAF policy configuration. If true, only Firewall Manager can modify or delete the configuration.
*/
readonly managedByFirewallManager?: boolean;
/**
* The parts of the request that you want to keep out of the logs. For example, if you redact the HEADER field, the HEADER field in the firehose will be xxx.
*/
readonly redactedFields?: outputs.wafv2.LoggingConfigurationFieldToMatch[];
}
/**
* A WAFv2 Logging Configuration Resource Provider
*/
export declare function getLoggingConfigurationOutput(args: GetLoggingConfigurationOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetLoggingConfigurationResult>;
export interface GetLoggingConfigurationOutputArgs {
/**
* The Amazon Resource Name (ARN) of the web ACL that you want to associate with LogDestinationConfigs.
*/
resourceArn: pulumi.Input<string>;
}