Class: AWSCDK::S3::CfnStorageLens::StorageLensGroupLevelProperty

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
s3/cfn_storage_lens.rb

Overview

This resource determines the scope of Storage Lens group data that is displayed in the Storage Lens dashboard.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(storage_lens_group_selection_criteria: nil) ⇒ StorageLensGroupLevelProperty

Returns a new instance of StorageLensGroupLevelProperty.

Parameters:



1517
1518
1519
1520
# File 's3/cfn_storage_lens.rb', line 1517

def initialize(storage_lens_group_selection_criteria: nil)
  @storage_lens_group_selection_criteria = storage_lens_group_selection_criteria.is_a?(Hash) ? ::AWSCDK::S3::CfnStorageLens::StorageLensGroupSelectionCriteriaProperty.new(**storage_lens_group_selection_criteria.transform_keys(&:to_sym)) : storage_lens_group_selection_criteria
  Jsii::Type.check_type(@storage_lens_group_selection_criteria, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19zMy5DZm5TdG9yYWdlTGVucy5TdG9yYWdlTGVuc0dyb3VwU2VsZWN0aW9uQ3JpdGVyaWFQcm9wZXJ0eSJ9XX19")), "storageLensGroupSelectionCriteria") unless @storage_lens_group_selection_criteria.nil?
end

Instance Attribute Details

#storage_lens_group_selection_criteriaAWSCDK::IResolvable, ... (readonly)

This property indicates which Storage Lens group ARNs to include or exclude in the Storage Lens group aggregation.

If this value is left null, then all Storage Lens groups are selected.



1528
1529
1530
# File 's3/cfn_storage_lens.rb', line 1528

def storage_lens_group_selection_criteria
  @storage_lens_group_selection_criteria
end

Class Method Details

.jsii_propertiesObject



1530
1531
1532
1533
1534
# File 's3/cfn_storage_lens.rb', line 1530

def self.jsii_properties
  {
    :storage_lens_group_selection_criteria => "storageLensGroupSelectionCriteria",
  }
end

Instance Method Details

#to_jsiiObject



1536
1537
1538
1539
1540
1541
1542
# File 's3/cfn_storage_lens.rb', line 1536

def to_jsii
  result = {}
  result.merge!({
    "storageLensGroupSelectionCriteria" => @storage_lens_group_selection_criteria,
  })
  result.compact
end