Class: AWSCDK::S3Tables::CfnTableBucket::UnreferencedFileRemovalProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::S3Tables::CfnTableBucket::UnreferencedFileRemovalProperty
- Defined in:
- s3_tables/cfn_table_bucket.rb
Overview
The unreferenced file removal settings for your table bucket.
Unreferenced file removal identifies and deletes all objects that are not referenced by any table snapshots. For more information, see the Amazon S3 User Guide .
Instance Attribute Summary collapse
-
#noncurrent_days ⇒ Numeric?
readonly
The number of days an object can be noncurrent before Amazon S3 deletes it.
-
#status ⇒ String?
readonly
The status of the unreferenced file removal configuration for your table bucket.
-
#unreferenced_days ⇒ Numeric?
readonly
The number of days an object must be unreferenced by your table before Amazon S3 marks the object as noncurrent.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(noncurrent_days: nil, status: nil, unreferenced_days: nil) ⇒ UnreferencedFileRemovalProperty
constructor
A new instance of UnreferencedFileRemovalProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(noncurrent_days: nil, status: nil, unreferenced_days: nil) ⇒ UnreferencedFileRemovalProperty
Returns a new instance of UnreferencedFileRemovalProperty.
840 841 842 843 844 845 846 847 |
# File 's3_tables/cfn_table_bucket.rb', line 840 def initialize(noncurrent_days: nil, status: nil, unreferenced_days: nil) @noncurrent_days = noncurrent_days Jsii::Type.check_type(@noncurrent_days, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJudW1iZXIifQ==")), "noncurrentDays") unless @noncurrent_days.nil? @status = status Jsii::Type.check_type(@status, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "status") unless @status.nil? @unreferenced_days = unreferenced_days Jsii::Type.check_type(@unreferenced_days, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJudW1iZXIifQ==")), "unreferencedDays") unless @unreferenced_days.nil? end |
Instance Attribute Details
#noncurrent_days ⇒ Numeric? (readonly)
The number of days an object can be noncurrent before Amazon S3 deletes it.
853 854 855 |
# File 's3_tables/cfn_table_bucket.rb', line 853 def noncurrent_days @noncurrent_days end |
#status ⇒ String? (readonly)
The status of the unreferenced file removal configuration for your table bucket.
858 859 860 |
# File 's3_tables/cfn_table_bucket.rb', line 858 def status @status end |
#unreferenced_days ⇒ Numeric? (readonly)
The number of days an object must be unreferenced by your table before Amazon S3 marks the object as noncurrent.
863 864 865 |
# File 's3_tables/cfn_table_bucket.rb', line 863 def unreferenced_days @unreferenced_days end |
Class Method Details
.jsii_properties ⇒ Object
865 866 867 868 869 870 871 |
# File 's3_tables/cfn_table_bucket.rb', line 865 def self.jsii_properties { :noncurrent_days => "noncurrentDays", :status => "status", :unreferenced_days => "unreferencedDays", } end |
Instance Method Details
#to_jsii ⇒ Object
873 874 875 876 877 878 879 880 881 |
# File 's3_tables/cfn_table_bucket.rb', line 873 def to_jsii result = {} result.merge!({ "noncurrentDays" => @noncurrent_days, "status" => @status, "unreferencedDays" => @unreferenced_days, }) result.compact end |