AWS::S3::StorageLensGroup - AWS CloudFormation

AWS::S3::StorageLensGroup

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.

Syntax

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

JSON

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

YAML

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

Properties

Filter

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

Required: Yes

Type: Filter

Update requires: No interruption

Name

This property contains the Storage Lens group name.

Required: Yes

Type: String

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

Minimum: 1

Maximum: 64

Update requires: Replacement

Tags

This property contains the AWS 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

Ref

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

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.

StorageLensGroupArn

Property description not available.