Class: AWSCDK::Route53::CfnHostedZone::QueryLoggingConfigProperty

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
route53/cfn_hosted_zone.rb

Overview

A complex type that contains information about a configuration for DNS query logging.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(cloud_watch_logs_log_group_arn:) ⇒ QueryLoggingConfigProperty

Returns a new instance of QueryLoggingConfigProperty.

Parameters:

  • cloud_watch_logs_log_group_arn (String)

    The Amazon Resource Name (ARN) of the CloudWatch Logs log group that Amazon Route 53 is publishing logs to.



737
738
739
740
# File 'route53/cfn_hosted_zone.rb', line 737

def initialize(cloud_watch_logs_log_group_arn:)
  @cloud_watch_logs_log_group_arn = cloud_watch_logs_log_group_arn
  Jsii::Type.check_type(@cloud_watch_logs_log_group_arn, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "cloudWatchLogsLogGroupArn")
end

Instance Attribute Details

#cloud_watch_logs_log_group_arnString (readonly)

The Amazon Resource Name (ARN) of the CloudWatch Logs log group that Amazon Route 53 is publishing logs to.



746
747
748
# File 'route53/cfn_hosted_zone.rb', line 746

def cloud_watch_logs_log_group_arn
  @cloud_watch_logs_log_group_arn
end

Class Method Details

.jsii_propertiesObject



748
749
750
751
752
# File 'route53/cfn_hosted_zone.rb', line 748

def self.jsii_properties
  {
    :cloud_watch_logs_log_group_arn => "cloudWatchLogsLogGroupArn",
  }
end

Instance Method Details

#to_jsiiObject



754
755
756
757
758
759
760
# File 'route53/cfn_hosted_zone.rb', line 754

def to_jsii
  result = {}
  result.merge!({
    "cloudWatchLogsLogGroupArn" => @cloud_watch_logs_log_group_arn,
  })
  result.compact
end