1. Packages
  2. AWS Cloud Control
  3. API Docs
  4. s3
  5. StorageLens

We recommend new projects start with resources from the AWS provider.

AWS Cloud Control v1.27.0 published on Monday, Apr 14, 2025 by Pulumi

aws-native.s3.StorageLens

Explore with Pulumi AI

We recommend new projects start with resources from the AWS provider.

AWS Cloud Control v1.27.0 published on Monday, Apr 14, 2025 by Pulumi

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

Create StorageLens Resource

Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

Constructor syntax

new StorageLens(name: string, args: StorageLensArgs, opts?: CustomResourceOptions);
@overload
def StorageLens(resource_name: str,
                args: StorageLensArgs,
                opts: Optional[ResourceOptions] = None)

@overload
def StorageLens(resource_name: str,
                opts: Optional[ResourceOptions] = None,
                storage_lens_configuration: Optional[StorageLensConfigurationArgs] = None,
                tags: Optional[Sequence[_root_inputs.TagArgs]] = None)
func NewStorageLens(ctx *Context, name string, args StorageLensArgs, opts ...ResourceOption) (*StorageLens, error)
public StorageLens(string name, StorageLensArgs args, CustomResourceOptions? opts = null)
public StorageLens(String name, StorageLensArgs args)
public StorageLens(String name, StorageLensArgs args, CustomResourceOptions options)
type: aws-native:s3:StorageLens
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

Parameters

name This property is required. string
The unique name of the resource.
args This property is required. StorageLensArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args This property is required. StorageLensArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name This property is required. string
The unique name of the resource.
args This property is required. StorageLensArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args This property is required. StorageLensArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. StorageLensArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

StorageLens Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

Inputs

In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

The StorageLens resource accepts the following input properties:

StorageLensConfiguration This property is required. Pulumi.AwsNative.S3.Inputs.StorageLensConfiguration
This resource contains the details Amazon S3 Storage Lens configuration.
Tags List<Pulumi.AwsNative.Inputs.Tag>
A set of tags (key-value pairs) for this Amazon S3 Storage Lens configuration.
StorageLensConfiguration This property is required. StorageLensConfigurationArgs
This resource contains the details Amazon S3 Storage Lens configuration.
Tags TagArgs
A set of tags (key-value pairs) for this Amazon S3 Storage Lens configuration.
storageLensConfiguration This property is required. StorageLensConfiguration
This resource contains the details Amazon S3 Storage Lens configuration.
tags List<Tag>
A set of tags (key-value pairs) for this Amazon S3 Storage Lens configuration.
storageLensConfiguration This property is required. StorageLensConfiguration
This resource contains the details Amazon S3 Storage Lens configuration.
tags Tag[]
A set of tags (key-value pairs) for this Amazon S3 Storage Lens configuration.
storage_lens_configuration This property is required. StorageLensConfigurationArgs
This resource contains the details Amazon S3 Storage Lens configuration.
tags Sequence[TagArgs]
A set of tags (key-value pairs) for this Amazon S3 Storage Lens configuration.
storageLensConfiguration This property is required. Property Map
This resource contains the details Amazon S3 Storage Lens configuration.
tags List<Property Map>
A set of tags (key-value pairs) for this Amazon S3 Storage Lens configuration.

Outputs

All input properties are implicitly available as output properties. Additionally, the StorageLens resource produces the following output properties:

Id string
The provider-assigned unique ID for this managed resource.
Id string
The provider-assigned unique ID for this managed resource.
id String
The provider-assigned unique ID for this managed resource.
id string
The provider-assigned unique ID for this managed resource.
id str
The provider-assigned unique ID for this managed resource.
id String
The provider-assigned unique ID for this managed resource.

Supporting Types

StorageLensAccountLevel
, StorageLensAccountLevelArgs

