AWS Fundamentals Logo
AWS Fundamentals
AWS::S3::StorageLensGroup

S3 StorageLensGroup

The AWS::S3::StorageLensGroup resource is an Amazon S3 resource type that you can use to create Storage Lens Group.

Properties

3 configurable properties. 2 required. Click a row to see details.

Filter:
PropertyTypeFlags
Filter
Filter
Required
Name
string
RequiredCreate-only
Tags
Array<Tag>

Return Values

Values returned after the resource is created. Access these with Fn::GetAtt.

AttributeTypeDescription
StorageLensGroupArnstringThe ARN for the Amazon S3 Storage Lens Group.

Sample CloudFormation Template

A minimal template with required properties and common optional ones.

template.yaml
AWSTemplateFormatVersion: "2010-09-09"
Description: Sample template for AWS::S3::StorageLensGroup

Resources:
  MyResource:
    Type: AWS::S3::StorageLensGroup
    Properties:
      Name: "my-name"
      Filter: "value"
      Tags:
        - Key: Environment
          Value: Production

Required IAM Permissions

Permissions CloudFormation needs in your IAM role to manage this resource.

create

s3:CreateStorageLensGroups3:GetStorageLensGroups3:TagResources3:ListTagsForResource

read

s3:GetStorageLensGroups3:ListTagsForResource

update

s3:GetStorageLensGroups3:UpdateStorageLensGroups3:TagResources3:UntagResources3:ListTagsForResource

delete

s3:DeleteStorageLensGroup

list

s3:ListStorageLensGroups

Get the S3 Cheat Sheet

Everything you need to know about S3 on one page. HD quality, print-friendly.

Download Free Infographic

Quick Facts

ServiceS3
Properties4
Required2
TaggingSupported
Primary IDName

Supported Operations

CreateReadUpdateDeleteList

Immutable After Creation

These properties cannot be changed after the resource is created. Updating them triggers a replacement.

Name

External Links