Class: AWSCDK::IoT::CfnMitigationAction::UpdateCACertificateParamsProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::IoT::CfnMitigationAction::UpdateCACertificateParamsProperty
- Defined in:
- io_t/cfn_mitigation_action.rb
Overview
Parameters to define a mitigation action that changes the state of the CA certificate to inactive.
Instance Attribute Summary collapse
-
#action ⇒ String
readonly
The action that you want to apply to the CA certificate.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(action:) ⇒ UpdateCACertificateParamsProperty
constructor
A new instance of UpdateCACertificateParamsProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(action:) ⇒ UpdateCACertificateParamsProperty
Returns a new instance of UpdateCACertificateParamsProperty.
816 817 818 819 |
# File 'io_t/cfn_mitigation_action.rb', line 816 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 CA certificate.
The only supported value is DEACTIVATE .
827 828 829 |
# File 'io_t/cfn_mitigation_action.rb', line 827 def action @action end |
Class Method Details
.jsii_properties ⇒ Object
829 830 831 832 833 |
# File 'io_t/cfn_mitigation_action.rb', line 829 def self.jsii_properties { :action => "action", } end |
Instance Method Details
#to_jsii ⇒ Object
835 836 837 838 839 840 841 |
# File 'io_t/cfn_mitigation_action.rb', line 835 def to_jsii result = {} result.merge!({ "action" => @action, }) result.compact end |