BucketLevel This property is required. Pulumi.AwsNative.S3.Inputs.StorageLensBucketLevel
This property contains the details of the account-level bucket-level configurations for Amazon S3 Storage Lens. To enable bucket-level configurations, make sure to also set the same metrics at the account level.
ActivityMetrics Pulumi.AwsNative.S3.Inputs.StorageLensActivityMetrics
This property contains the details of account-level activity metrics for S3 Storage Lens.
AdvancedCostOptimizationMetrics Pulumi.AwsNative.S3.Inputs.StorageLensAdvancedCostOptimizationMetrics
This property contains the details of account-level advanced cost optimization metrics for S3 Storage Lens.
AdvancedDataProtectionMetrics Pulumi.AwsNative.S3.Inputs.StorageLensAdvancedDataProtectionMetrics
This property contains the details of account-level advanced data protection metrics for S3 Storage Lens.
DetailedStatusCodesMetrics Pulumi.AwsNative.S3.Inputs.StorageLensDetailedStatusCodesMetrics
This property contains the details of account-level detailed status code metrics for S3 Storage Lens.
StorageLensGroupLevel Pulumi.AwsNative.S3.Inputs.StorageLensGroupLevel
This property determines the scope of Storage Lens group data that is displayed in the Storage Lens dashboard.
BucketLevel This property is required. StorageLensBucketLevel
This property contains the details of the account-level bucket-level configurations for Amazon S3 Storage Lens. To enable bucket-level configurations, make sure to also set the same metrics at the account level.
ActivityMetrics StorageLensActivityMetrics
This property contains the details of account-level activity metrics for S3 Storage Lens.
AdvancedCostOptimizationMetrics StorageLensAdvancedCostOptimizationMetrics
This property contains the details of account-level advanced cost optimization metrics for S3 Storage Lens.
AdvancedDataProtectionMetrics StorageLensAdvancedDataProtectionMetrics
This property contains the details of account-level advanced data protection metrics for S3 Storage Lens.
DetailedStatusCodesMetrics StorageLensDetailedStatusCodesMetrics
This property contains the details of account-level detailed status code metrics for S3 Storage Lens.
StorageLensGroupLevel StorageLensGroupLevel
This property determines the scope of Storage Lens group data that is displayed in the Storage Lens dashboard.
bucketLevel This property is required. StorageLensBucketLevel
This property contains the details of the account-level bucket-level configurations for Amazon S3 Storage Lens. To enable bucket-level configurations, make sure to also set the same metrics at the account level.
activityMetrics StorageLensActivityMetrics
This property contains the details of account-level activity metrics for S3 Storage Lens.
advancedCostOptimizationMetrics StorageLensAdvancedCostOptimizationMetrics
This property contains the details of account-level advanced cost optimization metrics for S3 Storage Lens.
advancedDataProtectionMetrics StorageLensAdvancedDataProtectionMetrics
This property contains the details of account-level advanced data protection metrics for S3 Storage Lens.
detailedStatusCodesMetrics StorageLensDetailedStatusCodesMetrics
This property contains the details of account-level detailed status code metrics for S3 Storage Lens.
storageLensGroupLevel StorageLensGroupLevel
This property determines the scope of Storage Lens group data that is displayed in the Storage Lens dashboard.
bucketLevel This property is required. StorageLensBucketLevel
This property contains the details of the account-level bucket-level configurations for Amazon S3 Storage Lens. To enable bucket-level configurations, make sure to also set the same metrics at the account level.
activityMetrics StorageLensActivityMetrics
This property contains the details of account-level activity metrics for S3 Storage Lens.
advancedCostOptimizationMetrics StorageLensAdvancedCostOptimizationMetrics
This property contains the details of account-level advanced cost optimization metrics for S3 Storage Lens.
advancedDataProtectionMetrics StorageLensAdvancedDataProtectionMetrics
This property contains the details of account-level advanced data protection metrics for S3 Storage Lens.
detailedStatusCodesMetrics StorageLensDetailedStatusCodesMetrics
This property contains the details of account-level detailed status code metrics for S3 Storage Lens.
storageLensGroupLevel StorageLensGroupLevel
This property determines the scope of Storage Lens group data that is displayed in the Storage Lens dashboard.
bucket_level This property is required. StorageLensBucketLevel
This property contains the details of the account-level bucket-level configurations for Amazon S3 Storage Lens. To enable bucket-level configurations, make sure to also set the same metrics at the account level.
activity_metrics StorageLensActivityMetrics
This property contains the details of account-level activity metrics for S3 Storage Lens.
advanced_cost_optimization_metrics StorageLensAdvancedCostOptimizationMetrics
This property contains the details of account-level advanced cost optimization metrics for S3 Storage Lens.
advanced_data_protection_metrics StorageLensAdvancedDataProtectionMetrics
This property contains the details of account-level advanced data protection metrics for S3 Storage Lens.
detailed_status_codes_metrics StorageLensDetailedStatusCodesMetrics
This property contains the details of account-level detailed status code metrics for S3 Storage Lens.
storage_lens_group_level StorageLensGroupLevel
This property determines the scope of Storage Lens group data that is displayed in the Storage Lens dashboard.
bucketLevel This property is required. Property Map
This property contains the details of the account-level bucket-level configurations for Amazon S3 Storage Lens. To enable bucket-level configurations, make sure to also set the same metrics at the account level.
activityMetrics Property Map
This property contains the details of account-level activity metrics for S3 Storage Lens.
advancedCostOptimizationMetrics Property Map
This property contains the details of account-level advanced cost optimization metrics for S3 Storage Lens.
advancedDataProtectionMetrics Property Map
This property contains the details of account-level advanced data protection metrics for S3 Storage Lens.
detailedStatusCodesMetrics Property Map
This property contains the details of account-level detailed status code metrics for S3 Storage Lens.
storageLensGroupLevel Property Map
This property determines the scope of Storage Lens group data that is displayed in the Storage Lens dashboard.

StorageLensActivityMetrics
, StorageLensActivityMetricsArgs

IsEnabled bool
Specifies whether activity metrics are enabled or disabled.
IsEnabled bool
Specifies whether activity metrics are enabled or disabled.
isEnabled Boolean
Specifies whether activity metrics are enabled or disabled.
isEnabled boolean
Specifies whether activity metrics are enabled or disabled.
is_enabled bool
Specifies whether activity metrics are enabled or disabled.
isEnabled Boolean
Specifies whether activity metrics are enabled or disabled.

