Class: AWSCDK::Sagemaker::CfnCluster::AlarmDetailsProperty

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
sagemaker/cfn_cluster.rb

Overview

The details of the alarm to monitor during the AMI update.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(alarm_name:) ⇒ AlarmDetailsProperty

Returns a new instance of AlarmDetailsProperty.

Parameters:

  • alarm_name (String)

    The name of the alarm.



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_nameString (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_propertiesObject



702
703
704
705
706
# File 'sagemaker/cfn_cluster.rb', line 702

def self.jsii_properties
  {
    :alarm_name => "alarmName",
  }
end

Instance Method Details

#to_jsiiObject



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