Class: AWSCDK::S3::CfnBucket::JournalTableConfigurationProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::S3::CfnBucket::JournalTableConfigurationProperty
- Defined in:
- s3/cfn_bucket.rb
Overview
The journal table configuration for an S3 Metadata configuration.
Instance Attribute Summary collapse
-
#encryption_configuration ⇒ AWSCDK::IResolvable, ...
readonly
The encryption configuration for the journal table.
-
#record_expiration ⇒ AWSCDK::IResolvable, AWSCDK::S3::CfnBucket::RecordExpirationProperty
readonly
The journal table record expiration settings for the journal table.
-
#table_arn ⇒ String?
readonly
The Amazon Resource Name (ARN) for the journal table.
-
#table_name ⇒ String?
readonly
The name of the journal table.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(record_expiration:, encryption_configuration: nil, table_arn: nil, table_name: nil) ⇒ JournalTableConfigurationProperty
constructor
A new instance of JournalTableConfigurationProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(record_expiration:, encryption_configuration: nil, table_arn: nil, table_name: nil) ⇒ JournalTableConfigurationProperty
Returns a new instance of JournalTableConfigurationProperty.
2021 2022 2023 2024 2025 2026 2027 2028 2029 2030 |
# File 's3/cfn_bucket.rb', line 2021 def initialize(record_expiration:, encryption_configuration: nil, table_arn: nil, table_name: nil) @record_expiration = record_expiration.is_a?(Hash) ? ::AWSCDK::S3::CfnBucket::RecordExpirationProperty.new(**record_expiration.transform_keys(&:to_sym)) : record_expiration Jsii::Type.check_type(@record_expiration, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19zMy5DZm5CdWNrZXQuUmVjb3JkRXhwaXJhdGlvblByb3BlcnR5In1dfX0=")), "recordExpiration") @encryption_configuration = encryption_configuration.is_a?(Hash) ? ::AWSCDK::S3::CfnBucket::MetadataTableEncryptionConfigurationProperty.new(**encryption_configuration.transform_keys(&:to_sym)) : encryption_configuration Jsii::Type.check_type(@encryption_configuration, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19zMy5DZm5CdWNrZXQuTWV0YWRhdGFUYWJsZUVuY3J5cHRpb25Db25maWd1cmF0aW9uUHJvcGVydHkifV19fQ==")), "encryptionConfiguration") unless @encryption_configuration.nil? @table_arn = table_arn Jsii::Type.check_type(@table_arn, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "tableArn") unless @table_arn.nil? @table_name = table_name Jsii::Type.check_type(@table_name, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "tableName") unless @table_name.nil? end |
Instance Attribute Details
#encryption_configuration ⇒ AWSCDK::IResolvable, ... (readonly)
The encryption configuration for the journal table.
2041 2042 2043 |
# File 's3/cfn_bucket.rb', line 2041 def encryption_configuration @encryption_configuration end |
#record_expiration ⇒ AWSCDK::IResolvable, AWSCDK::S3::CfnBucket::RecordExpirationProperty (readonly)
The journal table record expiration settings for the journal table.
2036 2037 2038 |
# File 's3/cfn_bucket.rb', line 2036 def record_expiration @record_expiration end |
#table_arn ⇒ String? (readonly)
The Amazon Resource Name (ARN) for the journal table.
2046 2047 2048 |
# File 's3/cfn_bucket.rb', line 2046 def table_arn @table_arn end |
#table_name ⇒ String? (readonly)
The name of the journal table.
2051 2052 2053 |
# File 's3/cfn_bucket.rb', line 2051 def table_name @table_name end |
Class Method Details
.jsii_properties ⇒ Object
2053 2054 2055 2056 2057 2058 2059 2060 |
# File 's3/cfn_bucket.rb', line 2053 def self.jsii_properties { :record_expiration => "recordExpiration", :encryption_configuration => "encryptionConfiguration", :table_arn => "tableArn", :table_name => "tableName", } end |
Instance Method Details
#to_jsii ⇒ Object
2062 2063 2064 2065 2066 2067 2068 2069 2070 2071 |
# File 's3/cfn_bucket.rb', line 2062 def to_jsii result = {} result.merge!({ "recordExpiration" => @record_expiration, "encryptionConfiguration" => @encryption_configuration, "tableArn" => @table_arn, "tableName" => @table_name, }) result.compact end |