StorageLensAdvancedCostOptimizationMetrics
, StorageLensAdvancedCostOptimizationMetricsArgs

IsEnabled bool
Specifies whether advanced cost optimization metrics are enabled or disabled.
IsEnabled bool
Specifies whether advanced cost optimization metrics are enabled or disabled.
isEnabled Boolean
Specifies whether advanced cost optimization metrics are enabled or disabled.
isEnabled boolean
Specifies whether advanced cost optimization metrics are enabled or disabled.
is_enabled bool
Specifies whether advanced cost optimization metrics are enabled or disabled.
isEnabled Boolean
Specifies whether advanced cost optimization metrics are enabled or disabled.

StorageLensAdvancedDataProtectionMetrics
, StorageLensAdvancedDataProtectionMetricsArgs

IsEnabled bool
Specifies whether advanced data protection metrics are enabled or disabled.
IsEnabled bool
Specifies whether advanced data protection metrics are enabled or disabled.
isEnabled Boolean
Specifies whether advanced data protection metrics are enabled or disabled.
isEnabled boolean
Specifies whether advanced data protection metrics are enabled or disabled.
is_enabled bool
Specifies whether advanced data protection metrics are enabled or disabled.
isEnabled Boolean
Specifies whether advanced data protection metrics are enabled or disabled.

StorageLensAwsOrg
, StorageLensAwsOrgArgs

Arn This property is required. string
This resource contains the ARN of the AWS Organization.
Arn This property is required. string
This resource contains the ARN of the AWS Organization.
arn This property is required. String
This resource contains the ARN of the AWS Organization.
arn This property is required. string
This resource contains the ARN of the AWS Organization.
arn This property is required. str
This resource contains the ARN of the AWS Organization.
arn This property is required. String
This resource contains the ARN of the AWS Organization.

StorageLensBucketLevel
, StorageLensBucketLevelArgs

ActivityMetrics Pulumi.AwsNative.S3.Inputs.StorageLensActivityMetrics
A property for bucket-level activity metrics for S3 Storage Lens.
AdvancedCostOptimizationMetrics Pulumi.AwsNative.S3.Inputs.StorageLensAdvancedCostOptimizationMetrics
A property for bucket-level advanced cost optimization metrics for S3 Storage Lens.
AdvancedDataProtectionMetrics Pulumi.AwsNative.S3.Inputs.StorageLensAdvancedDataProtectionMetrics
A property for bucket-level advanced data protection metrics for S3 Storage Lens.
DetailedStatusCodesMetrics Pulumi.AwsNative.S3.Inputs.StorageLensDetailedStatusCodesMetrics
A property for bucket-level detailed status code metrics for S3 Storage Lens.
PrefixLevel Pulumi.AwsNative.S3.Inputs.StorageLensPrefixLevel
A property for bucket-level prefix-level storage metrics for S3 Storage Lens.
ActivityMetrics StorageLensActivityMetrics
A property for bucket-level activity metrics for S3 Storage Lens.
AdvancedCostOptimizationMetrics StorageLensAdvancedCostOptimizationMetrics
A property for bucket-level advanced cost optimization metrics for S3 Storage Lens.
AdvancedDataProtectionMetrics StorageLensAdvancedDataProtectionMetrics
A property for bucket-level advanced data protection metrics for S3 Storage Lens.
DetailedStatusCodesMetrics StorageLensDetailedStatusCodesMetrics
A property for bucket-level detailed status code metrics for S3 Storage Lens.
PrefixLevel StorageLensPrefixLevel
A property for bucket-level prefix-level storage metrics for S3 Storage Lens.
activityMetrics StorageLensActivityMetrics
A property for bucket-level activity metrics for S3 Storage Lens.
advancedCostOptimizationMetrics StorageLensAdvancedCostOptimizationMetrics
A property for bucket-level advanced cost optimization metrics for S3 Storage Lens.
advancedDataProtectionMetrics StorageLensAdvancedDataProtectionMetrics
A property for bucket-level advanced data protection metrics for S3 Storage Lens.
detailedStatusCodesMetrics StorageLensDetailedStatusCodesMetrics
A property for bucket-level detailed status code metrics for S3 Storage Lens.
prefixLevel StorageLensPrefixLevel
A property for bucket-level prefix-level storage metrics for S3 Storage Lens.
activityMetrics StorageLensActivityMetrics
A property for bucket-level activity metrics for S3 Storage Lens.
advancedCostOptimizationMetrics StorageLensAdvancedCostOptimizationMetrics
A property for bucket-level advanced cost optimization metrics for S3 Storage Lens.
advancedDataProtectionMetrics StorageLensAdvancedDataProtectionMetrics
A property for bucket-level advanced data protection metrics for S3 Storage Lens.
detailedStatusCodesMetrics StorageLensDetailedStatusCodesMetrics
A property for bucket-level detailed status code metrics for S3 Storage Lens.
prefixLevel StorageLensPrefixLevel
A property for bucket-level prefix-level storage metrics for S3 Storage Lens.
activity_metrics StorageLensActivityMetrics
A property for bucket-level activity metrics for S3 Storage Lens.
advanced_cost_optimization_metrics StorageLensAdvancedCostOptimizationMetrics
A property for bucket-level advanced cost optimization metrics for S3 Storage Lens.
advanced_data_protection_metrics StorageLensAdvancedDataProtectionMetrics
A property for bucket-level advanced data protection metrics for S3 Storage Lens.
detailed_status_codes_metrics StorageLensDetailedStatusCodesMetrics
A property for bucket-level detailed status code metrics for S3 Storage Lens.
prefix_level StorageLensPrefixLevel
A property for bucket-level prefix-level storage metrics for S3 Storage Lens.
activityMetrics Property Map
A property for bucket-level activity metrics for S3 Storage Lens.
advancedCostOptimizationMetrics Property Map
A property for bucket-level advanced cost optimization metrics for S3 Storage Lens.
advancedDataProtectionMetrics Property Map
A property for bucket-level advanced data protection metrics for S3 Storage Lens.
detailedStatusCodesMetrics Property Map
A property for bucket-level detailed status code metrics for S3 Storage Lens.
prefixLevel Property Map
A property for bucket-level prefix-level storage metrics for S3 Storage Lens.

