AWS Native is in preview. AWS Classic is fully supported.
AWS Native v0.100.0 published on Wednesday, Mar 27, 2024 by Pulumi
aws-native.s3.StorageLens
Explore with Pulumi AI
AWS Native is in preview. AWS Classic is fully supported.
AWS Native v0.100.0 published on Wednesday, Mar 27, 2024 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
new StorageLens(name: string, args: StorageLensArgs, opts?: CustomResourceOptions);
@overload
def StorageLens(resource_name: str,
opts: Optional[ResourceOptions] = None,
storage_lens_configuration: Optional[StorageLensConfigurationArgs] = None,
tags: Optional[Sequence[_root_inputs.TagArgs]] = None)
@overload
def StorageLens(resource_name: str,
args: StorageLensArgs,
opts: Optional[ResourceOptions] = 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.
- name string
- The unique name of the resource.
- args StorageLensArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args 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 string
- The unique name of the resource.
- args StorageLensArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args StorageLensArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args 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
The StorageLens resource accepts the following input properties:
- Storage
Lens Pulumi.Configuration Aws Native. S3. Inputs. Storage Lens Configuration - List<Pulumi.
Aws Native. Inputs. Tag> - A set of tags (key-value pairs) for this Amazon S3 Storage Lens configuration.
- Storage
Lens StorageConfiguration Lens Configuration Args - Tag
Args - A set of tags (key-value pairs) for this Amazon S3 Storage Lens configuration.
- storage
Lens StorageConfiguration Lens Configuration - List<Tag>
- A set of tags (key-value pairs) for this Amazon S3 Storage Lens configuration.
- storage
Lens StorageConfiguration Lens Configuration - Tag[]
- A set of tags (key-value pairs) for this Amazon S3 Storage Lens configuration.
- storage_
lens_ Storageconfiguration Lens Configuration Args - Tag
Args] - A set of tags (key-value pairs) for this Amazon S3 Storage Lens configuration.
- storage
Lens Property MapConfiguration - 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
- Bucket
Level Pulumi.Aws Native. S3. Inputs. Storage Lens Bucket Level - Activity
Metrics Pulumi.Aws Native. S3. Inputs. Storage Lens Activity Metrics - Advanced
Cost Pulumi.Optimization Metrics Aws Native. S3. Inputs. Storage Lens Advanced Cost Optimization Metrics - Advanced
Data Pulumi.Protection Metrics Aws Native. S3. Inputs. Storage Lens Advanced Data Protection Metrics - Detailed
Status Pulumi.Codes Metrics Aws Native. S3. Inputs. Storage Lens Detailed Status Codes Metrics - Storage
Lens Pulumi.Group Level Aws Native. S3. Inputs. Storage Lens Group Level
- Bucket
Level StorageLens Bucket Level - Activity
Metrics StorageLens Activity Metrics - Advanced
Cost StorageOptimization Metrics Lens Advanced Cost Optimization Metrics - Advanced
Data StorageProtection Metrics Lens Advanced Data Protection Metrics - Detailed
Status StorageCodes Metrics Lens Detailed Status Codes Metrics - Storage
Lens StorageGroup Level Lens Group Level
- bucket
Level StorageLens Bucket Level - activity
Metrics StorageLens Activity Metrics - advanced
Cost StorageOptimization Metrics Lens Advanced Cost Optimization Metrics - advanced
Data StorageProtection Metrics Lens Advanced Data Protection Metrics - detailed
Status StorageCodes Metrics Lens Detailed Status Codes Metrics - storage
Lens StorageGroup Level Lens Group Level
- bucket
Level StorageLens Bucket Level - activity
Metrics StorageLens Activity Metrics - advanced
Cost StorageOptimization Metrics Lens Advanced Cost Optimization Metrics - advanced
Data StorageProtection Metrics Lens Advanced Data Protection Metrics - detailed
Status StorageCodes Metrics Lens Detailed Status Codes Metrics - storage
Lens StorageGroup Level Lens Group Level
- bucket_
level StorageLens Bucket Level - activity_
metrics StorageLens Activity Metrics - advanced_
cost_ Storageoptimization_ metrics Lens Advanced Cost Optimization Metrics - advanced_
data_ Storageprotection_ metrics Lens Advanced Data Protection Metrics - detailed_
status_ Storagecodes_ metrics Lens Detailed Status Codes Metrics - storage_
lens_ Storagegroup_ level Lens Group Level
StorageLensActivityMetrics, StorageLensActivityMetricsArgs
- Is
Enabled bool - Specifies whether activity metrics are enabled or disabled.
- Is
Enabled bool - Specifies whether activity metrics are enabled or disabled.
- is
Enabled Boolean - Specifies whether activity metrics are enabled or disabled.
- is
Enabled boolean - Specifies whether activity metrics are enabled or disabled.
- is_
enabled bool - Specifies whether activity metrics are enabled or disabled.
- is
Enabled Boolean - Specifies whether activity metrics are enabled or disabled.
StorageLensAdvancedCostOptimizationMetrics, StorageLensAdvancedCostOptimizationMetricsArgs
- Is
Enabled bool - Specifies whether advanced cost optimization metrics are enabled or disabled.
- Is
Enabled bool - Specifies whether advanced cost optimization metrics are enabled or disabled.
- is
Enabled Boolean - Specifies whether advanced cost optimization metrics are enabled or disabled.
- is
Enabled boolean - Specifies whether advanced cost optimization metrics are enabled or disabled.
- is_
enabled bool - Specifies whether advanced cost optimization metrics are enabled or disabled.
- is
Enabled Boolean - Specifies whether advanced cost optimization metrics are enabled or disabled.
StorageLensAdvancedDataProtectionMetrics, StorageLensAdvancedDataProtectionMetricsArgs
- Is
Enabled bool - Specifies whether advanced data protection metrics are enabled or disabled.
- Is
Enabled bool - Specifies whether advanced data protection metrics are enabled or disabled.
- is
Enabled Boolean - Specifies whether advanced data protection metrics are enabled or disabled.
- is
Enabled boolean - Specifies whether advanced data protection metrics are enabled or disabled.
- is_
enabled bool - Specifies whether advanced data protection metrics are enabled or disabled.
- is
Enabled Boolean - Specifies whether advanced data protection metrics are enabled or disabled.
StorageLensAwsOrg, StorageLensAwsOrgArgs
- Arn string
- Arn string
- arn String
- arn string
- arn str
- arn String
StorageLensBucketLevel, StorageLensBucketLevelArgs
- Activity
Metrics Pulumi.Aws Native. S3. Inputs. Storage Lens Activity Metrics - Advanced
Cost Pulumi.Optimization Metrics Aws Native. S3. Inputs. Storage Lens Advanced Cost Optimization Metrics - Advanced
Data Pulumi.Protection Metrics Aws Native. S3. Inputs. Storage Lens Advanced Data Protection Metrics - Detailed
Status Pulumi.Codes Metrics Aws Native. S3. Inputs. Storage Lens Detailed Status Codes Metrics - Prefix
Level Pulumi.Aws Native. S3. Inputs. Storage Lens Prefix Level
StorageLensBucketsAndRegions, StorageLensBucketsAndRegionsArgs
StorageLensCloudWatchMetrics, StorageLensCloudWatchMetricsArgs
- Is
Enabled bool - Specifies whether CloudWatch metrics are enabled or disabled.
- Is
Enabled bool - Specifies whether CloudWatch metrics are enabled or disabled.
- is
Enabled Boolean - Specifies whether CloudWatch metrics are enabled or disabled.
- is
Enabled boolean - Specifies whether CloudWatch metrics are enabled or disabled.
- is_
enabled bool - Specifies whether CloudWatch metrics are enabled or disabled.
- is
Enabled Boolean - Specifies whether CloudWatch metrics are enabled or disabled.
StorageLensConfiguration, StorageLensConfigurationArgs
- Account
Level Pulumi.Aws Native. S3. Inputs. Storage Lens Account Level - Id string
- Is
Enabled bool - Specifies whether the Amazon S3 Storage Lens configuration is enabled or disabled.
- Aws
Org Pulumi.Aws Native. S3. Inputs. Storage Lens Aws Org - Data
Export Pulumi.Aws Native. S3. Inputs. Storage Lens Data Export - Exclude
Pulumi.
Aws Native. S3. Inputs. Storage Lens Buckets And Regions - Include
Pulumi.
Aws Native. S3. Inputs. Storage Lens Buckets And Regions - Storage
Lens stringArn - The ARN for the Amazon S3 Storage Lens configuration.
- Account
Level StorageLens Account Level - Id string
- Is
Enabled bool - Specifies whether the Amazon S3 Storage Lens configuration is enabled or disabled.
- Aws
Org StorageLens Aws Org - Data
Export StorageLens Data Export - Exclude
Storage
Lens Buckets And Regions - Include
Storage
Lens Buckets And Regions - Storage
Lens stringArn - The ARN for the Amazon S3 Storage Lens configuration.
- account
Level StorageLens Account Level - id String
- is
Enabled Boolean - Specifies whether the Amazon S3 Storage Lens configuration is enabled or disabled.
- aws
Org StorageLens Aws Org - data
Export StorageLens Data Export - exclude
Storage
Lens Buckets And Regions - include
Storage
Lens Buckets And Regions - storage
Lens StringArn - The ARN for the Amazon S3 Storage Lens configuration.
- account
Level StorageLens Account Level - id string
- is
Enabled boolean - Specifies whether the Amazon S3 Storage Lens configuration is enabled or disabled.
- aws
Org StorageLens Aws Org - data
Export StorageLens Data Export - exclude
Storage
Lens Buckets And Regions - include
Storage
Lens Buckets And Regions - storage
Lens stringArn - The ARN for the Amazon S3 Storage Lens configuration.
- account_
level StorageLens Account Level - id str
- is_
enabled bool - Specifies whether the Amazon S3 Storage Lens configuration is enabled or disabled.
- aws_
org StorageLens Aws Org - data_
export StorageLens Data Export - exclude
Storage
Lens Buckets And Regions - include
Storage
Lens Buckets And Regions - storage_
lens_ strarn - The ARN for the Amazon S3 Storage Lens configuration.
- account
Level Property Map - id String
- is
Enabled Boolean - Specifies whether the Amazon S3 Storage Lens configuration is enabled or disabled.
- aws
Org Property Map - data
Export Property Map - exclude Property Map
- include Property Map
- storage
Lens StringArn - The ARN for the Amazon S3 Storage Lens configuration.
StorageLensDataExport, StorageLensDataExportArgs
StorageLensDetailedStatusCodesMetrics, StorageLensDetailedStatusCodesMetricsArgs
- Is
Enabled bool - Specifies whether detailed status codes metrics are enabled or disabled.
- Is
Enabled bool - Specifies whether detailed status codes metrics are enabled or disabled.
- is
Enabled Boolean - Specifies whether detailed status codes metrics are enabled or disabled.
- is
Enabled boolean - Specifies whether detailed status codes metrics are enabled or disabled.
- is_
enabled bool - Specifies whether detailed status codes metrics are enabled or disabled.
- is
Enabled Boolean - Specifies whether detailed status codes metrics are enabled or disabled.
StorageLensGroupLevel, StorageLensGroupLevelArgs
StorageLensGroupSelectionCriteria, StorageLensGroupSelectionCriteriaArgs
StorageLensPrefixLevel, StorageLensPrefixLevelArgs
StorageLensPrefixLevelStorageMetrics, StorageLensPrefixLevelStorageMetricsArgs
- Is
Enabled bool - Specifies whether prefix-level storage metrics are enabled or disabled.
- Selection
Criteria Pulumi.Aws Native. S3. Inputs. Storage Lens Selection Criteria
- Is
Enabled bool - Specifies whether prefix-level storage metrics are enabled or disabled.
- Selection
Criteria StorageLens Selection Criteria
- is
Enabled Boolean - Specifies whether prefix-level storage metrics are enabled or disabled.
- selection
Criteria StorageLens Selection Criteria
- is
Enabled boolean - Specifies whether prefix-level storage metrics are enabled or disabled.
- selection
Criteria StorageLens Selection Criteria
- is_
enabled bool - Specifies whether prefix-level storage metrics are enabled or disabled.
- selection_
criteria StorageLens Selection Criteria
- is
Enabled Boolean - Specifies whether prefix-level storage metrics are enabled or disabled.
- selection
Criteria Property Map
StorageLensS3BucketDestination, StorageLensS3BucketDestinationArgs
- Account
Id string - The AWS account ID that owns the destination S3 bucket.
- Arn string
- The ARN of the bucket to which Amazon S3 Storage Lens exports will be placed.
- Format
Pulumi.
Aws Native. S3. Storage Lens S3Bucket Destination Format - Specifies the file format to use when exporting Amazon S3 Storage Lens metrics export.
- Output
Schema Pulumi.Version Aws Native. S3. Storage Lens S3Bucket Destination Output Schema Version - The version of the output schema to use when exporting Amazon S3 Storage Lens metrics.
- Encryption
Pulumi.
Aws Native. S3. Inputs. Storage Lens Encryption - Prefix string
- The prefix to use for Amazon S3 Storage Lens export.
- Account
Id string - The AWS account ID that owns the destination S3 bucket.
- Arn string
- The ARN of the bucket to which Amazon S3 Storage Lens exports will be placed.
- Format
Storage
Lens S3Bucket Destination Format - Specifies the file format to use when exporting Amazon S3 Storage Lens metrics export.
- Output
Schema StorageVersion Lens S3Bucket Destination Output Schema Version - The version of the output schema to use when exporting Amazon S3 Storage Lens metrics.
- Encryption
Storage
Lens Encryption - Prefix string
- The prefix to use for Amazon S3 Storage Lens export.
- account
Id String - The AWS account ID that owns the destination S3 bucket.
- arn String
- The ARN of the bucket to which Amazon S3 Storage Lens exports will be placed.
- format
Storage
Lens S3Bucket Destination Format - Specifies the file format to use when exporting Amazon S3 Storage Lens metrics export.
- output
Schema StorageVersion Lens S3Bucket Destination Output Schema Version - The version of the output schema to use when exporting Amazon S3 Storage Lens metrics.
- encryption
Storage
Lens Encryption - prefix String
- The prefix to use for Amazon S3 Storage Lens export.
- account
Id string - The AWS account ID that owns the destination S3 bucket.
- arn string
- The ARN of the bucket to which Amazon S3 Storage Lens exports will be placed.
- format
Storage
Lens S3Bucket Destination Format - Specifies the file format to use when exporting Amazon S3 Storage Lens metrics export.
- output
Schema StorageVersion Lens S3Bucket Destination Output Schema Version - The version of the output schema to use when exporting Amazon S3 Storage Lens metrics.
- encryption
Storage
Lens Encryption - prefix string
- The prefix to use for Amazon S3 Storage Lens export.
- account_
id str - The AWS account ID that owns the destination S3 bucket.
- arn str
- The ARN of the bucket to which Amazon S3 Storage Lens exports will be placed.
- format
Storage
Lens S3Bucket Destination Format - Specifies the file format to use when exporting Amazon S3 Storage Lens metrics export.
- output_
schema_ Storageversion Lens S3Bucket Destination Output Schema Version - The version of the output schema to use when exporting Amazon S3 Storage Lens metrics.
- encryption
Storage
Lens Encryption - prefix str
- The prefix to use for Amazon S3 Storage Lens export.
- account
Id String - The AWS account ID that owns the destination S3 bucket.
- arn String
- The ARN of the bucket to which Amazon S3 Storage Lens exports will be placed.
- format "CSV" | "Parquet"
- Specifies the file format to use when exporting Amazon S3 Storage Lens metrics export.
- output
Schema "V_1"Version - The version of the output schema to use when exporting Amazon S3 Storage Lens metrics.
- encryption Property Map
- prefix String
- The prefix to use for Amazon S3 Storage Lens export.
StorageLensS3BucketDestinationFormat, StorageLensS3BucketDestinationFormatArgs
- Csv
- CSV
- Parquet
- Parquet
- Storage
Lens S3Bucket Destination Format Csv - CSV
- Storage
Lens S3Bucket Destination Format Parquet - Parquet
- Csv
- CSV
- Parquet
- Parquet
- Csv
- CSV
- Parquet
- Parquet
- CSV
- CSV
- PARQUET
- Parquet
- "CSV"
- CSV
- "Parquet"
- Parquet
StorageLensS3BucketDestinationOutputSchemaVersion, StorageLensS3BucketDestinationOutputSchemaVersionArgs
- V1
- V_1
- Storage
Lens S3Bucket Destination Output Schema Version V1 - 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.
- Max
Depth int - Max depth of prefixes of S3 key that Amazon S3 Storage Lens will analyze.
- Min
Storage doubleBytes Percentage - 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.
- Max
Depth int - Max depth of prefixes of S3 key that Amazon S3 Storage Lens will analyze.
- Min
Storage float64Bytes Percentage - 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.
- max
Depth Integer - Max depth of prefixes of S3 key that Amazon S3 Storage Lens will analyze.
- min
Storage DoubleBytes Percentage - 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.
- max
Depth number - Max depth of prefixes of S3 key that Amazon S3 Storage Lens will analyze.
- min
Storage numberBytes Percentage - 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_ floatbytes_ percentage - 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.
- max
Depth Number - Max depth of prefixes of S3 key that Amazon S3 Storage Lens will analyze.
- min
Storage NumberBytes Percentage - The minimum storage bytes threshold for the prefixes to be included in the analysis.
Tag, TagArgs
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
AWS Native is in preview. AWS Classic is fully supported.
AWS Native v0.100.0 published on Wednesday, Mar 27, 2024 by Pulumi