Class: AWSCDK::Interfaces::AWSCloudfront::RealtimeLogConfigReference

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
interfaces/aws_cloudfront/realtime_log_config_reference.rb

Overview

A reference to a RealtimeLogConfig resource.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(realtime_log_config_arn:) ⇒ RealtimeLogConfigReference

Returns a new instance of RealtimeLogConfigReference.

Parameters:

  • realtime_log_config_arn (String)

    The Arn of the RealtimeLogConfig resource.



8
9
10
11
# File 'interfaces/aws_cloudfront/realtime_log_config_reference.rb', line 8

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

Instance Attribute Details

#realtime_log_config_arnString (readonly)

The Arn of the RealtimeLogConfig resource.

Returns:

  • (String)


16
17
18
# File 'interfaces/aws_cloudfront/realtime_log_config_reference.rb', line 16

def realtime_log_config_arn
  @realtime_log_config_arn
end

Class Method Details

.jsii_propertiesObject



18
19
20
21
22
# File 'interfaces/aws_cloudfront/realtime_log_config_reference.rb', line 18

def self.jsii_properties
  {
    :realtime_log_config_arn => "realtimeLogConfigArn",
  }
end

Instance Method Details

#to_jsiiObject



24
25
26
27
28
29
30
# File 'interfaces/aws_cloudfront/realtime_log_config_reference.rb', line 24

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