StorageLensBucketsAndRegions
, StorageLensBucketsAndRegionsArgs

Buckets List<string>
This property contains the details of the buckets for the Amazon S3 Storage Lens configuration. This should be the bucket Amazon Resource Name(ARN). For valid values, see Buckets ARN format here in the Amazon S3 API Reference .
Regions List<string>
This property contains the details of the Regions for the S3 Storage Lens configuration.
Buckets []string
This property contains the details of the buckets for the Amazon S3 Storage Lens configuration. This should be the bucket Amazon Resource Name(ARN). For valid values, see Buckets ARN format here in the Amazon S3 API Reference .
Regions []string
This property contains the details of the Regions for the S3 Storage Lens configuration.
buckets List<String>
This property contains the details of the buckets for the Amazon S3 Storage Lens configuration. This should be the bucket Amazon Resource Name(ARN). For valid values, see Buckets ARN format here in the Amazon S3 API Reference .
regions List<String>
This property contains the details of the Regions for the S3 Storage Lens configuration.
buckets string[]
This property contains the details of the buckets for the Amazon S3 Storage Lens configuration. This should be the bucket Amazon Resource Name(ARN). For valid values, see Buckets ARN format here in the Amazon S3 API Reference .
regions string[]
This property contains the details of the Regions for the S3 Storage Lens configuration.
buckets Sequence[str]
This property contains the details of the buckets for the Amazon S3 Storage Lens configuration. This should be the bucket Amazon Resource Name(ARN). For valid values, see Buckets ARN format here in the Amazon S3 API Reference .
regions Sequence[str]
This property contains the details of the Regions for the S3 Storage Lens configuration.
buckets List<String>
This property contains the details of the buckets for the Amazon S3 Storage Lens configuration. This should be the bucket Amazon Resource Name(ARN). For valid values, see Buckets ARN format here in the Amazon S3 API Reference .
regions List<String>
This property contains the details of the Regions for the S3 Storage Lens configuration.

StorageLensCloudWatchMetrics
, StorageLensCloudWatchMetricsArgs

IsEnabled This property is required. bool
Specifies whether CloudWatch metrics are enabled or disabled.
IsEnabled This property is required. bool
Specifies whether CloudWatch metrics are enabled or disabled.
isEnabled This property is required. Boolean
Specifies whether CloudWatch metrics are enabled or disabled.
isEnabled This property is required. boolean
Specifies whether CloudWatch metrics are enabled or disabled.
is_enabled This property is required. bool
Specifies whether CloudWatch metrics are enabled or disabled.
isEnabled This property is required. Boolean
Specifies whether CloudWatch metrics are enabled or disabled.

StorageLensConfiguration
, StorageLensConfigurationArgs

