Class: AWSCDK::S3::CfnBucket::StorageClassAnalysisProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::S3::CfnBucket::StorageClassAnalysisProperty
- Defined in:
- s3/cfn_bucket.rb
Overview
Specifies data related to access patterns to be collected and made available to analyze the tradeoffs between different storage classes for an Amazon S3 bucket.
Instance Attribute Summary collapse
-
#data_export ⇒ AWSCDK::IResolvable, ...
readonly
Specifies how data related to the storage class analysis for an Amazon S3 bucket should be exported.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(data_export: nil) ⇒ StorageClassAnalysisProperty
constructor
A new instance of StorageClassAnalysisProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(data_export: nil) ⇒ StorageClassAnalysisProperty
Returns a new instance of StorageClassAnalysisProperty.
4441 4442 4443 4444 |
# File 's3/cfn_bucket.rb', line 4441 def initialize(data_export: nil) @data_export = data_export.is_a?(Hash) ? ::AWSCDK::S3::CfnBucket::DataExportProperty.new(**data_export.transform_keys(&:to_sym)) : data_export Jsii::Type.check_type(@data_export, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19zMy5DZm5CdWNrZXQuRGF0YUV4cG9ydFByb3BlcnR5In1dfX0=")), "dataExport") unless @data_export.nil? end |
Instance Attribute Details
#data_export ⇒ AWSCDK::IResolvable, ... (readonly)
Specifies how data related to the storage class analysis for an Amazon S3 bucket should be exported.
4450 4451 4452 |
# File 's3/cfn_bucket.rb', line 4450 def data_export @data_export end |
Class Method Details
.jsii_properties ⇒ Object
4452 4453 4454 4455 4456 |
# File 's3/cfn_bucket.rb', line 4452 def self.jsii_properties { :data_export => "dataExport", } end |
Instance Method Details
#to_jsii ⇒ Object
4458 4459 4460 4461 4462 4463 4464 |
# File 's3/cfn_bucket.rb', line 4458 def to_jsii result = {} result.merge!({ "dataExport" => @data_export, }) result.compact end |