Try AWS Native preview for resources not in the classic version.
aws.s3control.StorageLensConfiguration
Explore with Pulumi AI
Try AWS Native preview for resources not in the classic version.
Provides a resource to manage an S3 Storage Lens configuration.
Example Usage
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Aws = Pulumi.Aws;
return await Deployment.RunAsync(() =>
{
var current = Aws.GetCallerIdentity.Invoke();
var example = new Aws.S3Control.StorageLensConfiguration("example", new()
{
ConfigId = "example-1",
StorageLensConfigurationDetail = new Aws.S3Control.Inputs.StorageLensConfigurationStorageLensConfigurationArgs
{
Enabled = true,
AccountLevel = new Aws.S3Control.Inputs.StorageLensConfigurationStorageLensConfigurationAccountLevelArgs
{
ActivityMetrics = new Aws.S3Control.Inputs.StorageLensConfigurationStorageLensConfigurationAccountLevelActivityMetricsArgs
{
Enabled = true,
},
BucketLevel = new Aws.S3Control.Inputs.StorageLensConfigurationStorageLensConfigurationAccountLevelBucketLevelArgs
{
ActivityMetrics = new Aws.S3Control.Inputs.StorageLensConfigurationStorageLensConfigurationAccountLevelBucketLevelActivityMetricsArgs
{
Enabled = true,
},
},
},
DataExport = new Aws.S3Control.Inputs.StorageLensConfigurationStorageLensConfigurationDataExportArgs
{
CloudWatchMetrics = new Aws.S3Control.Inputs.StorageLensConfigurationStorageLensConfigurationDataExportCloudWatchMetricsArgs
{
Enabled = true,
},
S3BucketDestination = new Aws.S3Control.Inputs.StorageLensConfigurationStorageLensConfigurationDataExportS3BucketDestinationArgs
{
AccountId = current.Apply(getCallerIdentityResult => getCallerIdentityResult.AccountId),
Arn = aws_s3_bucket.Target.Arn,
Format = "CSV",
OutputSchemaVersion = "V_1",
Encryption = new Aws.S3Control.Inputs.StorageLensConfigurationStorageLensConfigurationDataExportS3BucketDestinationEncryptionArgs
{
SseS3s = new[]
{
null,
},
},
},
},
Exclude = new Aws.S3Control.Inputs.StorageLensConfigurationStorageLensConfigurationExcludeArgs
{
Buckets = new[]
{
aws_s3_bucket.B1.Arn,
aws_s3_bucket.B2.Arn,
},
Regions = new[]
{
"us-east-2",
},
},
},
});
});
package main
import (
"github.com/pulumi/pulumi-aws/sdk/v6/go/aws"
"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/s3control"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
current, err := aws.GetCallerIdentity(ctx, nil, nil)
if err != nil {
return err
}
_, err = s3control.NewStorageLensConfiguration(ctx, "example", &s3control.StorageLensConfigurationArgs{
ConfigId: pulumi.String("example-1"),
StorageLensConfiguration: &s3control.StorageLensConfigurationStorageLensConfigurationArgs{
Enabled: pulumi.Bool(true),
AccountLevel: &s3control.StorageLensConfigurationStorageLensConfigurationAccountLevelArgs{
ActivityMetrics: &s3control.StorageLensConfigurationStorageLensConfigurationAccountLevelActivityMetricsArgs{
Enabled: pulumi.Bool(true),
},
BucketLevel: &s3control.StorageLensConfigurationStorageLensConfigurationAccountLevelBucketLevelArgs{
ActivityMetrics: &s3control.StorageLensConfigurationStorageLensConfigurationAccountLevelBucketLevelActivityMetricsArgs{
Enabled: pulumi.Bool(true),
},
},
},
DataExport: &s3control.StorageLensConfigurationStorageLensConfigurationDataExportArgs{
CloudWatchMetrics: &s3control.StorageLensConfigurationStorageLensConfigurationDataExportCloudWatchMetricsArgs{
Enabled: pulumi.Bool(true),
},
S3BucketDestination: &s3control.StorageLensConfigurationStorageLensConfigurationDataExportS3BucketDestinationArgs{
AccountId: *pulumi.String(current.AccountId),
Arn: pulumi.Any(aws_s3_bucket.Target.Arn),
Format: pulumi.String("CSV"),
OutputSchemaVersion: pulumi.String("V_1"),
Encryption: &s3control.StorageLensConfigurationStorageLensConfigurationDataExportS3BucketDestinationEncryptionArgs{
SseS3s: s3control.StorageLensConfigurationStorageLensConfigurationDataExportS3BucketDestinationEncryptionSseS3Array{
nil,
},
},
},
},
Exclude: &s3control.StorageLensConfigurationStorageLensConfigurationExcludeArgs{
Buckets: pulumi.StringArray{
aws_s3_bucket.B1.Arn,
aws_s3_bucket.B2.Arn,
},
Regions: pulumi.StringArray{
pulumi.String("us-east-2"),
},
},
},
})
if err != nil {
return err
}
return nil
})
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.AwsFunctions;
import com.pulumi.aws.inputs.GetCallerIdentityArgs;
import com.pulumi.aws.s3control.StorageLensConfiguration;
import com.pulumi.aws.s3control.StorageLensConfigurationArgs;
import com.pulumi.aws.s3control.inputs.StorageLensConfigurationStorageLensConfigurationArgs;
import com.pulumi.aws.s3control.inputs.StorageLensConfigurationStorageLensConfigurationAccountLevelArgs;
import com.pulumi.aws.s3control.inputs.StorageLensConfigurationStorageLensConfigurationAccountLevelActivityMetricsArgs;
import com.pulumi.aws.s3control.inputs.StorageLensConfigurationStorageLensConfigurationAccountLevelBucketLevelArgs;
import com.pulumi.aws.s3control.inputs.StorageLensConfigurationStorageLensConfigurationAccountLevelBucketLevelActivityMetricsArgs;
import com.pulumi.aws.s3control.inputs.StorageLensConfigurationStorageLensConfigurationDataExportArgs;
import com.pulumi.aws.s3control.inputs.StorageLensConfigurationStorageLensConfigurationDataExportCloudWatchMetricsArgs;
import com.pulumi.aws.s3control.inputs.StorageLensConfigurationStorageLensConfigurationDataExportS3BucketDestinationArgs;
import com.pulumi.aws.s3control.inputs.StorageLensConfigurationStorageLensConfigurationDataExportS3BucketDestinationEncryptionArgs;
import com.pulumi.aws.s3control.inputs.StorageLensConfigurationStorageLensConfigurationExcludeArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
final var current = AwsFunctions.getCallerIdentity();
var example = new StorageLensConfiguration("example", StorageLensConfigurationArgs.builder()
.configId("example-1")
.storageLensConfiguration(StorageLensConfigurationStorageLensConfigurationArgs.builder()
.enabled(true)
.accountLevel(StorageLensConfigurationStorageLensConfigurationAccountLevelArgs.builder()
.activityMetrics(StorageLensConfigurationStorageLensConfigurationAccountLevelActivityMetricsArgs.builder()
.enabled(true)
.build())
.bucketLevel(StorageLensConfigurationStorageLensConfigurationAccountLevelBucketLevelArgs.builder()
.activityMetrics(StorageLensConfigurationStorageLensConfigurationAccountLevelBucketLevelActivityMetricsArgs.builder()
.enabled(true)
.build())
.build())
.build())
.dataExport(StorageLensConfigurationStorageLensConfigurationDataExportArgs.builder()
.cloudWatchMetrics(StorageLensConfigurationStorageLensConfigurationDataExportCloudWatchMetricsArgs.builder()
.enabled(true)
.build())
.s3BucketDestination(StorageLensConfigurationStorageLensConfigurationDataExportS3BucketDestinationArgs.builder()
.accountId(current.applyValue(getCallerIdentityResult -> getCallerIdentityResult.accountId()))
.arn(aws_s3_bucket.target().arn())
.format("CSV")
.outputSchemaVersion("V_1")
.encryption(StorageLensConfigurationStorageLensConfigurationDataExportS3BucketDestinationEncryptionArgs.builder()
.sseS3s()
.build())
.build())
.build())
.exclude(StorageLensConfigurationStorageLensConfigurationExcludeArgs.builder()
.buckets(
aws_s3_bucket.b1().arn(),
aws_s3_bucket.b2().arn())
.regions("us-east-2")
.build())
.build())
.build());
}
}
import pulumi
import pulumi_aws as aws
current = aws.get_caller_identity()
example = aws.s3control.StorageLensConfiguration("example",
config_id="example-1",
storage_lens_configuration=aws.s3control.StorageLensConfigurationStorageLensConfigurationArgs(
enabled=True,
account_level=aws.s3control.StorageLensConfigurationStorageLensConfigurationAccountLevelArgs(
activity_metrics=aws.s3control.StorageLensConfigurationStorageLensConfigurationAccountLevelActivityMetricsArgs(
enabled=True,
),
bucket_level=aws.s3control.StorageLensConfigurationStorageLensConfigurationAccountLevelBucketLevelArgs(
activity_metrics=aws.s3control.StorageLensConfigurationStorageLensConfigurationAccountLevelBucketLevelActivityMetricsArgs(
enabled=True,
),
),
),
data_export=aws.s3control.StorageLensConfigurationStorageLensConfigurationDataExportArgs(
cloud_watch_metrics=aws.s3control.StorageLensConfigurationStorageLensConfigurationDataExportCloudWatchMetricsArgs(
enabled=True,
),
s3_bucket_destination=aws.s3control.StorageLensConfigurationStorageLensConfigurationDataExportS3BucketDestinationArgs(
account_id=current.account_id,
arn=aws_s3_bucket["target"]["arn"],
format="CSV",
output_schema_version="V_1",
encryption=aws.s3control.StorageLensConfigurationStorageLensConfigurationDataExportS3BucketDestinationEncryptionArgs(
sse_s3s=[aws.s3control.StorageLensConfigurationStorageLensConfigurationDataExportS3BucketDestinationEncryptionSseS3Args()],
),
),
),
exclude=aws.s3control.StorageLensConfigurationStorageLensConfigurationExcludeArgs(
buckets=[
aws_s3_bucket["b1"]["arn"],
aws_s3_bucket["b2"]["arn"],
],
regions=["us-east-2"],
),
))
import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";
const current = aws.getCallerIdentity({});
const example = new aws.s3control.StorageLensConfiguration("example", {
configId: "example-1",
storageLensConfiguration: {
enabled: true,
accountLevel: {
activityMetrics: {
enabled: true,
},
bucketLevel: {
activityMetrics: {
enabled: true,
},
},
},
dataExport: {
cloudWatchMetrics: {
enabled: true,
},
s3BucketDestination: {
accountId: current.then(current => current.accountId),
arn: aws_s3_bucket.target.arn,
format: "CSV",
outputSchemaVersion: "V_1",
encryption: {
sseS3s: [{}],
},
},
},
exclude: {
buckets: [
aws_s3_bucket.b1.arn,
aws_s3_bucket.b2.arn,
],
regions: ["us-east-2"],
},
},
});
resources:
example:
type: aws:s3control:StorageLensConfiguration
properties:
configId: example-1
storageLensConfiguration:
enabled: true
accountLevel:
activityMetrics:
enabled: true
bucketLevel:
activityMetrics:
enabled: true
dataExport:
cloudWatchMetrics:
enabled: true
s3BucketDestination:
accountId: ${current.accountId}
arn: ${aws_s3_bucket.target.arn}
format: CSV
outputSchemaVersion: V_1
encryption:
sseS3s:
- {}
exclude:
buckets:
- ${aws_s3_bucket.b1.arn}
- ${aws_s3_bucket.b2.arn}
regions:
- us-east-2
variables:
current:
fn::invoke:
Function: aws:getCallerIdentity
Arguments: {}
Create StorageLensConfiguration Resource
new StorageLensConfiguration(name: string, args: StorageLensConfigurationArgs, opts?: CustomResourceOptions);
@overload
def StorageLensConfiguration(resource_name: str,
opts: Optional[ResourceOptions] = None,
account_id: Optional[str] = None,
config_id: Optional[str] = None,
storage_lens_configuration: Optional[StorageLensConfigurationStorageLensConfigurationArgs] = None,
tags: Optional[Mapping[str, str]] = None)
@overload
def StorageLensConfiguration(resource_name: str,
args: StorageLensConfigurationArgs,
opts: Optional[ResourceOptions] = None)
func NewStorageLensConfiguration(ctx *Context, name string, args StorageLensConfigurationArgs, opts ...ResourceOption) (*StorageLensConfiguration, error)
public StorageLensConfiguration(string name, StorageLensConfigurationArgs args, CustomResourceOptions? opts = null)
public StorageLensConfiguration(String name, StorageLensConfigurationArgs args)
public StorageLensConfiguration(String name, StorageLensConfigurationArgs args, CustomResourceOptions options)
type: aws:s3control:StorageLensConfiguration
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args StorageLensConfigurationArgs
- 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 StorageLensConfigurationArgs
- 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 StorageLensConfigurationArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args StorageLensConfigurationArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args StorageLensConfigurationArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
StorageLensConfiguration 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 StorageLensConfiguration resource accepts the following input properties:
- Config
Id string The ID of the S3 Storage Lens configuration.
- Storage
Lens StorageConfiguration Detail Lens Configuration Storage Lens Configuration The S3 Storage Lens configuration. See Storage Lens Configuration below for more details.
- Account
Id string The AWS account ID for the S3 Storage Lens configuration. Defaults to automatically determined account ID of the AWS provider.
- Dictionary<string, string>
Key-value map of resource tags. If configured with a provider
default_tags
configuration block present, tags with matching keys will overwrite those defined at the provider-level.
- Config
Id string The ID of the S3 Storage Lens configuration.
- Storage
Lens StorageConfiguration Lens Configuration Storage Lens Configuration Args The S3 Storage Lens configuration. See Storage Lens Configuration below for more details.
- Account
Id string The AWS account ID for the S3 Storage Lens configuration. Defaults to automatically determined account ID of the AWS provider.
- map[string]string
Key-value map of resource tags. If configured with a provider
default_tags
configuration block present, tags with matching keys will overwrite those defined at the provider-level.
- config
Id String The ID of the S3 Storage Lens configuration.
- storage
Lens StorageConfiguration Lens Configuration Storage Lens Configuration The S3 Storage Lens configuration. See Storage Lens Configuration below for more details.
- account
Id String The AWS account ID for the S3 Storage Lens configuration. Defaults to automatically determined account ID of the AWS provider.
- Map<String,String>
Key-value map of resource tags. If configured with a provider
default_tags
configuration block present, tags with matching keys will overwrite those defined at the provider-level.
- config
Id string The ID of the S3 Storage Lens configuration.
- storage
Lens StorageConfiguration Lens Configuration Storage Lens Configuration The S3 Storage Lens configuration. See Storage Lens Configuration below for more details.
- account
Id string The AWS account ID for the S3 Storage Lens configuration. Defaults to automatically determined account ID of the AWS provider.
- {[key: string]: string}
Key-value map of resource tags. If configured with a provider
default_tags
configuration block present, tags with matching keys will overwrite those defined at the provider-level.
- config_
id str The ID of the S3 Storage Lens configuration.
- storage_
lens_ Storageconfiguration Lens Configuration Storage Lens Configuration Args The S3 Storage Lens configuration. See Storage Lens Configuration below for more details.
- account_
id str The AWS account ID for the S3 Storage Lens configuration. Defaults to automatically determined account ID of the AWS provider.
- Mapping[str, str]
Key-value map of resource tags. If configured with a provider
default_tags
configuration block present, tags with matching keys will overwrite those defined at the provider-level.
- config
Id String The ID of the S3 Storage Lens configuration.
- storage
Lens Property MapConfiguration The S3 Storage Lens configuration. See Storage Lens Configuration below for more details.
- account
Id String The AWS account ID for the S3 Storage Lens configuration. Defaults to automatically determined account ID of the AWS provider.
- Map<String>
Key-value map of resource tags. If configured with a provider
default_tags
configuration block present, tags with matching keys will overwrite those defined at the provider-level.
Outputs
All input properties are implicitly available as output properties. Additionally, the StorageLensConfiguration resource produces the following output properties:
- Arn string
The Amazon Resource Name (ARN) of the Amazon Web Services organization.
- Id string
The provider-assigned unique ID for this managed resource.
- Dictionary<string, string>
A map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block.Please use
tags
instead.
- Arn string
The Amazon Resource Name (ARN) of the Amazon Web Services organization.
- Id string
The provider-assigned unique ID for this managed resource.
- map[string]string
A map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block.Please use
tags
instead.
- arn String
The Amazon Resource Name (ARN) of the Amazon Web Services organization.
- id String
The provider-assigned unique ID for this managed resource.
- Map<String,String>
A map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block.Please use
tags
instead.
- arn string
The Amazon Resource Name (ARN) of the Amazon Web Services organization.
- id string
The provider-assigned unique ID for this managed resource.
- {[key: string]: string}
A map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block.Please use
tags
instead.
- arn str
The Amazon Resource Name (ARN) of the Amazon Web Services organization.
- id str
The provider-assigned unique ID for this managed resource.
- Mapping[str, str]
A map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block.Please use
tags
instead.
- arn String
The Amazon Resource Name (ARN) of the Amazon Web Services organization.
- id String
The provider-assigned unique ID for this managed resource.
- Map<String>
A map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block.Please use
tags
instead.
Look up Existing StorageLensConfiguration Resource
Get an existing StorageLensConfiguration resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: StorageLensConfigurationState, opts?: CustomResourceOptions): StorageLensConfiguration
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
account_id: Optional[str] = None,
arn: Optional[str] = None,
config_id: Optional[str] = None,
storage_lens_configuration: Optional[StorageLensConfigurationStorageLensConfigurationArgs] = None,
tags: Optional[Mapping[str, str]] = None,
tags_all: Optional[Mapping[str, str]] = None) -> StorageLensConfiguration
func GetStorageLensConfiguration(ctx *Context, name string, id IDInput, state *StorageLensConfigurationState, opts ...ResourceOption) (*StorageLensConfiguration, error)
public static StorageLensConfiguration Get(string name, Input<string> id, StorageLensConfigurationState? state, CustomResourceOptions? opts = null)
public static StorageLensConfiguration get(String name, Output<String> id, StorageLensConfigurationState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Account
Id string The AWS account ID for the S3 Storage Lens configuration. Defaults to automatically determined account ID of the AWS provider.
- Arn string
The Amazon Resource Name (ARN) of the Amazon Web Services organization.
- Config
Id string The ID of the S3 Storage Lens configuration.
- Storage
Lens StorageConfiguration Detail Lens Configuration Storage Lens Configuration The S3 Storage Lens configuration. See Storage Lens Configuration below for more details.
- Dictionary<string, string>
Key-value map of resource tags. If configured with a provider
default_tags
configuration block present, tags with matching keys will overwrite those defined at the provider-level.- Dictionary<string, string>
A map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block.Please use
tags
instead.
- Account
Id string The AWS account ID for the S3 Storage Lens configuration. Defaults to automatically determined account ID of the AWS provider.
- Arn string
The Amazon Resource Name (ARN) of the Amazon Web Services organization.
- Config
Id string The ID of the S3 Storage Lens configuration.
- Storage
Lens StorageConfiguration Lens Configuration Storage Lens Configuration Args The S3 Storage Lens configuration. See Storage Lens Configuration below for more details.
- map[string]string
Key-value map of resource tags. If configured with a provider
default_tags
configuration block present, tags with matching keys will overwrite those defined at the provider-level.- map[string]string
A map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block.Please use
tags
instead.
- account
Id String The AWS account ID for the S3 Storage Lens configuration. Defaults to automatically determined account ID of the AWS provider.
- arn String
The Amazon Resource Name (ARN) of the Amazon Web Services organization.
- config
Id String The ID of the S3 Storage Lens configuration.
- storage
Lens StorageConfiguration Lens Configuration Storage Lens Configuration The S3 Storage Lens configuration. See Storage Lens Configuration below for more details.
- Map<String,String>
Key-value map of resource tags. If configured with a provider
default_tags
configuration block present, tags with matching keys will overwrite those defined at the provider-level.- Map<String,String>
A map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block.Please use
tags
instead.
- account
Id string The AWS account ID for the S3 Storage Lens configuration. Defaults to automatically determined account ID of the AWS provider.
- arn string
The Amazon Resource Name (ARN) of the Amazon Web Services organization.
- config
Id string The ID of the S3 Storage Lens configuration.
- storage
Lens StorageConfiguration Lens Configuration Storage Lens Configuration The S3 Storage Lens configuration. See Storage Lens Configuration below for more details.
- {[key: string]: string}
Key-value map of resource tags. If configured with a provider
default_tags
configuration block present, tags with matching keys will overwrite those defined at the provider-level.- {[key: string]: string}
A map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block.Please use
tags
instead.
- account_
id str The AWS account ID for the S3 Storage Lens configuration. Defaults to automatically determined account ID of the AWS provider.
- arn str
The Amazon Resource Name (ARN) of the Amazon Web Services organization.
- config_
id str The ID of the S3 Storage Lens configuration.
- storage_
lens_ Storageconfiguration Lens Configuration Storage Lens Configuration Args The S3 Storage Lens configuration. See Storage Lens Configuration below for more details.
- Mapping[str, str]
Key-value map of resource tags. If configured with a provider
default_tags
configuration block present, tags with matching keys will overwrite those defined at the provider-level.- Mapping[str, str]
A map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block.Please use
tags
instead.
- account
Id String The AWS account ID for the S3 Storage Lens configuration. Defaults to automatically determined account ID of the AWS provider.
- arn String
The Amazon Resource Name (ARN) of the Amazon Web Services organization.
- config
Id String The ID of the S3 Storage Lens configuration.
- storage
Lens Property MapConfiguration The S3 Storage Lens configuration. See Storage Lens Configuration below for more details.
- Map<String>
Key-value map of resource tags. If configured with a provider
default_tags
configuration block present, tags with matching keys will overwrite those defined at the provider-level.- Map<String>
A map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block.Please use
tags
instead.
Supporting Types
StorageLensConfigurationStorageLensConfiguration, StorageLensConfigurationStorageLensConfigurationArgs
- Account
Level StorageLens Configuration Storage Lens Configuration Account Level The account-level configurations of the S3 Storage Lens configuration. See Account Level below for more details.
- Enabled bool
Whether the S3 Storage Lens configuration is enabled.
- Aws
Org StorageLens Configuration Storage Lens Configuration Aws Org The Amazon Web Services organization for the S3 Storage Lens configuration. See AWS Org below for more details.
- Data
Export StorageLens Configuration Storage Lens Configuration Data Export Properties of S3 Storage Lens metrics export including the destination, schema and format. See Data Export below for more details.
- Exclude
Storage
Lens Configuration Storage Lens Configuration Exclude What is excluded in this configuration. Conflicts with
include
. See Exclude below for more details.- Include
Storage
Lens Configuration Storage Lens Configuration Include What is included in this configuration. Conflicts with
exclude
. See Include below for more details.
- Account
Level StorageLens Configuration Storage Lens Configuration Account Level The account-level configurations of the S3 Storage Lens configuration. See Account Level below for more details.
- Enabled bool
Whether the S3 Storage Lens configuration is enabled.
- Aws
Org StorageLens Configuration Storage Lens Configuration Aws Org The Amazon Web Services organization for the S3 Storage Lens configuration. See AWS Org below for more details.
- Data
Export StorageLens Configuration Storage Lens Configuration Data Export Properties of S3 Storage Lens metrics export including the destination, schema and format. See Data Export below for more details.
- Exclude
Storage
Lens Configuration Storage Lens Configuration Exclude What is excluded in this configuration. Conflicts with
include
. See Exclude below for more details.- Include
Storage
Lens Configuration Storage Lens Configuration Include What is included in this configuration. Conflicts with
exclude
. See Include below for more details.
- account
Level StorageLens Configuration Storage Lens Configuration Account Level The account-level configurations of the S3 Storage Lens configuration. See Account Level below for more details.
- enabled Boolean
Whether the S3 Storage Lens configuration is enabled.
- aws
Org StorageLens Configuration Storage Lens Configuration Aws Org The Amazon Web Services organization for the S3 Storage Lens configuration. See AWS Org below for more details.
- data
Export StorageLens Configuration Storage Lens Configuration Data Export Properties of S3 Storage Lens metrics export including the destination, schema and format. See Data Export below for more details.
- exclude
Storage
Lens Configuration Storage Lens Configuration Exclude What is excluded in this configuration. Conflicts with
include
. See Exclude below for more details.- include
Storage
Lens Configuration Storage Lens Configuration Include What is included in this configuration. Conflicts with
exclude
. See Include below for more details.
- account
Level StorageLens Configuration Storage Lens Configuration Account Level The account-level configurations of the S3 Storage Lens configuration. See Account Level below for more details.
- enabled boolean
Whether the S3 Storage Lens configuration is enabled.
- aws
Org StorageLens Configuration Storage Lens Configuration Aws Org The Amazon Web Services organization for the S3 Storage Lens configuration. See AWS Org below for more details.
- data
Export StorageLens Configuration Storage Lens Configuration Data Export Properties of S3 Storage Lens metrics export including the destination, schema and format. See Data Export below for more details.
- exclude
Storage
Lens Configuration Storage Lens Configuration Exclude What is excluded in this configuration. Conflicts with
include
. See Exclude below for more details.- include
Storage
Lens Configuration Storage Lens Configuration Include What is included in this configuration. Conflicts with
exclude
. See Include below for more details.
- account_
level StorageLens Configuration Storage Lens Configuration Account Level The account-level configurations of the S3 Storage Lens configuration. See Account Level below for more details.
- enabled bool
Whether the S3 Storage Lens configuration is enabled.
- aws_
org StorageLens Configuration Storage Lens Configuration Aws Org The Amazon Web Services organization for the S3 Storage Lens configuration. See AWS Org below for more details.
- data_
export StorageLens Configuration Storage Lens Configuration Data Export Properties of S3 Storage Lens metrics export including the destination, schema and format. See Data Export below for more details.
- exclude
Storage
Lens Configuration Storage Lens Configuration Exclude What is excluded in this configuration. Conflicts with
include
. See Exclude below for more details.- include
Storage
Lens Configuration Storage Lens Configuration Include What is included in this configuration. Conflicts with
exclude
. See Include below for more details.
- account
Level Property Map The account-level configurations of the S3 Storage Lens configuration. See Account Level below for more details.
- enabled Boolean
Whether the S3 Storage Lens configuration is enabled.
- aws
Org Property Map The Amazon Web Services organization for the S3 Storage Lens configuration. See AWS Org below for more details.
- data
Export Property Map Properties of S3 Storage Lens metrics export including the destination, schema and format. See Data Export below for more details.
- exclude Property Map
What is excluded in this configuration. Conflicts with
include
. See Exclude below for more details.- include Property Map
What is included in this configuration. Conflicts with
exclude
. See Include below for more details.
StorageLensConfigurationStorageLensConfigurationAccountLevel, StorageLensConfigurationStorageLensConfigurationAccountLevelArgs
- Bucket
Level StorageLens Configuration Storage Lens Configuration Account Level Bucket Level S3 Storage Lens bucket-level configuration. See Bucket Level below for more details.
- Activity
Metrics StorageLens Configuration Storage Lens Configuration Account Level Activity Metrics S3 Storage Lens activity metrics. See Activity Metrics below for more details.
- Advanced
Cost StorageOptimization Metrics Lens Configuration Storage Lens Configuration Account Level Advanced Cost Optimization Metrics Advanced cost-optimization metrics for S3 Storage Lens. See Advanced Cost-Optimization Metrics below for more details.
- Advanced
Data StorageProtection Metrics Lens Configuration Storage Lens Configuration Account Level Advanced Data Protection Metrics Advanced data-protection metrics for S3 Storage Lens. See Advanced Data-Protection Metrics below for more details.
- Detailed
Status StorageCode Metrics Lens Configuration Storage Lens Configuration Account Level Detailed Status Code Metrics Detailed status code metrics for S3 Storage Lens. See Detailed Status Code Metrics below for more details.
- Bucket
Level StorageLens Configuration Storage Lens Configuration Account Level Bucket Level S3 Storage Lens bucket-level configuration. See Bucket Level below for more details.
- Activity
Metrics StorageLens Configuration Storage Lens Configuration Account Level Activity Metrics S3 Storage Lens activity metrics. See Activity Metrics below for more details.
- Advanced
Cost StorageOptimization Metrics Lens Configuration Storage Lens Configuration Account Level Advanced Cost Optimization Metrics Advanced cost-optimization metrics for S3 Storage Lens. See Advanced Cost-Optimization Metrics below for more details.
- Advanced
Data StorageProtection Metrics Lens Configuration Storage Lens Configuration Account Level Advanced Data Protection Metrics Advanced data-protection metrics for S3 Storage Lens. See Advanced Data-Protection Metrics below for more details.
- Detailed
Status StorageCode Metrics Lens Configuration Storage Lens Configuration Account Level Detailed Status Code Metrics Detailed status code metrics for S3 Storage Lens. See Detailed Status Code Metrics below for more details.
- bucket
Level StorageLens Configuration Storage Lens Configuration Account Level Bucket Level S3 Storage Lens bucket-level configuration. See Bucket Level below for more details.
- activity
Metrics StorageLens Configuration Storage Lens Configuration Account Level Activity Metrics S3 Storage Lens activity metrics. See Activity Metrics below for more details.
- advanced
Cost StorageOptimization Metrics Lens Configuration Storage Lens Configuration Account Level Advanced Cost Optimization Metrics Advanced cost-optimization metrics for S3 Storage Lens. See Advanced Cost-Optimization Metrics below for more details.
- advanced
Data StorageProtection Metrics Lens Configuration Storage Lens Configuration Account Level Advanced Data Protection Metrics Advanced data-protection metrics for S3 Storage Lens. See Advanced Data-Protection Metrics below for more details.
- detailed
Status StorageCode Metrics Lens Configuration Storage Lens Configuration Account Level Detailed Status Code Metrics Detailed status code metrics for S3 Storage Lens. See Detailed Status Code Metrics below for more details.
- bucket
Level StorageLens Configuration Storage Lens Configuration Account Level Bucket Level S3 Storage Lens bucket-level configuration. See Bucket Level below for more details.
- activity
Metrics StorageLens Configuration Storage Lens Configuration Account Level Activity Metrics S3 Storage Lens activity metrics. See Activity Metrics below for more details.
- advanced
Cost StorageOptimization Metrics Lens Configuration Storage Lens Configuration Account Level Advanced Cost Optimization Metrics Advanced cost-optimization metrics for S3 Storage Lens. See Advanced Cost-Optimization Metrics below for more details.
- advanced
Data StorageProtection Metrics Lens Configuration Storage Lens Configuration Account Level Advanced Data Protection Metrics Advanced data-protection metrics for S3 Storage Lens. See Advanced Data-Protection Metrics below for more details.
- detailed
Status StorageCode Metrics Lens Configuration Storage Lens Configuration Account Level Detailed Status Code Metrics Detailed status code metrics for S3 Storage Lens. See Detailed Status Code Metrics below for more details.
- bucket_
level StorageLens Configuration Storage Lens Configuration Account Level Bucket Level S3 Storage Lens bucket-level configuration. See Bucket Level below for more details.
- activity_
metrics StorageLens Configuration Storage Lens Configuration Account Level Activity Metrics S3 Storage Lens activity metrics. See Activity Metrics below for more details.
- advanced_
cost_ Storageoptimization_ metrics Lens Configuration Storage Lens Configuration Account Level Advanced Cost Optimization Metrics Advanced cost-optimization metrics for S3 Storage Lens. See Advanced Cost-Optimization Metrics below for more details.
- advanced_
data_ Storageprotection_ metrics Lens Configuration Storage Lens Configuration Account Level Advanced Data Protection Metrics Advanced data-protection metrics for S3 Storage Lens. See Advanced Data-Protection Metrics below for more details.
- detailed_
status_ Storagecode_ metrics Lens Configuration Storage Lens Configuration Account Level Detailed Status Code Metrics Detailed status code metrics for S3 Storage Lens. See Detailed Status Code Metrics below for more details.
- bucket
Level Property Map S3 Storage Lens bucket-level configuration. See Bucket Level below for more details.
- activity
Metrics Property Map S3 Storage Lens activity metrics. See Activity Metrics below for more details.
- advanced
Cost Property MapOptimization Metrics Advanced cost-optimization metrics for S3 Storage Lens. See Advanced Cost-Optimization Metrics below for more details.
- advanced
Data Property MapProtection Metrics Advanced data-protection metrics for S3 Storage Lens. See Advanced Data-Protection Metrics below for more details.
- detailed
Status Property MapCode Metrics Detailed status code metrics for S3 Storage Lens. See Detailed Status Code Metrics below for more details.
StorageLensConfigurationStorageLensConfigurationAccountLevelActivityMetrics, StorageLensConfigurationStorageLensConfigurationAccountLevelActivityMetricsArgs
- Enabled bool
Whether the activity metrics are enabled.
- Enabled bool
Whether the activity metrics are enabled.
- enabled Boolean
Whether the activity metrics are enabled.
- enabled boolean
Whether the activity metrics are enabled.
- enabled bool
Whether the activity metrics are enabled.
- enabled Boolean
Whether the activity metrics are enabled.
StorageLensConfigurationStorageLensConfigurationAccountLevelAdvancedCostOptimizationMetrics, StorageLensConfigurationStorageLensConfigurationAccountLevelAdvancedCostOptimizationMetricsArgs
- Enabled bool
Whether advanced cost-optimization metrics are enabled.
- Enabled bool
Whether advanced cost-optimization metrics are enabled.
- enabled Boolean
Whether advanced cost-optimization metrics are enabled.
- enabled boolean
Whether advanced cost-optimization metrics are enabled.
- enabled bool
Whether advanced cost-optimization metrics are enabled.
- enabled Boolean
Whether advanced cost-optimization metrics are enabled.
StorageLensConfigurationStorageLensConfigurationAccountLevelAdvancedDataProtectionMetrics, StorageLensConfigurationStorageLensConfigurationAccountLevelAdvancedDataProtectionMetricsArgs
- Enabled bool
Whether advanced data-protection metrics are enabled.
- Enabled bool
Whether advanced data-protection metrics are enabled.
- enabled Boolean
Whether advanced data-protection metrics are enabled.
- enabled boolean
Whether advanced data-protection metrics are enabled.
- enabled bool
Whether advanced data-protection metrics are enabled.
- enabled Boolean
Whether advanced data-protection metrics are enabled.
StorageLensConfigurationStorageLensConfigurationAccountLevelBucketLevel, StorageLensConfigurationStorageLensConfigurationAccountLevelBucketLevelArgs
- Activity
Metrics StorageLens Configuration Storage Lens Configuration Account Level Bucket Level Activity Metrics S3 Storage Lens activity metrics. See Activity Metrics above for more details.
- Advanced
Cost StorageOptimization Metrics Lens Configuration Storage Lens Configuration Account Level Bucket Level Advanced Cost Optimization Metrics Advanced cost-optimization metrics for S3 Storage Lens. See Advanced Cost-Optimization Metrics above for more details.
- Advanced
Data StorageProtection Metrics Lens Configuration Storage Lens Configuration Account Level Bucket Level Advanced Data Protection Metrics Advanced data-protection metrics for S3 Storage Lens. See Advanced Data-Protection Metrics above for more details.
- Detailed
Status StorageCode Metrics Lens Configuration Storage Lens Configuration Account Level Bucket Level Detailed Status Code Metrics Detailed status code metrics for S3 Storage Lens. See Detailed Status Code Metrics above for more details.
- Prefix
Level StorageLens Configuration Storage Lens Configuration Account Level Bucket Level Prefix Level Prefix-level metrics for S3 Storage Lens. See Prefix Level below for more details.
- Activity
Metrics StorageLens Configuration Storage Lens Configuration Account Level Bucket Level Activity Metrics S3 Storage Lens activity metrics. See Activity Metrics above for more details.
- Advanced
Cost StorageOptimization Metrics Lens Configuration Storage Lens Configuration Account Level Bucket Level Advanced Cost Optimization Metrics Advanced cost-optimization metrics for S3 Storage Lens. See Advanced Cost-Optimization Metrics above for more details.
- Advanced
Data StorageProtection Metrics Lens Configuration Storage Lens Configuration Account Level Bucket Level Advanced Data Protection Metrics Advanced data-protection metrics for S3 Storage Lens. See Advanced Data-Protection Metrics above for more details.
- Detailed
Status StorageCode Metrics Lens Configuration Storage Lens Configuration Account Level Bucket Level Detailed Status Code Metrics Detailed status code metrics for S3 Storage Lens. See Detailed Status Code Metrics above for more details.
- Prefix
Level StorageLens Configuration Storage Lens Configuration Account Level Bucket Level Prefix Level Prefix-level metrics for S3 Storage Lens. See Prefix Level below for more details.
- activity
Metrics StorageLens Configuration Storage Lens Configuration Account Level Bucket Level Activity Metrics S3 Storage Lens activity metrics. See Activity Metrics above for more details.
- advanced
Cost StorageOptimization Metrics Lens Configuration Storage Lens Configuration Account Level Bucket Level Advanced Cost Optimization Metrics Advanced cost-optimization metrics for S3 Storage Lens. See Advanced Cost-Optimization Metrics above for more details.
- advanced
Data StorageProtection Metrics Lens Configuration Storage Lens Configuration Account Level Bucket Level Advanced Data Protection Metrics Advanced data-protection metrics for S3 Storage Lens. See Advanced Data-Protection Metrics above for more details.
- detailed
Status StorageCode Metrics Lens Configuration Storage Lens Configuration Account Level Bucket Level Detailed Status Code Metrics Detailed status code metrics for S3 Storage Lens. See Detailed Status Code Metrics above for more details.
- prefix
Level StorageLens Configuration Storage Lens Configuration Account Level Bucket Level Prefix Level Prefix-level metrics for S3 Storage Lens. See Prefix Level below for more details.
- activity
Metrics StorageLens Configuration Storage Lens Configuration Account Level Bucket Level Activity Metrics S3 Storage Lens activity metrics. See Activity Metrics above for more details.
- advanced
Cost StorageOptimization Metrics Lens Configuration Storage Lens Configuration Account Level Bucket Level Advanced Cost Optimization Metrics Advanced cost-optimization metrics for S3 Storage Lens. See Advanced Cost-Optimization Metrics above for more details.
- advanced
Data StorageProtection Metrics Lens Configuration Storage Lens Configuration Account Level Bucket Level Advanced Data Protection Metrics Advanced data-protection metrics for S3 Storage Lens. See Advanced Data-Protection Metrics above for more details.
- detailed
Status StorageCode Metrics Lens Configuration Storage Lens Configuration Account Level Bucket Level Detailed Status Code Metrics Detailed status code metrics for S3 Storage Lens. See Detailed Status Code Metrics above for more details.
- prefix
Level StorageLens Configuration Storage Lens Configuration Account Level Bucket Level Prefix Level Prefix-level metrics for S3 Storage Lens. See Prefix Level below for more details.
- activity_
metrics StorageLens Configuration Storage Lens Configuration Account Level Bucket Level Activity Metrics S3 Storage Lens activity metrics. See Activity Metrics above for more details.
- advanced_
cost_ Storageoptimization_ metrics Lens Configuration Storage Lens Configuration Account Level Bucket Level Advanced Cost Optimization Metrics Advanced cost-optimization metrics for S3 Storage Lens. See Advanced Cost-Optimization Metrics above for more details.
- advanced_
data_ Storageprotection_ metrics Lens Configuration Storage Lens Configuration Account Level Bucket Level Advanced Data Protection Metrics Advanced data-protection metrics for S3 Storage Lens. See Advanced Data-Protection Metrics above for more details.
- detailed_
status_ Storagecode_ metrics Lens Configuration Storage Lens Configuration Account Level Bucket Level Detailed Status Code Metrics Detailed status code metrics for S3 Storage Lens. See Detailed Status Code Metrics above for more details.
- prefix_
level StorageLens Configuration Storage Lens Configuration Account Level Bucket Level Prefix Level Prefix-level metrics for S3 Storage Lens. See Prefix Level below for more details.
- activity
Metrics Property Map S3 Storage Lens activity metrics. See Activity Metrics above for more details.
- advanced
Cost Property MapOptimization Metrics Advanced cost-optimization metrics for S3 Storage Lens. See Advanced Cost-Optimization Metrics above for more details.
- advanced
Data Property MapProtection Metrics Advanced data-protection metrics for S3 Storage Lens. See Advanced Data-Protection Metrics above for more details.
- detailed
Status Property MapCode Metrics Detailed status code metrics for S3 Storage Lens. See Detailed Status Code Metrics above for more details.
- prefix
Level Property Map Prefix-level metrics for S3 Storage Lens. See Prefix Level below for more details.
StorageLensConfigurationStorageLensConfigurationAccountLevelBucketLevelActivityMetrics, StorageLensConfigurationStorageLensConfigurationAccountLevelBucketLevelActivityMetricsArgs
- Enabled bool
Whether the activity metrics are enabled.
- Enabled bool
Whether the activity metrics are enabled.
- enabled Boolean
Whether the activity metrics are enabled.
- enabled boolean
Whether the activity metrics are enabled.
- enabled bool
Whether the activity metrics are enabled.
- enabled Boolean
Whether the activity metrics are enabled.
StorageLensConfigurationStorageLensConfigurationAccountLevelBucketLevelAdvancedCostOptimizationMetrics, StorageLensConfigurationStorageLensConfigurationAccountLevelBucketLevelAdvancedCostOptimizationMetricsArgs
- Enabled bool
Whether advanced cost-optimization metrics are enabled.
- Enabled bool
Whether advanced cost-optimization metrics are enabled.
- enabled Boolean
Whether advanced cost-optimization metrics are enabled.
- enabled boolean
Whether advanced cost-optimization metrics are enabled.
- enabled bool
Whether advanced cost-optimization metrics are enabled.
- enabled Boolean
Whether advanced cost-optimization metrics are enabled.
StorageLensConfigurationStorageLensConfigurationAccountLevelBucketLevelAdvancedDataProtectionMetrics, StorageLensConfigurationStorageLensConfigurationAccountLevelBucketLevelAdvancedDataProtectionMetricsArgs
- Enabled bool
Whether advanced data-protection metrics are enabled.
- Enabled bool
Whether advanced data-protection metrics are enabled.
- enabled Boolean
Whether advanced data-protection metrics are enabled.
- enabled boolean
Whether advanced data-protection metrics are enabled.
- enabled bool
Whether advanced data-protection metrics are enabled.
- enabled Boolean
Whether advanced data-protection metrics are enabled.
StorageLensConfigurationStorageLensConfigurationAccountLevelBucketLevelDetailedStatusCodeMetrics, StorageLensConfigurationStorageLensConfigurationAccountLevelBucketLevelDetailedStatusCodeMetricsArgs
- Enabled bool
Whether detailed status code metrics are enabled.
- Enabled bool
Whether detailed status code metrics are enabled.
- enabled Boolean
Whether detailed status code metrics are enabled.
- enabled boolean
Whether detailed status code metrics are enabled.
- enabled bool
Whether detailed status code metrics are enabled.
- enabled Boolean
Whether detailed status code metrics are enabled.
StorageLensConfigurationStorageLensConfigurationAccountLevelBucketLevelPrefixLevel, StorageLensConfigurationStorageLensConfigurationAccountLevelBucketLevelPrefixLevelArgs
- Storage
Metrics StorageLens Configuration Storage Lens Configuration Account Level Bucket Level Prefix Level Storage Metrics Prefix-level storage metrics for S3 Storage Lens. See Prefix Level Storage Metrics below for more details.
- Storage
Metrics StorageLens Configuration Storage Lens Configuration Account Level Bucket Level Prefix Level Storage Metrics Prefix-level storage metrics for S3 Storage Lens. See Prefix Level Storage Metrics below for more details.
- storage
Metrics StorageLens Configuration Storage Lens Configuration Account Level Bucket Level Prefix Level Storage Metrics Prefix-level storage metrics for S3 Storage Lens. See Prefix Level Storage Metrics below for more details.
- storage
Metrics StorageLens Configuration Storage Lens Configuration Account Level Bucket Level Prefix Level Storage Metrics Prefix-level storage metrics for S3 Storage Lens. See Prefix Level Storage Metrics below for more details.
- storage_
metrics StorageLens Configuration Storage Lens Configuration Account Level Bucket Level Prefix Level Storage Metrics Prefix-level storage metrics for S3 Storage Lens. See Prefix Level Storage Metrics below for more details.
- storage
Metrics Property Map Prefix-level storage metrics for S3 Storage Lens. See Prefix Level Storage Metrics below for more details.
StorageLensConfigurationStorageLensConfigurationAccountLevelBucketLevelPrefixLevelStorageMetrics, StorageLensConfigurationStorageLensConfigurationAccountLevelBucketLevelPrefixLevelStorageMetricsArgs
- Enabled bool
Whether prefix-level storage metrics are enabled.
- Selection
Criteria StorageLens Configuration Storage Lens Configuration Account Level Bucket Level Prefix Level Storage Metrics Selection Criteria Selection criteria. See Selection Criteria below for more details.
- Enabled bool
Whether prefix-level storage metrics are enabled.
- Selection
Criteria StorageLens Configuration Storage Lens Configuration Account Level Bucket Level Prefix Level Storage Metrics Selection Criteria Selection criteria. See Selection Criteria below for more details.
- enabled Boolean
Whether prefix-level storage metrics are enabled.
- selection
Criteria StorageLens Configuration Storage Lens Configuration Account Level Bucket Level Prefix Level Storage Metrics Selection Criteria Selection criteria. See Selection Criteria below for more details.
- enabled boolean
Whether prefix-level storage metrics are enabled.
- selection
Criteria StorageLens Configuration Storage Lens Configuration Account Level Bucket Level Prefix Level Storage Metrics Selection Criteria Selection criteria. See Selection Criteria below for more details.
- enabled bool
Whether prefix-level storage metrics are enabled.
- selection_
criteria StorageLens Configuration Storage Lens Configuration Account Level Bucket Level Prefix Level Storage Metrics Selection Criteria Selection criteria. See Selection Criteria below for more details.
- enabled Boolean
Whether prefix-level storage metrics are enabled.
- selection
Criteria Property Map Selection criteria. See Selection Criteria below for more details.
StorageLensConfigurationStorageLensConfigurationAccountLevelBucketLevelPrefixLevelStorageMetricsSelectionCriteria, StorageLensConfigurationStorageLensConfigurationAccountLevelBucketLevelPrefixLevelStorageMetricsSelectionCriteriaArgs
- Delimiter string
The delimiter of the selection criteria being used.
- Max
Depth int The max depth of the selection criteria.
- Min
Storage doubleBytes Percentage The minimum number of storage bytes percentage whose metrics will be selected.
- Delimiter string
The delimiter of the selection criteria being used.
- Max
Depth int The max depth of the selection criteria.
- Min
Storage float64Bytes Percentage The minimum number of storage bytes percentage whose metrics will be selected.
- delimiter String
The delimiter of the selection criteria being used.
- max
Depth Integer The max depth of the selection criteria.
- min
Storage DoubleBytes Percentage The minimum number of storage bytes percentage whose metrics will be selected.
- delimiter string
The delimiter of the selection criteria being used.
- max
Depth number The max depth of the selection criteria.
- min
Storage numberBytes Percentage The minimum number of storage bytes percentage whose metrics will be selected.
- delimiter str
The delimiter of the selection criteria being used.
- max_
depth int The max depth of the selection criteria.
- min_
storage_ floatbytes_ percentage The minimum number of storage bytes percentage whose metrics will be selected.
- delimiter String
The delimiter of the selection criteria being used.
- max
Depth Number The max depth of the selection criteria.
- min
Storage NumberBytes Percentage The minimum number of storage bytes percentage whose metrics will be selected.
StorageLensConfigurationStorageLensConfigurationAccountLevelDetailedStatusCodeMetrics, StorageLensConfigurationStorageLensConfigurationAccountLevelDetailedStatusCodeMetricsArgs
- Enabled bool
Whether detailed status code metrics are enabled.
- Enabled bool
Whether detailed status code metrics are enabled.
- enabled Boolean
Whether detailed status code metrics are enabled.
- enabled boolean
Whether detailed status code metrics are enabled.
- enabled bool
Whether detailed status code metrics are enabled.
- enabled Boolean
Whether detailed status code metrics are enabled.
StorageLensConfigurationStorageLensConfigurationAwsOrg, StorageLensConfigurationStorageLensConfigurationAwsOrgArgs
- Arn string
The Amazon Resource Name (ARN) of the Amazon Web Services organization.
- Arn string
The Amazon Resource Name (ARN) of the Amazon Web Services organization.
- arn String
The Amazon Resource Name (ARN) of the Amazon Web Services organization.
- arn string
The Amazon Resource Name (ARN) of the Amazon Web Services organization.
- arn str
The Amazon Resource Name (ARN) of the Amazon Web Services organization.
- arn String
The Amazon Resource Name (ARN) of the Amazon Web Services organization.
StorageLensConfigurationStorageLensConfigurationDataExport, StorageLensConfigurationStorageLensConfigurationDataExportArgs
- Cloud
Watch StorageMetrics Lens Configuration Storage Lens Configuration Data Export Cloud Watch Metrics Amazon CloudWatch publishing for S3 Storage Lens metrics. See Cloud Watch Metrics below for more details.
- S3Bucket
Destination StorageLens Configuration Storage Lens Configuration Data Export S3Bucket Destination The bucket where the S3 Storage Lens metrics export will be located. See S3 Bucket Destination below for more details.
- Cloud
Watch StorageMetrics Lens Configuration Storage Lens Configuration Data Export Cloud Watch Metrics Amazon CloudWatch publishing for S3 Storage Lens metrics. See Cloud Watch Metrics below for more details.
- S3Bucket
Destination StorageLens Configuration Storage Lens Configuration Data Export S3Bucket Destination The bucket where the S3 Storage Lens metrics export will be located. See S3 Bucket Destination below for more details.
- cloud
Watch StorageMetrics Lens Configuration Storage Lens Configuration Data Export Cloud Watch Metrics Amazon CloudWatch publishing for S3 Storage Lens metrics. See Cloud Watch Metrics below for more details.
- s3Bucket
Destination StorageLens Configuration Storage Lens Configuration Data Export S3Bucket Destination The bucket where the S3 Storage Lens metrics export will be located. See S3 Bucket Destination below for more details.
- cloud
Watch StorageMetrics Lens Configuration Storage Lens Configuration Data Export Cloud Watch Metrics Amazon CloudWatch publishing for S3 Storage Lens metrics. See Cloud Watch Metrics below for more details.
- s3Bucket
Destination StorageLens Configuration Storage Lens Configuration Data Export S3Bucket Destination The bucket where the S3 Storage Lens metrics export will be located. See S3 Bucket Destination below for more details.
- cloud_
watch_ Storagemetrics Lens Configuration Storage Lens Configuration Data Export Cloud Watch Metrics Amazon CloudWatch publishing for S3 Storage Lens metrics. See Cloud Watch Metrics below for more details.
- s3_
bucket_ Storagedestination Lens Configuration Storage Lens Configuration Data Export S3Bucket Destination The bucket where the S3 Storage Lens metrics export will be located. See S3 Bucket Destination below for more details.
- cloud
Watch Property MapMetrics Amazon CloudWatch publishing for S3 Storage Lens metrics. See Cloud Watch Metrics below for more details.
- s3Bucket
Destination Property Map The bucket where the S3 Storage Lens metrics export will be located. See S3 Bucket Destination below for more details.
StorageLensConfigurationStorageLensConfigurationDataExportCloudWatchMetrics, StorageLensConfigurationStorageLensConfigurationDataExportCloudWatchMetricsArgs
- Enabled bool
Whether CloudWatch publishing for S3 Storage Lens metrics is enabled.
- Enabled bool
Whether CloudWatch publishing for S3 Storage Lens metrics is enabled.
- enabled Boolean
Whether CloudWatch publishing for S3 Storage Lens metrics is enabled.
- enabled boolean
Whether CloudWatch publishing for S3 Storage Lens metrics is enabled.
- enabled bool
Whether CloudWatch publishing for S3 Storage Lens metrics is enabled.
- enabled Boolean
Whether CloudWatch publishing for S3 Storage Lens metrics is enabled.
StorageLensConfigurationStorageLensConfigurationDataExportS3BucketDestination, StorageLensConfigurationStorageLensConfigurationDataExportS3BucketDestinationArgs
- Account
Id string The AWS account ID for the S3 Storage Lens configuration. Defaults to automatically determined account ID of the AWS provider.
- Arn string
The Amazon Resource Name (ARN) of the Amazon Web Services organization.
- Format string
The export format. Valid values:
CSV
,Parquet
.- Output
Schema stringVersion The schema version of the export file. Valid values:
V_1
.- Encryption
Storage
Lens Configuration Storage Lens Configuration Data Export S3Bucket Destination Encryption Encryption of the metrics exports in this bucket. See Encryption below for more details.
- Prefix string
The prefix of the destination bucket where the metrics export will be delivered.
- Account
Id string The AWS account ID for the S3 Storage Lens configuration. Defaults to automatically determined account ID of the AWS provider.
- Arn string
The Amazon Resource Name (ARN) of the Amazon Web Services organization.
- Format string
The export format. Valid values:
CSV
,Parquet
.- Output
Schema stringVersion The schema version of the export file. Valid values:
V_1
.- Encryption
Storage
Lens Configuration Storage Lens Configuration Data Export S3Bucket Destination Encryption Encryption of the metrics exports in this bucket. See Encryption below for more details.
- Prefix string
The prefix of the destination bucket where the metrics export will be delivered.
- account
Id String The AWS account ID for the S3 Storage Lens configuration. Defaults to automatically determined account ID of the AWS provider.
- arn String
The Amazon Resource Name (ARN) of the Amazon Web Services organization.
- format String
The export format. Valid values:
CSV
,Parquet
.- output
Schema StringVersion The schema version of the export file. Valid values:
V_1
.- encryption
Storage
Lens Configuration Storage Lens Configuration Data Export S3Bucket Destination Encryption Encryption of the metrics exports in this bucket. See Encryption below for more details.
- prefix String
The prefix of the destination bucket where the metrics export will be delivered.
- account
Id string The AWS account ID for the S3 Storage Lens configuration. Defaults to automatically determined account ID of the AWS provider.
- arn string
The Amazon Resource Name (ARN) of the Amazon Web Services organization.
- format string
The export format. Valid values:
CSV
,Parquet
.- output
Schema stringVersion The schema version of the export file. Valid values:
V_1
.- encryption
Storage
Lens Configuration Storage Lens Configuration Data Export S3Bucket Destination Encryption Encryption of the metrics exports in this bucket. See Encryption below for more details.
- prefix string
The prefix of the destination bucket where the metrics export will be delivered.
- account_
id str The AWS account ID for the S3 Storage Lens configuration. Defaults to automatically determined account ID of the AWS provider.
- arn str
The Amazon Resource Name (ARN) of the Amazon Web Services organization.
- format str
The export format. Valid values:
CSV
,Parquet
.- output_
schema_ strversion The schema version of the export file. Valid values:
V_1
.- encryption
Storage
Lens Configuration Storage Lens Configuration Data Export S3Bucket Destination Encryption Encryption of the metrics exports in this bucket. See Encryption below for more details.
- prefix str
The prefix of the destination bucket where the metrics export will be delivered.
- account
Id String The AWS account ID for the S3 Storage Lens configuration. Defaults to automatically determined account ID of the AWS provider.
- arn String
The Amazon Resource Name (ARN) of the Amazon Web Services organization.
- format String
The export format. Valid values:
CSV
,Parquet
.- output
Schema StringVersion The schema version of the export file. Valid values:
V_1
.- encryption Property Map
Encryption of the metrics exports in this bucket. See Encryption below for more details.
- prefix String
The prefix of the destination bucket where the metrics export will be delivered.
StorageLensConfigurationStorageLensConfigurationDataExportS3BucketDestinationEncryption, StorageLensConfigurationStorageLensConfigurationDataExportS3BucketDestinationEncryptionArgs
- Sse
Kms StorageLens Configuration Storage Lens Configuration Data Export S3Bucket Destination Encryption Sse Kms SSE-KMS encryption. See SSE KMS below for more details.
- Sse
S3s List<StorageLens Configuration Storage Lens Configuration Data Export S3Bucket Destination Encryption Sse S3> SSE-S3 encryption. An empty configuration block
{}
should be used.
- Sse
Kms StorageLens Configuration Storage Lens Configuration Data Export S3Bucket Destination Encryption Sse Kms SSE-KMS encryption. See SSE KMS below for more details.
- Sse
S3s []StorageLens Configuration Storage Lens Configuration Data Export S3Bucket Destination Encryption Sse S3 SSE-S3 encryption. An empty configuration block
{}
should be used.
- sse
Kms StorageLens Configuration Storage Lens Configuration Data Export S3Bucket Destination Encryption Sse Kms SSE-KMS encryption. See SSE KMS below for more details.
- sse
S3s List<StorageLens Configuration Storage Lens Configuration Data Export S3Bucket Destination Encryption Sse S3> SSE-S3 encryption. An empty configuration block
{}
should be used.
- sse
Kms StorageLens Configuration Storage Lens Configuration Data Export S3Bucket Destination Encryption Sse Kms SSE-KMS encryption. See SSE KMS below for more details.
- sse
S3s StorageLens Configuration Storage Lens Configuration Data Export S3Bucket Destination Encryption Sse S3[] SSE-S3 encryption. An empty configuration block
{}
should be used.
- sse_
kms StorageLens Configuration Storage Lens Configuration Data Export S3Bucket Destination Encryption Sse Kms SSE-KMS encryption. See SSE KMS below for more details.
- sse_
s3s Sequence[StorageLens Configuration Storage Lens Configuration Data Export S3Bucket Destination Encryption Sse S3] SSE-S3 encryption. An empty configuration block
{}
should be used.
- sse
Kms Property Map SSE-KMS encryption. See SSE KMS below for more details.
- sse
S3s List<Property Map> SSE-S3 encryption. An empty configuration block
{}
should be used.
StorageLensConfigurationStorageLensConfigurationDataExportS3BucketDestinationEncryptionSseKms, StorageLensConfigurationStorageLensConfigurationDataExportS3BucketDestinationEncryptionSseKmsArgs
- Key
Id string KMS key ARN.
- Key
Id string KMS key ARN.
- key
Id String KMS key ARN.
- key
Id string KMS key ARN.
- key_
id str KMS key ARN.
- key
Id String KMS key ARN.
StorageLensConfigurationStorageLensConfigurationExclude, StorageLensConfigurationStorageLensConfigurationExcludeArgs
StorageLensConfigurationStorageLensConfigurationInclude, StorageLensConfigurationStorageLensConfigurationIncludeArgs
Import
Using pulumi import
, import S3 Storage Lens configurations using the account_id
and config_id
, separated by a colon (:
). For example:
$ pulumi import aws:s3control/storageLensConfiguration:StorageLensConfiguration example 123456789012:example-1
Package Details
- Repository
- AWS Classic pulumi/pulumi-aws
- License
- Apache-2.0
- Notes
This Pulumi package is based on the
aws
Terraform Provider.
Try AWS Native preview for resources not in the classic version.