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

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

Overview

Note:

When making an API call, you may pass CreateQueryLoggingConfigRequest data as a hash:

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

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

1439
1440
1441
1442
1443
1444
# File 'lib/aws-sdk-route53/types.rb', line 1439

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)

1439
1440
1441
1442
1443
1444
# File 'lib/aws-sdk-route53/types.rb', line 1439

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