AWS::S3::StorageLensGroup - Amazon CloudFormation
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).


The AWS::S3::StorageLensGroup resource creates an S3 Storage Lens group. A Storage Lens group is a custom grouping of objects that include filters for prefixes, suffixes, object tags, object size, or object age. You can create an S3 Storage Lens group that includes a single filter or multiple filter conditions. To specify multiple filter conditions, you use AND or OR logical operators. For more information about S3 Storage Lens groups, see Working with S3 Storage Lens groups.


To declare this entity in your Amazon CloudFormation template, use the following syntax:


{ "Type" : "AWS::S3::StorageLensGroup", "Properties" : { "Filter" : Filter, "Name" : String, "Tags" : [ Tag, ... ] } }


Type: AWS::S3::StorageLensGroup Properties: Filter: Filter Name: String Tags: - Tag



This property contains the criteria for the Storage Lens group data that is displayed

Required: Yes

Type: Filter

Update requires: No interruption


This property contains the Storage Lens group name.

Required: Yes

Type: String

Pattern: ^[a-zA-Z0-9\-_]+$

Minimum: 1

Maximum: 64

Update requires: Replacement


This property contains the Amazon resource tags that you're adding to your Storage Lens group. This parameter is optional.

Required: No

Type: Array of Tag

Update requires: No interruption

Return values


When the logical ID of this resource is provided to the Ref intrinsic function, Ref returns the S3 Storage Lens group name. For more information about using the Ref function, see Ref.


Fn::GetAtt returns a value for a specified attribute of this type. For more information, see Fn::GetAtt. The following are the available attributes and sample return values.


Property description not available.