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

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

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-route53/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
}

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)


1050
1051
1052
1053
1054
# File 'gems/aws-sdk-route53/lib/aws-sdk-route53/types.rb', line 1050

class CreateQueryLoggingConfigRequest < Struct.new(
  :hosted_zone_id,
  :cloud_watch_logs_log_group_arn)
  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)


1050
1051
1052
1053
1054
# File 'gems/aws-sdk-route53/lib/aws-sdk-route53/types.rb', line 1050

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