AccountLevel This property is required. Pulumi.AwsNative.S3.Inputs.StorageLensAccountLevel
This property contains the details of the account-level metrics for Amazon S3 Storage Lens configuration.
Id
This property is required.
Changes to this property will trigger replacement.
string
This property contains the details of the ID of the S3 Storage Lens configuration.
IsEnabled This property is required. bool
Specifies whether the Amazon S3 Storage Lens configuration is enabled or disabled.
AwsOrg Pulumi.AwsNative.S3.Inputs.StorageLensAwsOrg
This property contains the details of the AWS Organization for the S3 Storage Lens configuration.
DataExport Pulumi.AwsNative.S3.Inputs.StorageLensDataExport
This property contains the details of this S3 Storage Lens configuration's metrics export.
Exclude Pulumi.AwsNative.S3.Inputs.StorageLensBucketsAndRegions
This property contains the details of the bucket and or Regions excluded for Amazon S3 Storage Lens configuration.
Include Pulumi.AwsNative.S3.Inputs.StorageLensBucketsAndRegions
This property contains the details of the bucket and or Regions included for Amazon S3 Storage Lens configuration.
StorageLensArn string
The ARN for the Amazon S3 Storage Lens configuration.
AccountLevel This property is required. StorageLensAccountLevel
This property contains the details of the account-level metrics for Amazon S3 Storage Lens configuration.
Id
This property is required.
Changes to this property will trigger replacement.
string
This property contains the details of the ID of the S3 Storage Lens configuration.
IsEnabled This property is required. bool
Specifies whether the Amazon S3 Storage Lens configuration is enabled or disabled.
AwsOrg StorageLensAwsOrg
This property contains the details of the AWS Organization for the S3 Storage Lens configuration.
DataExport StorageLensDataExport
This property contains the details of this S3 Storage Lens configuration's metrics export.
Exclude StorageLensBucketsAndRegions
This property contains the details of the bucket and or Regions excluded for Amazon S3 Storage Lens configuration.
Include StorageLensBucketsAndRegions
This property contains the details of the bucket and or Regions included for Amazon S3 Storage Lens configuration.
StorageLensArn string
The ARN for the Amazon S3 Storage Lens configuration.
accountLevel This property is required. StorageLensAccountLevel
This property contains the details of the account-level metrics for Amazon S3 Storage Lens configuration.
id
This property is required.
Changes to this property will trigger replacement.
String
This property contains the details of the ID of the S3 Storage Lens configuration.
isEnabled This property is required. Boolean
Specifies whether the Amazon S3 Storage Lens configuration is enabled or disabled.
awsOrg StorageLensAwsOrg
This property contains the details of the AWS Organization for the S3 Storage Lens configuration.
dataExport StorageLensDataExport
This property contains the details of this S3 Storage Lens configuration's metrics export.
exclude StorageLensBucketsAndRegions
This property contains the details of the bucket and or Regions excluded for Amazon S3 Storage Lens configuration.
include StorageLensBucketsAndRegions
This property contains the details of the bucket and or Regions included for Amazon S3 Storage Lens configuration.
storageLensArn String
The ARN for the Amazon S3 Storage Lens configuration.
accountLevel This property is required. StorageLensAccountLevel
This property contains the details of the account-level metrics for Amazon S3 Storage Lens configuration.
id
This property is required.
Changes to this property will trigger replacement.
string
This property contains the details of the ID of the S3 Storage Lens configuration.
isEnabled This property is required. boolean
Specifies whether the Amazon S3 Storage Lens configuration is enabled or disabled.
awsOrg StorageLensAwsOrg
This property contains the details of the AWS Organization for the S3 Storage Lens configuration.
dataExport StorageLensDataExport
This property contains the details of this S3 Storage Lens configuration's metrics export.
exclude StorageLensBucketsAndRegions
This property contains the details of the bucket and or Regions excluded for Amazon S3 Storage Lens configuration.
include StorageLensBucketsAndRegions
This property contains the details of the bucket and or Regions included for Amazon S3 Storage Lens configuration.
storageLensArn string
The ARN for the Amazon S3 Storage Lens configuration.
account_level This property is required. StorageLensAccountLevel
This property contains the details of the account-level metrics for Amazon S3 Storage Lens configuration.
id
This property is required.
Changes to this property will trigger replacement.
str
This property contains the details of the ID of the S3 Storage Lens configuration.
is_enabled This property is required. bool
Specifies whether the Amazon S3 Storage Lens configuration is enabled or disabled.
aws_org StorageLensAwsOrg
This property contains the details of the AWS Organization for the S3 Storage Lens configuration.
data_export StorageLensDataExport
This property contains the details of this S3 Storage Lens configuration's metrics export.
exclude StorageLensBucketsAndRegions
This property contains the details of the bucket and or Regions excluded for Amazon S3 Storage Lens configuration.
include StorageLensBucketsAndRegions
This property contains the details of the bucket and or Regions included for Amazon S3 Storage Lens configuration.
storage_lens_arn str
The ARN for the Amazon S3 Storage Lens configuration.
accountLevel This property is required. Property Map
This property contains the details of the account-level metrics for Amazon S3 Storage Lens configuration.
id
This property is required.
Changes to this property will trigger replacement.
String
This property contains the details of the ID of the S3 Storage Lens configuration.
isEnabled This property is required. Boolean
Specifies whether the Amazon S3 Storage Lens configuration is enabled or disabled.
awsOrg Property Map
This property contains the details of the AWS Organization for the S3 Storage Lens configuration.
dataExport Property Map
This property contains the details of this S3 Storage Lens configuration's metrics export.
exclude Property Map
This property contains the details of the bucket and or Regions excluded for Amazon S3 Storage Lens configuration.
include Property Map
This property contains the details of the bucket and or Regions included for Amazon S3 Storage Lens configuration.
storageLensArn String
The ARN for the Amazon S3 Storage Lens configuration.

StorageLensDataExport
, StorageLensDataExportArgs

