@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)
72 lines (71 loc) • 3.82 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as inputs from "../types/input";
import * as outputs from "../types/output";
/**
* A WAFv2 Logging Configuration Resource Provider
*/
export declare class LoggingConfiguration extends pulumi.CustomResource {
/**
* Get an existing LoggingConfiguration 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 opts Optional settings to control the behavior of the CustomResource.
*/
static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): LoggingConfiguration;
/**
* Returns true if the given object is an instance of LoggingConfiguration. 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 LoggingConfiguration;
/**
* The Amazon Resource Names (ARNs) of the logging destinations that you want to associate with the web ACL.
*/
readonly logDestinationConfigs: pulumi.Output<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: pulumi.Output<outputs.wafv2.LoggingFilterProperties | undefined>;
/**
* 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: pulumi.Output<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: pulumi.Output<outputs.wafv2.LoggingConfigurationFieldToMatch[] | undefined>;
/**
* The Amazon Resource Name (ARN) of the web ACL that you want to associate with LogDestinationConfigs.
*/
readonly resourceArn: pulumi.Output<string>;
/**
* Create a LoggingConfiguration 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: LoggingConfigurationArgs, opts?: pulumi.CustomResourceOptions);
}
/**
* The set of arguments for constructing a LoggingConfiguration resource.
*/
export interface LoggingConfigurationArgs {
/**
* The Amazon Resource Names (ARNs) of the logging destinations that you want to associate with the web ACL.
*/
logDestinationConfigs: pulumi.Input<pulumi.Input<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.
*/
loggingFilter?: pulumi.Input<inputs.wafv2.LoggingFilterPropertiesArgs>;
/**
* 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.
*/
redactedFields?: pulumi.Input<pulumi.Input<inputs.wafv2.LoggingConfigurationFieldToMatchArgs>[]>;
/**
* The Amazon Resource Name (ARN) of the web ACL that you want to associate with LogDestinationConfigs.
*/
resourceArn: pulumi.Input<string>;
}