Class: AWSCDK::IoT::CfnAccountAuditConfiguration::CertAgeCheckCustomConfigurationProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::IoT::CfnAccountAuditConfiguration::CertAgeCheckCustomConfigurationProperty
- Defined in:
- io_t/cfn_account_audit_configuration.rb
Overview
Configuration structure containing settings for the device certificate age check.
Instance Attribute Summary collapse
-
#cert_age_threshold_in_days ⇒ String?
readonly
The number of days that defines when a device certificate is considered to have aged.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(cert_age_threshold_in_days: nil) ⇒ CertAgeCheckCustomConfigurationProperty
constructor
A new instance of CertAgeCheckCustomConfigurationProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(cert_age_threshold_in_days: nil) ⇒ CertAgeCheckCustomConfigurationProperty
Returns a new instance of CertAgeCheckCustomConfigurationProperty.
859 860 861 862 |
# File 'io_t/cfn_account_audit_configuration.rb', line 859 def initialize(cert_age_threshold_in_days: nil) @cert_age_threshold_in_days = cert_age_threshold_in_days Jsii::Type.check_type(@cert_age_threshold_in_days, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "certAgeThresholdInDays") unless @cert_age_threshold_in_days.nil? end |
Instance Attribute Details
#cert_age_threshold_in_days ⇒ String? (readonly)
The number of days that defines when a device certificate is considered to have aged.
The check will report a finding if a certificate has been active for a number of days greater than or equal to this threshold value.
870 871 872 |
# File 'io_t/cfn_account_audit_configuration.rb', line 870 def cert_age_threshold_in_days @cert_age_threshold_in_days end |
Class Method Details
.jsii_properties ⇒ Object
872 873 874 875 876 |
# File 'io_t/cfn_account_audit_configuration.rb', line 872 def self.jsii_properties { :cert_age_threshold_in_days => "certAgeThresholdInDays", } end |
Instance Method Details
#to_jsii ⇒ Object
878 879 880 881 882 883 884 |
# File 'io_t/cfn_account_audit_configuration.rb', line 878 def to_jsii result = {} result.merge!({ "certAgeThresholdInDays" => @cert_age_threshold_in_days, }) result.compact end |