Class: AWSCDK::CertificateManager::CfnAccount::ExpiryEventsConfigurationProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::CertificateManager::CfnAccount::ExpiryEventsConfigurationProperty
- Defined in:
- certificate_manager/cfn_account.rb
Overview
Object containing expiration events options associated with an AWS account .
For more information, see ExpiryEventsConfiguration in the API reference.
Instance Attribute Summary collapse
-
#days_before_expiry ⇒ Numeric?
readonly
This option specifies the number of days prior to certificate expiration when ACM starts generating
EventBridgeevents.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(days_before_expiry: nil) ⇒ ExpiryEventsConfigurationProperty
constructor
A new instance of ExpiryEventsConfigurationProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(days_before_expiry: nil) ⇒ ExpiryEventsConfigurationProperty
Returns a new instance of ExpiryEventsConfigurationProperty.
503 504 505 506 |
# File 'certificate_manager/cfn_account.rb', line 503 def initialize(days_before_expiry: nil) @days_before_expiry = days_before_expiry Jsii::Type.check_type(@days_before_expiry, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJudW1iZXIifQ==")), "daysBeforeExpiry") unless @days_before_expiry.nil? end |
Instance Attribute Details
#days_before_expiry ⇒ Numeric? (readonly)
This option specifies the number of days prior to certificate expiration when ACM starts generating EventBridge events.
ACM sends one event per day per certificate until the certificate expires. By default, accounts receive events starting 45 days before certificate expiration.
514 515 516 |
# File 'certificate_manager/cfn_account.rb', line 514 def days_before_expiry @days_before_expiry end |
Class Method Details
.jsii_properties ⇒ Object
516 517 518 519 520 |
# File 'certificate_manager/cfn_account.rb', line 516 def self.jsii_properties { :days_before_expiry => "daysBeforeExpiry", } end |
Instance Method Details
#to_jsii ⇒ Object
522 523 524 525 526 527 528 |
# File 'certificate_manager/cfn_account.rb', line 522 def to_jsii result = {} result.merge!({ "daysBeforeExpiry" => @days_before_expiry, }) result.compact end |