Class: AWSCDK::IoT::CfnMitigationAction::UpdateDeviceCertificateParamsProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::IoT::CfnMitigationAction::UpdateDeviceCertificateParamsProperty
- Defined in:
- io_t/cfn_mitigation_action.rb
Overview
Parameters to define a mitigation action that changes the state of the device certificate to inactive.
Instance Attribute Summary collapse
-
#action ⇒ String
readonly
The action that you want to apply to the device certificate.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(action:) ⇒ UpdateDeviceCertificateParamsProperty
constructor
A new instance of UpdateDeviceCertificateParamsProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(action:) ⇒ UpdateDeviceCertificateParamsProperty
Returns a new instance of UpdateDeviceCertificateParamsProperty.
851 852 853 854 |
# File 'io_t/cfn_mitigation_action.rb', line 851 def initialize(action:) @action = action Jsii::Type.check_type(@action, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "action") end |
Instance Attribute Details
#action ⇒ String (readonly)
The action that you want to apply to the device certificate.
The only supported value is DEACTIVATE .
862 863 864 |
# File 'io_t/cfn_mitigation_action.rb', line 862 def action @action end |
Class Method Details
.jsii_properties ⇒ Object
864 865 866 867 868 |
# File 'io_t/cfn_mitigation_action.rb', line 864 def self.jsii_properties { :action => "action", } end |
Instance Method Details
#to_jsii ⇒ Object
870 871 872 873 874 875 876 |
# File 'io_t/cfn_mitigation_action.rb', line 870 def to_jsii result = {} result.merge!({ "action" => @action, }) result.compact end |