You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Class: Aws::Route53::Types::CreateQueryLoggingConfigRequest

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing CreateQueryLoggingConfigRequest as input to an Aws::Client method, you can use a vanilla Hash:

{
  hosted_zone_id: "ResourceId", # required
  cloud_watch_logs_log_group_arn: "CloudWatchLogsLogGroupArn", # required
}

Instance Attribute Summary collapse

Instance Attribute Details

#cloud_watch_logs_log_group_arnString

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 AWS SDKs.

Returns:

  • (String)

    The Amazon Resource Name (ARN) for the log group that you want to Amazon Route 53 to send query logs to.

#hosted_zone_idString

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

Returns:

  • (String)

    The ID of the hosted zone that you want to log queries for.