CmdID

CmdID / aws / aws waf-regional

aws waf-regional put-logging-configuration

This is AWS WAF Classic documentation. AWS CLI reference

1 example 1 option Its page in the AWS CLI reference

Opens CmdID with your command. It is read in your browser and sent nowhere.

Examples

from aws-cli, each command read by CmdID

To create a logging configuration for the web ACL ARN with the specified Kinesis Firehose stream ARN

The following put-logging-configuration example displays logging configuration for WAF with ALB/APIGateway in Region us-west-2.

aws waf-regional put-logging-configuration --logging-configuration ResourceArn=arn:aws:waf-regional:us-west-2:123456789012:webacl/a1b2c3d4-5678-90ab-cdef-EXAMPLE11111,LogDestinationConfigs=arn:aws:firehose:us-west-2:123456789012:deliverystream/aws-waf-logs-firehose-stream,RedactedFields=[]Identify
--logging-configurationThe Amazon Kinesis Data Firehose that contains the inspected traffic information, the redacted fields details, and the Amazon Resource Name (ARN) of the web ACL to monitor.
Its output
{
    "LoggingConfiguration": {
        "ResourceArn": "arn:aws:waf-regional:us-west-2:123456789012:webacl/a1b2c3d4-5678-90ab-cdef-EXAMPLE11111",
        "LogDestinationConfigs": [
            "arn:aws:firehose:us-west-2:123456789012:deliverystream/aws-waf-logs-firehose-stream"
        ]
    }
}

For more information, see Logging Web ACL traffic information in the AWS WAF, AWS Firewall Manager, and AWS Shield Advanced Developer Guide.

Options

1 in the AWS CLI reference
--logging-configurationThe Amazon Kinesis Data Firehose that contains the inspected traffic information, the redacted fields details, and the Amazon Resource Name (ARN) of the web ACL to monitor.