Class: AWSCDK::SecurityLake::CfnDataLake::ExpirationProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::SecurityLake::CfnDataLake::ExpirationProperty
- Defined in:
- security_lake/cfn_data_lake.rb
Overview
Provides data expiration details of the Amazon Security Lake object.
You can specify your preferred Amazon S3 storage class and the time period for S3 objects to stay in that storage class before they expire. For more information about Amazon S3 Lifecycle configurations, see Managing your storage lifecycle in the Amazon Simple Storage Service User Guide .
Instance Attribute Summary collapse
-
#days ⇒ Numeric?
readonly
The number of days before data expires in the Amazon Security Lake object.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(days: nil) ⇒ ExpirationProperty
constructor
A new instance of ExpirationProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(days: nil) ⇒ ExpirationProperty
Returns a new instance of ExpirationProperty.
623 624 625 626 |
# File 'security_lake/cfn_data_lake.rb', line 623 def initialize(days: nil) @days = days Jsii::Type.check_type(@days, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJudW1iZXIifQ==")), "days") unless @days.nil? end |
Instance Attribute Details
#days ⇒ Numeric? (readonly)
The number of days before data expires in the Amazon Security Lake object.
632 633 634 |
# File 'security_lake/cfn_data_lake.rb', line 632 def days @days end |
Class Method Details
.jsii_properties ⇒ Object
634 635 636 637 638 |
# File 'security_lake/cfn_data_lake.rb', line 634 def self.jsii_properties { :days => "days", } end |
Instance Method Details
#to_jsii ⇒ Object
640 641 642 643 644 645 646 |
# File 'security_lake/cfn_data_lake.rb', line 640 def to_jsii result = {} result.merge!({ "days" => @days, }) result.compact end |