This is the new AWS CloudFormation Template Reference Guide. Please update your bookmarks and links. For help getting started with CloudFormation, see the AWS CloudFormation User Guide.
AWS::S3::StorageLens StorageLensConfiguration
This is the property of the Amazon S3 Storage Lens configuration.
Syntax
To declare this entity in your AWS CloudFormation template, use the following syntax:
JSON
{ "AccountLevel" :AccountLevel, "AwsOrg" :AwsOrg, "DataExport" :DataExport, "Exclude" :BucketsAndRegions, "Id" :String, "Include" :BucketsAndRegions, "IsEnabled" :Boolean, "StorageLensArn" :String}
YAML
AccountLevel:AccountLevelAwsOrg:AwsOrgDataExport:DataExportExclude:BucketsAndRegionsId:StringInclude:BucketsAndRegionsIsEnabled:BooleanStorageLensArn:String
Properties
AccountLevel-
This property contains the details of the account-level metrics for Amazon S3 Storage Lens configuration.
Required: Yes
Type: AccountLevel
Update requires: No interruption
AwsOrg-
This property contains the details of the AWS Organization for the S3 Storage Lens configuration.
Required: No
Type: AwsOrg
Update requires: No interruption
DataExport-
This property contains the details of this S3 Storage Lens configuration's metrics export.
Required: No
Type: DataExport
Update requires: No interruption
Exclude-
This property contains the details of the bucket and or Regions excluded for Amazon S3 Storage Lens configuration.
Required: No
Type: BucketsAndRegions
Update requires: No interruption
Id-
This property contains the details of the ID of the S3 Storage Lens configuration.
Required: Yes
Type: String
Pattern:
^[a-zA-Z0-9\-_.]+$Minimum:
1Maximum:
64Update requires: Replacement
Include-
This property contains the details of the bucket and or Regions included for Amazon S3 Storage Lens configuration.
Required: No
Type: BucketsAndRegions
Update requires: No interruption
IsEnabled-
This property contains the details of whether the Amazon S3 Storage Lens configuration is enabled.
Required: Yes
Type: Boolean
Update requires: No interruption
StorageLensArn-
This property contains the details of the ARN of the S3 Storage Lens configuration. This property is read-only.
Required: No
Type: String
Update requires: No interruption