route53_create_query_logging_config: Creates a configuration for DNS query logging

View source: R/route53_operations.R

route53_create_query_logging_configR Documentation

Creates a configuration for DNS query logging

Description

Creates a configuration for DNS query logging. After you create a query logging configuration, Amazon Route 53 begins to publish log data to an Amazon CloudWatch Logs log group.

See https://www.paws-r-sdk.com/docs/route53_create_query_logging_config/ for full documentation.

Usage

route53_create_query_logging_config(HostedZoneId, CloudWatchLogsLogGroupArn)

Arguments

HostedZoneId

[required] The ID of the hosted zone that you want to log queries for. You can log queries only for public hosted zones.

CloudWatchLogsLogGroupArn

[required] The Amazon Resource Name (ARN) for the log group that you want to Amazon Route 53 to send query logs to. This is the format of the ARN:

arn:aws:logs:region:account-id:log-group:log_group_name

To get the ARN for a log group, you can use the CloudWatch console, the DescribeLogGroups API action, the describe-log-groups command, or the applicable command in one of the Amazon Web Services SDKs.


paws.networking documentation built on Sept. 12, 2024, 7:32 a.m.