Class: AWSCDK::KinesisAnalytics::CfnApplicationCloudWatchLoggingOptionV2::CloudWatchLoggingOptionProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::KinesisAnalytics::CfnApplicationCloudWatchLoggingOptionV2::CloudWatchLoggingOptionProperty
- Defined in:
- kinesis_analytics/cfn_application_cloud_watch_logging_option_v2.rb
Overview
Provides a description of Amazon CloudWatch logging options, including the log stream Amazon Resource Name (ARN).
Instance Attribute Summary collapse
-
#log_stream_arn ⇒ String
readonly
The ARN of the CloudWatch log to receive application messages.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(log_stream_arn:) ⇒ CloudWatchLoggingOptionProperty
constructor
A new instance of CloudWatchLoggingOptionProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(log_stream_arn:) ⇒ CloudWatchLoggingOptionProperty
Returns a new instance of CloudWatchLoggingOptionProperty.
515 516 517 518 |
# File 'kinesis_analytics/cfn_application_cloud_watch_logging_option_v2.rb', line 515 def initialize(log_stream_arn:) @log_stream_arn = log_stream_arn Jsii::Type.check_type(@log_stream_arn, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "logStreamArn") end |
Instance Attribute Details
#log_stream_arn ⇒ String (readonly)
The ARN of the CloudWatch log to receive application messages.
524 525 526 |
# File 'kinesis_analytics/cfn_application_cloud_watch_logging_option_v2.rb', line 524 def log_stream_arn @log_stream_arn end |
Class Method Details
.jsii_properties ⇒ Object
526 527 528 529 530 |
# File 'kinesis_analytics/cfn_application_cloud_watch_logging_option_v2.rb', line 526 def self.jsii_properties { :log_stream_arn => "logStreamArn", } end |
Instance Method Details
#to_jsii ⇒ Object
532 533 534 535 536 537 538 |
# File 'kinesis_analytics/cfn_application_cloud_watch_logging_option_v2.rb', line 532 def to_jsii result = {} result.merge!({ "logStreamArn" => @log_stream_arn, }) result.compact end |