CloudWatchMetrics Pulumi.AwsNative.S3.Inputs.StorageLensCloudWatchMetrics
This property enables the Amazon CloudWatch publishing option for S3 Storage Lens metrics.
S3BucketDestination Pulumi.AwsNative.S3.Inputs.StorageLensS3BucketDestination
This property contains the details of the bucket where the S3 Storage Lens metrics export will be placed.
CloudWatchMetrics StorageLensCloudWatchMetrics
This property enables the Amazon CloudWatch publishing option for S3 Storage Lens metrics.
S3BucketDestination StorageLensS3BucketDestination
This property contains the details of the bucket where the S3 Storage Lens metrics export will be placed.
cloudWatchMetrics StorageLensCloudWatchMetrics
This property enables the Amazon CloudWatch publishing option for S3 Storage Lens metrics.
s3BucketDestination StorageLensS3BucketDestination
This property contains the details of the bucket where the S3 Storage Lens metrics export will be placed.
cloudWatchMetrics StorageLensCloudWatchMetrics
This property enables the Amazon CloudWatch publishing option for S3 Storage Lens metrics.
s3BucketDestination StorageLensS3BucketDestination
This property contains the details of the bucket where the S3 Storage Lens metrics export will be placed.
cloud_watch_metrics StorageLensCloudWatchMetrics
This property enables the Amazon CloudWatch publishing option for S3 Storage Lens metrics.
s3_bucket_destination StorageLensS3BucketDestination
This property contains the details of the bucket where the S3 Storage Lens metrics export will be placed.
cloudWatchMetrics Property Map
This property enables the Amazon CloudWatch publishing option for S3 Storage Lens metrics.
s3BucketDestination Property Map
This property contains the details of the bucket where the S3 Storage Lens metrics export will be placed.

StorageLensDetailedStatusCodesMetrics
, StorageLensDetailedStatusCodesMetricsArgs

IsEnabled bool
Specifies whether detailed status codes metrics are enabled or disabled.
IsEnabled bool
Specifies whether detailed status codes metrics are enabled or disabled.
isEnabled Boolean
Specifies whether detailed status codes metrics are enabled or disabled.
isEnabled boolean
Specifies whether detailed status codes metrics are enabled or disabled.
is_enabled bool
Specifies whether detailed status codes metrics are enabled or disabled.
isEnabled Boolean
Specifies whether detailed status codes metrics are enabled or disabled.

StorageLensGroupLevel
, StorageLensGroupLevelArgs

StorageLensGroupSelectionCriteria Pulumi.AwsNative.S3.Inputs.StorageLensGroupSelectionCriteria
This property indicates which Storage Lens group ARNs to include or exclude in the Storage Lens group aggregation. If this value is left null, then all Storage Lens groups are selected.
StorageLensGroupSelectionCriteria StorageLensGroupSelectionCriteria
This property indicates which Storage Lens group ARNs to include or exclude in the Storage Lens group aggregation. If this value is left null, then all Storage Lens groups are selected.
storageLensGroupSelectionCriteria StorageLensGroupSelectionCriteria
This property indicates which Storage Lens group ARNs to include or exclude in the Storage Lens group aggregation. If this value is left null, then all Storage Lens groups are selected.
storageLensGroupSelectionCriteria StorageLensGroupSelectionCriteria
This property indicates which Storage Lens group ARNs to include or exclude in the Storage Lens group aggregation. If this value is left null, then all Storage Lens groups are selected.
storage_lens_group_selection_criteria StorageLensGroupSelectionCriteria
This property indicates which Storage Lens group ARNs to include or exclude in the Storage Lens group aggregation. If this value is left null, then all Storage Lens groups are selected.
storageLensGroupSelectionCriteria Property Map
This property indicates which Storage Lens group ARNs to include or exclude in the Storage Lens group aggregation. If this value is left null, then all Storage Lens groups are selected.

StorageLensGroupSelectionCriteria
, StorageLensGroupSelectionCriteriaArgs

Exclude List<string>
This property indicates which Storage Lens group ARNs to exclude from the Storage Lens group aggregation.
Include List<string>
This property indicates which Storage Lens group ARNs to include in the Storage Lens group aggregation.
Exclude []string
This property indicates which Storage Lens group ARNs to exclude from the Storage Lens group aggregation.
Include []string
This property indicates which Storage Lens group ARNs to include in the Storage Lens group aggregation.
exclude List<String>
This property indicates which Storage Lens group ARNs to exclude from the Storage Lens group aggregation.
include List<String>
This property indicates which Storage Lens group ARNs to include in the Storage Lens group aggregation.
exclude string[]
This property indicates which Storage Lens group ARNs to exclude from the Storage Lens group aggregation.
include string[]
This property indicates which Storage Lens group ARNs to include in the Storage Lens group aggregation.
exclude Sequence[str]
This property indicates which Storage Lens group ARNs to exclude from the Storage Lens group aggregation.
include Sequence[str]
This property indicates which Storage Lens group ARNs to include in the Storage Lens group aggregation.
exclude List<String>
This property indicates which Storage Lens group ARNs to exclude from the Storage Lens group aggregation.
include List<String>
This property indicates which Storage Lens group ARNs to include in the Storage Lens group aggregation.

StorageLensPrefixLevel
, StorageLensPrefixLevelArgs

