Class: AWSCDK::S3::CfnStorageLens::StorageLensGroupSelectionCriteriaProperty

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

Overview

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

You can only attach Storage Lens groups to your dashboard if they're included in your Storage Lens group aggregation. If this value is left null, then all Storage Lens groups are selected.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(exclude: nil, include: nil) ⇒ StorageLensGroupSelectionCriteriaProperty

Returns a new instance of StorageLensGroupSelectionCriteriaProperty.

Parameters:

  • exclude (Array<String>, nil) (defaults to: nil)

    This property indicates which Storage Lens group ARNs to exclude from the Storage Lens group aggregation.

  • include (Array<String>, nil) (defaults to: nil)

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



1555
1556
1557
1558
1559
1560
# File 's3/cfn_storage_lens.rb', line 1555

def initialize(exclude: nil, include: nil)
  @exclude = exclude
  Jsii::Type.check_type(@exclude, JSON.parse(Base64.strict_decode64("eyJjb2xsZWN0aW9uIjp7ImVsZW1lbnR0eXBlIjp7InByaW1pdGl2ZSI6InN0cmluZyJ9LCJraW5kIjoiYXJyYXkifX0=")), "exclude") unless @exclude.nil?
  @include = include
  Jsii::Type.check_type(@include, JSON.parse(Base64.strict_decode64("eyJjb2xsZWN0aW9uIjp7ImVsZW1lbnR0eXBlIjp7InByaW1pdGl2ZSI6InN0cmluZyJ9LCJraW5kIjoiYXJyYXkifX0=")), "include") unless @include.nil?
end

Instance Attribute Details

#excludeArray<String>? (readonly)

This property indicates which Storage Lens group ARNs to exclude from the Storage Lens group aggregation.



1566
1567
1568
# File 's3/cfn_storage_lens.rb', line 1566

def exclude
  @exclude
end

#includeArray<String>? (readonly)

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



1571
1572
1573
# File 's3/cfn_storage_lens.rb', line 1571

def include
  @include
end

Class Method Details

.jsii_propertiesObject



1573
1574
1575
1576
1577
1578
# File 's3/cfn_storage_lens.rb', line 1573

def self.jsii_properties
  {
    :exclude => "exclude",
    :include => "include",
  }
end

Instance Method Details

#to_jsiiObject



1580
1581
1582
1583
1584
1585
1586
1587
# File 's3/cfn_storage_lens.rb', line 1580

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