Class: AWSCDK::Sagemaker::CfnCluster::AlarmDetailsProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::Sagemaker::CfnCluster::AlarmDetailsProperty
- Defined in:
- sagemaker/cfn_cluster.rb
Overview
The details of the alarm to monitor during the AMI update.
Instance Attribute Summary collapse
-
#alarm_name ⇒ String
readonly
The name of the alarm.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(alarm_name:) ⇒ AlarmDetailsProperty
constructor
A new instance of AlarmDetailsProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(alarm_name:) ⇒ AlarmDetailsProperty
Returns a new instance of AlarmDetailsProperty.
691 692 693 694 |
# File 'sagemaker/cfn_cluster.rb', line 691 def initialize(alarm_name:) @alarm_name = alarm_name Jsii::Type.check_type(@alarm_name, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "alarmName") end |
Instance Attribute Details
#alarm_name ⇒ String (readonly)
The name of the alarm.
700 701 702 |
# File 'sagemaker/cfn_cluster.rb', line 700 def alarm_name @alarm_name end |
Class Method Details
.jsii_properties ⇒ Object
702 703 704 705 706 |
# File 'sagemaker/cfn_cluster.rb', line 702 def self.jsii_properties { :alarm_name => "alarmName", } end |
Instance Method Details
#to_jsii ⇒ Object
708 709 710 711 712 713 714 |
# File 'sagemaker/cfn_cluster.rb', line 708 def to_jsii result = {} result.merge!({ "alarmName" => @alarm_name, }) result.compact end |