Class: AWSCDK::ApplicationInsights::CfnApplication::NetWeaverPrometheusExporterProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::ApplicationInsights::CfnApplication::NetWeaverPrometheusExporterProperty
- Defined in:
- application_insights/cfn_application.rb
Overview
The NetWeaver Prometheus Exporter Settings.
Instance Attribute Summary collapse
-
#instance_numbers ⇒ Array<String>
readonly
SAP instance numbers for ASCS, ERS, and App Servers.
-
#prometheus_port ⇒ String?
readonly
Prometheus exporter port.
-
#sapsid ⇒ String
readonly
SAP NetWeaver SID.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(instance_numbers:, sapsid:, prometheus_port: nil) ⇒ NetWeaverPrometheusExporterProperty
constructor
A new instance of NetWeaverPrometheusExporterProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(instance_numbers:, sapsid:, prometheus_port: nil) ⇒ NetWeaverPrometheusExporterProperty
Returns a new instance of NetWeaverPrometheusExporterProperty.
1416 1417 1418 1419 1420 1421 1422 1423 |
# File 'application_insights/cfn_application.rb', line 1416 def initialize(instance_numbers:, sapsid:, prometheus_port: nil) @instance_numbers = instance_numbers Jsii::Type.check_type(@instance_numbers, JSON.parse(Base64.strict_decode64("eyJjb2xsZWN0aW9uIjp7ImVsZW1lbnR0eXBlIjp7InByaW1pdGl2ZSI6InN0cmluZyJ9LCJraW5kIjoiYXJyYXkifX0=")), "instanceNumbers") @sapsid = sapsid Jsii::Type.check_type(@sapsid, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "sapsid") @prometheus_port = prometheus_port Jsii::Type.check_type(@prometheus_port, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "prometheusPort") unless @prometheus_port.nil? end |
Instance Attribute Details
#instance_numbers ⇒ Array<String> (readonly)
SAP instance numbers for ASCS, ERS, and App Servers.
1429 1430 1431 |
# File 'application_insights/cfn_application.rb', line 1429 def instance_numbers @instance_numbers end |
#prometheus_port ⇒ String? (readonly)
Prometheus exporter port.
1439 1440 1441 |
# File 'application_insights/cfn_application.rb', line 1439 def prometheus_port @prometheus_port end |
#sapsid ⇒ String (readonly)
SAP NetWeaver SID.
1434 1435 1436 |
# File 'application_insights/cfn_application.rb', line 1434 def sapsid @sapsid end |
Class Method Details
.jsii_properties ⇒ Object
1441 1442 1443 1444 1445 1446 1447 |
# File 'application_insights/cfn_application.rb', line 1441 def self.jsii_properties { :instance_numbers => "instanceNumbers", :sapsid => "sapsid", :prometheus_port => "prometheusPort", } end |
Instance Method Details
#to_jsii ⇒ Object
1449 1450 1451 1452 1453 1454 1455 1456 1457 |
# File 'application_insights/cfn_application.rb', line 1449 def to_jsii result = {} result.merge!({ "instanceNumbers" => @instance_numbers, "sapsid" => @sapsid, "prometheusPort" => @prometheus_port, }) result.compact end |