StorageMetrics This property is required. Pulumi.AwsNative.S3.Inputs.StorageLensPrefixLevelStorageMetrics
A property for the prefix-level storage metrics for Amazon S3 Storage Lens.
StorageMetrics This property is required. StorageLensPrefixLevelStorageMetrics
A property for the prefix-level storage metrics for Amazon S3 Storage Lens.
storageMetrics This property is required. StorageLensPrefixLevelStorageMetrics
A property for the prefix-level storage metrics for Amazon S3 Storage Lens.
storageMetrics This property is required. StorageLensPrefixLevelStorageMetrics
A property for the prefix-level storage metrics for Amazon S3 Storage Lens.
storage_metrics This property is required. StorageLensPrefixLevelStorageMetrics
A property for the prefix-level storage metrics for Amazon S3 Storage Lens.
storageMetrics This property is required. Property Map
A property for the prefix-level storage metrics for Amazon S3 Storage Lens.

StorageLensPrefixLevelStorageMetrics
, StorageLensPrefixLevelStorageMetricsArgs

IsEnabled bool
Specifies whether prefix-level storage metrics are enabled or disabled.
SelectionCriteria Pulumi.AwsNative.S3.Inputs.StorageLensSelectionCriteria
This property identifies whether the details of the prefix-level storage metrics for S3 Storage Lens are enabled.
IsEnabled bool
Specifies whether prefix-level storage metrics are enabled or disabled.
SelectionCriteria StorageLensSelectionCriteria
This property identifies whether the details of the prefix-level storage metrics for S3 Storage Lens are enabled.
isEnabled Boolean
Specifies whether prefix-level storage metrics are enabled or disabled.
selectionCriteria StorageLensSelectionCriteria
This property identifies whether the details of the prefix-level storage metrics for S3 Storage Lens are enabled.
isEnabled boolean
Specifies whether prefix-level storage metrics are enabled or disabled.
selectionCriteria StorageLensSelectionCriteria
This property identifies whether the details of the prefix-level storage metrics for S3 Storage Lens are enabled.
is_enabled bool
Specifies whether prefix-level storage metrics are enabled or disabled.
selection_criteria StorageLensSelectionCriteria
This property identifies whether the details of the prefix-level storage metrics for S3 Storage Lens are enabled.
isEnabled Boolean
Specifies whether prefix-level storage metrics are enabled or disabled.
selectionCriteria Property Map
This property identifies whether the details of the prefix-level storage metrics for S3 Storage Lens are enabled.

StorageLensS3BucketDestination
, StorageLensS3BucketDestinationArgs

AccountId This property is required. string
The AWS account ID that owns the destination S3 bucket.
Arn This property is required. string
The ARN of the bucket to which Amazon S3 Storage Lens exports will be placed.
Format This property is required. Pulumi.AwsNative.S3.StorageLensS3BucketDestinationFormat
Specifies the file format to use when exporting Amazon S3 Storage Lens metrics export.
OutputSchemaVersion This property is required. Pulumi.AwsNative.S3.StorageLensS3BucketDestinationOutputSchemaVersion
The version of the output schema to use when exporting Amazon S3 Storage Lens metrics.
Encryption Pulumi.AwsNative.S3.Inputs.StorageLensEncryption
This property contains the details of the encryption of the bucket destination of the Amazon S3 Storage Lens metrics export.
Prefix string
The prefix to use for Amazon S3 Storage Lens export.
AccountId This property is required. string
The AWS account ID that owns the destination S3 bucket.
Arn This property is required. string
The ARN of the bucket to which Amazon S3 Storage Lens exports will be placed.
Format This property is required. StorageLensS3BucketDestinationFormat
Specifies the file format to use when exporting Amazon S3 Storage Lens metrics export.
OutputSchemaVersion This property is required. StorageLensS3BucketDestinationOutputSchemaVersion
The version of the output schema to use when exporting Amazon S3 Storage Lens metrics.
Encryption StorageLensEncryption
This property contains the details of the encryption of the bucket destination of the Amazon S3 Storage Lens metrics export.
Prefix string
The prefix to use for Amazon S3 Storage Lens export.
accountId This property is required. String
The AWS account ID that owns the destination S3 bucket.
arn This property is required. String
The ARN of the bucket to which Amazon S3 Storage Lens exports will be placed.
format This property is required. StorageLensS3BucketDestinationFormat
Specifies the file format to use when exporting Amazon S3 Storage Lens metrics export.
outputSchemaVersion This property is required. StorageLensS3BucketDestinationOutputSchemaVersion
The version of the output schema to use when exporting Amazon S3 Storage Lens metrics.
encryption StorageLensEncryption
This property contains the details of the encryption of the bucket destination of the Amazon S3 Storage Lens metrics export.
prefix String
The prefix to use for Amazon S3 Storage Lens export.
accountId This property is required. string
The AWS account ID that owns the destination S3 bucket.
arn This property is required. string
The ARN of the bucket to which Amazon S3 Storage Lens exports will be placed.
format This property is required. StorageLensS3BucketDestinationFormat
Specifies the file format to use when exporting Amazon S3 Storage Lens metrics export.
outputSchemaVersion This property is required. StorageLensS3BucketDestinationOutputSchemaVersion
The version of the output schema to use when exporting Amazon S3 Storage Lens metrics.
encryption StorageLensEncryption
This property contains the details of the encryption of the bucket destination of the Amazon S3 Storage Lens metrics export.
prefix string
The prefix to use for Amazon S3 Storage Lens export.
account_id This property is required. str
The AWS account ID that owns the destination S3 bucket.
arn This property is required. str
The ARN of the bucket to which Amazon S3 Storage Lens exports will be placed.
format This property is required. StorageLensS3BucketDestinationFormat
Specifies the file format to use when exporting Amazon S3 Storage Lens metrics export.
output_schema_version This property is required. StorageLensS3BucketDestinationOutputSchemaVersion
The version of the output schema to use when exporting Amazon S3 Storage Lens metrics.
encryption StorageLensEncryption
This property contains the details of the encryption of the bucket destination of the Amazon S3 Storage Lens metrics export.
prefix str
The prefix to use for Amazon S3 Storage Lens export.
accountId This property is required. String
The AWS account ID that owns the destination S3 bucket.
arn This property is required. String
The ARN of the bucket to which Amazon S3 Storage Lens exports will be placed.
format This property is required. "CSV" | "Parquet"
Specifies the file format to use when exporting Amazon S3 Storage Lens metrics export.
outputSchemaVersion This property is required. "V_1"
The version of the output schema to use when exporting Amazon S3 Storage Lens metrics.
encryption Property Map
This property contains the details of the encryption of the bucket destination of the Amazon S3 Storage Lens metrics export.
prefix String
The prefix to use for Amazon S3 Storage Lens export.

