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

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-route53/types.rb

Overview

Constant Summary collapse

SENSITIVE =
[]

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 Amazon Web Services SDKs.

[1]: docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_DescribeLogGroups.html [2]: docs.aws.amazon.com/cli/latest/reference/logs/describe-log-groups.html

Returns:

  • (String)


1517
1518
1519
1520
1521
1522
# File 'lib/aws-sdk-route53/types.rb', line 1517

class CreateQueryLoggingConfigRequest < Struct.new(
  :hosted_zone_id,
  :cloud_watch_logs_log_group_arn)
  SENSITIVE = []
  include Aws::Structure
end

#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)


1517
1518
1519
1520
1521
1522
# File 'lib/aws-sdk-route53/types.rb', line 1517

class CreateQueryLoggingConfigRequest < Struct.new(
  :hosted_zone_id,
  :cloud_watch_logs_log_group_arn)
  SENSITIVE = []
  include Aws::Structure
end