Class: AWSCDK::EMRServerless::CfnApplication::PrometheusMonitoringConfigurationProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::EMRServerless::CfnApplication::PrometheusMonitoringConfigurationProperty
- Defined in:
- emr_serverless/cfn_application.rb
Overview
The monitoring configuration object you can configure to send metrics to Amazon Managed Service for Prometheus for a job run.
Instance Attribute Summary collapse
-
#remote_write_url ⇒ String?
readonly
The remote write URL in the Amazon Managed Service for Prometheus workspace to send metrics to.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(remote_write_url: nil) ⇒ PrometheusMonitoringConfigurationProperty
constructor
A new instance of PrometheusMonitoringConfigurationProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(remote_write_url: nil) ⇒ PrometheusMonitoringConfigurationProperty
Returns a new instance of PrometheusMonitoringConfigurationProperty.
1439 1440 1441 1442 |
# File 'emr_serverless/cfn_application.rb', line 1439 def initialize(remote_write_url: nil) @remote_write_url = remote_write_url Jsii::Type.check_type(@remote_write_url, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "remoteWriteUrl") unless @remote_write_url.nil? end |
Instance Attribute Details
#remote_write_url ⇒ String? (readonly)
The remote write URL in the Amazon Managed Service for Prometheus workspace to send metrics to.
1448 1449 1450 |
# File 'emr_serverless/cfn_application.rb', line 1448 def remote_write_url @remote_write_url end |
Class Method Details
.jsii_properties ⇒ Object
1450 1451 1452 1453 1454 |
# File 'emr_serverless/cfn_application.rb', line 1450 def self.jsii_properties { :remote_write_url => "remoteWriteUrl", } end |
Instance Method Details
#to_jsii ⇒ Object
1456 1457 1458 1459 1460 1461 1462 |
# File 'emr_serverless/cfn_application.rb', line 1456 def to_jsii result = {} result.merge!({ "remoteWriteUrl" => @remote_write_url, }) result.compact end |