Class: AWSCDK::ODB::CfnCloudVmCluster::DataCollectionOptionsProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::ODB::CfnCloudVmCluster::DataCollectionOptionsProperty
- Defined in:
- odb/cfn_cloud_vm_cluster.rb
Overview
Information about the data collection options enabled for a VM cluster.
Instance Attribute Summary collapse
-
#is_diagnostics_events_enabled ⇒ Boolean, ...
readonly
Specifies whether diagnostic collection is enabled for the VM cluster.
-
#is_health_monitoring_enabled ⇒ Boolean, ...
readonly
Specifies whether health monitoring is enabled for the VM cluster.
-
#is_incident_logs_enabled ⇒ Boolean, ...
readonly
Specifies whether incident logs are enabled for the VM cluster.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(is_diagnostics_events_enabled: nil, is_health_monitoring_enabled: nil, is_incident_logs_enabled: nil) ⇒ DataCollectionOptionsProperty
constructor
A new instance of DataCollectionOptionsProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(is_diagnostics_events_enabled: nil, is_health_monitoring_enabled: nil, is_incident_logs_enabled: nil) ⇒ DataCollectionOptionsProperty
Returns a new instance of DataCollectionOptionsProperty.
913 914 915 916 917 918 919 920 |
# File 'odb/cfn_cloud_vm_cluster.rb', line 913 def initialize(is_diagnostics_events_enabled: nil, is_health_monitoring_enabled: nil, is_incident_logs_enabled: nil) @is_diagnostics_events_enabled = is_diagnostics_events_enabled Jsii::Type.check_type(@is_diagnostics_events_enabled, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3sicHJpbWl0aXZlIjoiYm9vbGVhbiJ9LHsiZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifV19fQ==")), "isDiagnosticsEventsEnabled") unless @is_diagnostics_events_enabled.nil? @is_health_monitoring_enabled = is_health_monitoring_enabled Jsii::Type.check_type(@is_health_monitoring_enabled, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3sicHJpbWl0aXZlIjoiYm9vbGVhbiJ9LHsiZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifV19fQ==")), "isHealthMonitoringEnabled") unless @is_health_monitoring_enabled.nil? @is_incident_logs_enabled = is_incident_logs_enabled Jsii::Type.check_type(@is_incident_logs_enabled, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3sicHJpbWl0aXZlIjoiYm9vbGVhbiJ9LHsiZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifV19fQ==")), "isIncidentLogsEnabled") unless @is_incident_logs_enabled.nil? end |
Instance Attribute Details
#is_diagnostics_events_enabled ⇒ Boolean, ... (readonly)
Specifies whether diagnostic collection is enabled for the VM cluster.
926 927 928 |
# File 'odb/cfn_cloud_vm_cluster.rb', line 926 def is_diagnostics_events_enabled @is_diagnostics_events_enabled end |
#is_health_monitoring_enabled ⇒ Boolean, ... (readonly)
Specifies whether health monitoring is enabled for the VM cluster.
931 932 933 |
# File 'odb/cfn_cloud_vm_cluster.rb', line 931 def is_health_monitoring_enabled @is_health_monitoring_enabled end |
#is_incident_logs_enabled ⇒ Boolean, ... (readonly)
Specifies whether incident logs are enabled for the VM cluster.
936 937 938 |
# File 'odb/cfn_cloud_vm_cluster.rb', line 936 def is_incident_logs_enabled @is_incident_logs_enabled end |
Class Method Details
.jsii_properties ⇒ Object
938 939 940 941 942 943 944 |
# File 'odb/cfn_cloud_vm_cluster.rb', line 938 def self.jsii_properties { :is_diagnostics_events_enabled => "isDiagnosticsEventsEnabled", :is_health_monitoring_enabled => "isHealthMonitoringEnabled", :is_incident_logs_enabled => "isIncidentLogsEnabled", } end |
Instance Method Details
#to_jsii ⇒ Object
946 947 948 949 950 951 952 953 954 |
# File 'odb/cfn_cloud_vm_cluster.rb', line 946 def to_jsii result = {} result.merge!({ "isDiagnosticsEventsEnabled" => @is_diagnostics_events_enabled, "isHealthMonitoringEnabled" => @is_health_monitoring_enabled, "isIncidentLogsEnabled" => @is_incident_logs_enabled, }) result.compact end |