Class: AWSCDK::SecurityLake::CfnDataLake::TransitionsProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::SecurityLake::CfnDataLake::TransitionsProperty
- Defined in:
- security_lake/cfn_data_lake.rb
Overview
Provides transition lifecycle details of the Amazon Security Lake object.
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 transitions to a different S3 Storage Class in the Amazon Security Lake object.
-
#storage_class ⇒ String?
readonly
The list of storage classes that you can choose from based on the data access, resiliency, and cost requirements of your workloads.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(days: nil, storage_class: nil) ⇒ TransitionsProperty
constructor
A new instance of TransitionsProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(days: nil, storage_class: nil) ⇒ TransitionsProperty
Returns a new instance of TransitionsProperty.
759 760 761 762 763 764 |
# File 'security_lake/cfn_data_lake.rb', line 759 def initialize(days: nil, storage_class: nil) @days = days Jsii::Type.check_type(@days, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJudW1iZXIifQ==")), "days") unless @days.nil? @storage_class = storage_class Jsii::Type.check_type(@storage_class, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "storageClass") unless @storage_class.nil? end |
Instance Attribute Details
#days ⇒ Numeric? (readonly)
The number of days before data transitions to a different S3 Storage Class in the Amazon Security Lake object.
770 771 772 |
# File 'security_lake/cfn_data_lake.rb', line 770 def days @days end |
#storage_class ⇒ String? (readonly)
The list of storage classes that you can choose from based on the data access, resiliency, and cost requirements of your workloads.
The default storage class is S3 Standard . For information about other storage classes, see Setting the storage class of an object in the Amazon S3 User Guide .
777 778 779 |
# File 'security_lake/cfn_data_lake.rb', line 777 def storage_class @storage_class end |
Class Method Details
.jsii_properties ⇒ Object
779 780 781 782 783 784 |
# File 'security_lake/cfn_data_lake.rb', line 779 def self.jsii_properties { :days => "days", :storage_class => "storageClass", } end |
Instance Method Details
#to_jsii ⇒ Object
786 787 788 789 790 791 792 793 |
# File 'security_lake/cfn_data_lake.rb', line 786 def to_jsii result = {} result.merge!({ "days" => @days, "storageClass" => @storage_class, }) result.compact end |