Class: AWSCDK::IoT::CfnMitigationAction::UpdateCACertificateParamsProperty

Inherits:
Jsii::Struct
  • Object
show all
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

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(action:) ⇒ UpdateCACertificateParamsProperty

Returns a new instance of UpdateCACertificateParamsProperty.

Parameters:

  • action (String)

    The action that you want to apply to the CA certificate.



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

#actionString (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_propertiesObject



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_jsiiObject



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