StorageLensS3BucketDestinationFormat
, StorageLensS3BucketDestinationFormatArgs

Csv
CSV
Parquet
Parquet
StorageLensS3BucketDestinationFormatCsv
CSV
StorageLensS3BucketDestinationFormatParquet
Parquet
Csv
CSV
Parquet
Parquet
Csv
CSV
Parquet
Parquet
CSV
CSV
PARQUET
Parquet
"CSV"
CSV
"Parquet"
Parquet

StorageLensS3BucketDestinationOutputSchemaVersion
, StorageLensS3BucketDestinationOutputSchemaVersionArgs

V1
V_1
StorageLensS3BucketDestinationOutputSchemaVersionV1
V_1
V1
V_1
V1
V_1
V1
V_1
"V_1"
V_1

StorageLensSelectionCriteria
, StorageLensSelectionCriteriaArgs

Delimiter string
Delimiter to divide S3 key into hierarchy of prefixes.
MaxDepth int
Max depth of prefixes of S3 key that Amazon S3 Storage Lens will analyze.
MinStorageBytesPercentage double
The minimum storage bytes threshold for the prefixes to be included in the analysis.
Delimiter string
Delimiter to divide S3 key into hierarchy of prefixes.
MaxDepth int
Max depth of prefixes of S3 key that Amazon S3 Storage Lens will analyze.
MinStorageBytesPercentage float64
The minimum storage bytes threshold for the prefixes to be included in the analysis.
delimiter String
Delimiter to divide S3 key into hierarchy of prefixes.
maxDepth Integer
Max depth of prefixes of S3 key that Amazon S3 Storage Lens will analyze.
minStorageBytesPercentage Double
The minimum storage bytes threshold for the prefixes to be included in the analysis.
delimiter string
Delimiter to divide S3 key into hierarchy of prefixes.
maxDepth number
Max depth of prefixes of S3 key that Amazon S3 Storage Lens will analyze.
minStorageBytesPercentage number
The minimum storage bytes threshold for the prefixes to be included in the analysis.
delimiter str
Delimiter to divide S3 key into hierarchy of prefixes.
max_depth int
Max depth of prefixes of S3 key that Amazon S3 Storage Lens will analyze.
min_storage_bytes_percentage float
The minimum storage bytes threshold for the prefixes to be included in the analysis.
delimiter String
Delimiter to divide S3 key into hierarchy of prefixes.
maxDepth Number
Max depth of prefixes of S3 key that Amazon S3 Storage Lens will analyze.
minStorageBytesPercentage Number
The minimum storage bytes threshold for the prefixes to be included in the analysis.

Tag
, TagArgs

Key This property is required. string
The key name of the tag
Value This property is required. string
The value of the tag
Key This property is required. string
The key name of the tag
Value This property is required. string
The value of the tag
key This property is required. String
The key name of the tag
value This property is required. String
The value of the tag
key This property is required. string
The key name of the tag
value This property is required. string
The value of the tag
key This property is required. str
The key name of the tag
value This property is required. str
The value of the tag
key This property is required. String
The key name of the tag
value This property is required. String
The value of the tag

Package Details

Repository
AWS Native pulumi/pulumi-aws-native
License
Apache-2.0

We recommend new projects start with resources from the AWS provider.

AWS Cloud Control v1.27.0 published on Monday, Apr 14, 2025 by Pulumi