Skip to main content

storage_lens

Gets an individual storage_lens resource

Overview

Namestorage_lens
TypeResource
Descriptionstorage_lens
Idawscc.s3.storage_lens

Fields

NameDatatypeDescription
storage_lens_configurationobject
tagsarrayA set of tags (key-value pairs) for this Amazon S3 Storage Lens configuration.
regionstringAWS region.

Methods

Currently only SELECT is supported for this resource resource.

Example

SELECT
region,
storage_lens_configuration,
tags
FROM awscc.s3.storage_lens
WHERE data__Identifier = '<StorageLensConfiguration/Id>';

Permissions

To operate on the storage_lens resource, the following permissions are required:

Read

s3:GetStorageLensConfiguration,
s3:GetStorageLensConfigurationTagging

Update

s3:PutStorageLensConfiguration,
s3:PutStorageLensConfigurationTagging,
s3:GetStorageLensConfiguration,
s3:GetStorageLensConfigurationTagging,
organizations:DescribeOrganization,
organizations:ListAccounts,
organizations:ListAWSServiceAccessForOrganization,
organizations:ListDelegatedAdministrators,
iam:CreateServiceLinkedRole

Delete

s3:DeleteStorageLensConfiguration,
s3:DeleteStorageLensConfigurationTagging