Class: AWSCDK::Sagemaker::CfnInferenceComponent::AutoRollbackConfigurationProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::Sagemaker::CfnInferenceComponent::AutoRollbackConfigurationProperty
- Defined in:
- sagemaker/cfn_inference_component.rb
Overview
Instance Attribute Summary collapse
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(alarms:) ⇒ AutoRollbackConfigurationProperty
constructor
A new instance of AutoRollbackConfigurationProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(alarms:) ⇒ AutoRollbackConfigurationProperty
Returns a new instance of AutoRollbackConfigurationProperty.
698 699 700 701 |
# File 'sagemaker/cfn_inference_component.rb', line 698 def initialize(alarms:) @alarms = alarms Jsii::Type.check_type(@alarms, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImNvbGxlY3Rpb24iOnsiZWxlbWVudHR5cGUiOnsidW5pb24iOnsidHlwZXMiOlt7ImZxbiI6ImF3cy1jZGstbGliLklSZXNvbHZhYmxlIn0seyJmcW4iOiJhd3MtY2RrLWxpYi5hd3Nfc2FnZW1ha2VyLkNmbkluZmVyZW5jZUNvbXBvbmVudC5BbGFybVByb3BlcnR5In1dfX0sImtpbmQiOiJhcnJheSJ9fV19fQ==")), "alarms") end |
Instance Attribute Details
#alarms ⇒ AWSCDK::IResolvable, Array<AWSCDK::IResolvable, AWSCDK::Sagemaker::CfnInferenceComponent::AlarmProperty> (readonly)
705 706 707 |
# File 'sagemaker/cfn_inference_component.rb', line 705 def alarms @alarms end |
Class Method Details
.jsii_properties ⇒ Object
707 708 709 710 711 |
# File 'sagemaker/cfn_inference_component.rb', line 707 def self.jsii_properties { :alarms => "alarms", } end |
Instance Method Details
#to_jsii ⇒ Object
713 714 715 716 717 718 719 |
# File 'sagemaker/cfn_inference_component.rb', line 713 def to_jsii result = {} result.merge!({ "alarms" => @alarms, }) result.compact end |