Class: AWSCDK::KinesisAnalyticsv2::CfnApplicationCloudWatchLoggingOption::CloudWatchLoggingOptionProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::KinesisAnalyticsv2::CfnApplicationCloudWatchLoggingOption::CloudWatchLoggingOptionProperty
- Defined in:
- kinesis_analyticsv2/cfn_application_cloud_watch_logging_option.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.
514 515 516 517 |
# File 'kinesis_analyticsv2/cfn_application_cloud_watch_logging_option.rb', line 514 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.
523 524 525 |
# File 'kinesis_analyticsv2/cfn_application_cloud_watch_logging_option.rb', line 523 def log_stream_arn @log_stream_arn end |
Class Method Details
.jsii_properties ⇒ Object
525 526 527 528 529 |
# File 'kinesis_analyticsv2/cfn_application_cloud_watch_logging_option.rb', line 525 def self.jsii_properties { :log_stream_arn => "logStreamArn", } end |
Instance Method Details
#to_jsii ⇒ Object
531 532 533 534 535 536 537 |
# File 'kinesis_analyticsv2/cfn_application_cloud_watch_logging_option.rb', line 531 def to_jsii result = {} result.merge!({ "logStreamArn" => @log_stream_arn, }) result.compact end |