Class: AWSCDK::EMRContainers::CfnEndpoint::CloudWatchMonitoringConfigurationProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::EMRContainers::CfnEndpoint::CloudWatchMonitoringConfigurationProperty
- Defined in:
- emr_containers/cfn_endpoint.rb
Overview
Instance Attribute Summary collapse
- #log_group_name ⇒ String readonly
- #log_stream_name_prefix ⇒ String? readonly
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(log_group_name:, log_stream_name_prefix: nil) ⇒ CloudWatchMonitoringConfigurationProperty
constructor
A new instance of CloudWatchMonitoringConfigurationProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(log_group_name:, log_stream_name_prefix: nil) ⇒ CloudWatchMonitoringConfigurationProperty
Returns a new instance of CloudWatchMonitoringConfigurationProperty.
692 693 694 695 696 697 |
# File 'emr_containers/cfn_endpoint.rb', line 692 def initialize(log_group_name:, log_stream_name_prefix: nil) @log_group_name = log_group_name Jsii::Type.check_type(@log_group_name, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "logGroupName") @log_stream_name_prefix = log_stream_name_prefix Jsii::Type.check_type(@log_stream_name_prefix, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "logStreamNamePrefix") unless @log_stream_name_prefix.nil? end |
Instance Attribute Details
#log_group_name ⇒ String (readonly)
701 702 703 |
# File 'emr_containers/cfn_endpoint.rb', line 701 def log_group_name @log_group_name end |
#log_stream_name_prefix ⇒ String? (readonly)
704 705 706 |
# File 'emr_containers/cfn_endpoint.rb', line 704 def log_stream_name_prefix @log_stream_name_prefix end |
Class Method Details
.jsii_properties ⇒ Object
706 707 708 709 710 711 |
# File 'emr_containers/cfn_endpoint.rb', line 706 def self.jsii_properties { :log_group_name => "logGroupName", :log_stream_name_prefix => "logStreamNamePrefix", } end |
Instance Method Details
#to_jsii ⇒ Object
713 714 715 716 717 718 719 720 |
# File 'emr_containers/cfn_endpoint.rb', line 713 def to_jsii result = {} result.merge!({ "logGroupName" => @log_group_name, "logStreamNamePrefix" => @log_stream_name_prefix, }) result.compact end |