Class: AWSCDK::CloudFront::CfnRealtimeLogConfig::KinesisStreamConfigProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::CloudFront::CfnRealtimeLogConfig::KinesisStreamConfigProperty
- Defined in:
- cloud_front/cfn_realtime_log_config.rb
Overview
Contains information about the Amazon Kinesis data stream where you are sending real-time log data.
Instance Attribute Summary collapse
-
#role_arn ⇒ String
readonly
The Amazon Resource Name (ARN) of an AWS Identity and Access Management (IAM) role that CloudFront can use to send real-time log data to your Kinesis data stream.
-
#stream_arn ⇒ String
readonly
The Amazon Resource Name (ARN) of the Kinesis data stream where you are sending real-time log data.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(role_arn:, stream_arn:) ⇒ KinesisStreamConfigProperty
constructor
A new instance of KinesisStreamConfigProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(role_arn:, stream_arn:) ⇒ KinesisStreamConfigProperty
Returns a new instance of KinesisStreamConfigProperty.
594 595 596 597 598 599 |
# File 'cloud_front/cfn_realtime_log_config.rb', line 594 def initialize(role_arn:, stream_arn:) @role_arn = role_arn Jsii::Type.check_type(@role_arn, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "roleArn") @stream_arn = stream_arn Jsii::Type.check_type(@stream_arn, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "streamArn") end |
Instance Attribute Details
#role_arn ⇒ String (readonly)
The Amazon Resource Name (ARN) of an AWS Identity and Access Management (IAM) role that CloudFront can use to send real-time log data to your Kinesis data stream.
For more information the IAM role, see Real-time log configuration IAM role in the Amazon CloudFront Developer Guide .
607 608 609 |
# File 'cloud_front/cfn_realtime_log_config.rb', line 607 def role_arn @role_arn end |
#stream_arn ⇒ String (readonly)
The Amazon Resource Name (ARN) of the Kinesis data stream where you are sending real-time log data.
612 613 614 |
# File 'cloud_front/cfn_realtime_log_config.rb', line 612 def stream_arn @stream_arn end |
Class Method Details
.jsii_properties ⇒ Object
614 615 616 617 618 619 |
# File 'cloud_front/cfn_realtime_log_config.rb', line 614 def self.jsii_properties { :role_arn => "roleArn", :stream_arn => "streamArn", } end |
Instance Method Details
#to_jsii ⇒ Object
621 622 623 624 625 626 627 628 |
# File 'cloud_front/cfn_realtime_log_config.rb', line 621 def to_jsii result = {} result.merge!({ "roleArn" => @role_arn, "streamArn" => @stream_arn, }) result.compact end |