aws.s3control.StorageLensConfiguration
Explore with Pulumi AI
Provides a resource to manage an S3 Storage Lens configuration.
Example Usage
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: target.arn,
format: "CSV",
outputSchemaVersion: "V_1",
encryption: {
sseS3s: [{}],
},
},
},
exclude: {
buckets: [
b1.arn,
b2.arn,
],
regions: ["us-east-2"],
},
},
});
import pulumi
import pulumi_aws as aws
current = aws.get_caller_identity()
example = aws.s3control.StorageLensConfiguration("example",
config_id="example-1",
storage_lens_configuration={
"enabled": True,
"account_level": {
"activity_metrics": {
"enabled": True,
},
"bucket_level": {
"activity_metrics": {
"enabled": True,
},
},
},
"data_export": {
"cloud_watch_metrics": {
"enabled": True,
},
"s3_bucket_destination": {
"account_id": current.account_id,
"arn": target["arn"],
"format": "CSV",
"output_schema_version": "V_1",
"encryption": {
"sse_s3s": [{}],
},
},
},
"exclude": {
"buckets": [
b1["arn"],
b2["arn"],
],
"regions": ["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(target.Arn),
Format: pulumi.String("CSV"),
OutputSchemaVersion: pulumi.String("V_1"),
Encryption: &s3control.StorageLensConfigurationStorageLensConfigurationDataExportS3BucketDestinationEncryptionArgs{
SseS3s: s3control.StorageLensConfigurationStorageLensConfigurationDataExportS3BucketDestinationEncryptionSseS3Array{
nil,
},
},
},
},
Exclude: &s3control.StorageLensConfigurationStorageLensConfigurationExcludeArgs{
Buckets: pulumi.StringArray{
b1.Arn,
b2.Arn,
},
Regions: pulumi.StringArray{
pulumi.String("us-east-2"),
},
},
},
})
if err != nil {
return err
}
return nil
})
}
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 = target.Arn,
Format = "CSV",
OutputSchemaVersion = "V_1",
Encryption = new Aws.S3Control.Inputs.StorageLensConfigurationStorageLensConfigurationDataExportS3BucketDestinationEncryptionArgs
{
SseS3s = new[]
{
null,
},
},
},
},
Exclude = new Aws.S3Control.Inputs.StorageLensConfigurationStorageLensConfigurationExcludeArgs
{
Buckets = new[]
{
b1.Arn,
b2.Arn,
},
Regions = new[]
{
"us-east-2",
},
},
},
});
});
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(target.arn())
.format("CSV")
.outputSchemaVersion("V_1")
.encryption(StorageLensConfigurationStorageLensConfigurationDataExportS3BucketDestinationEncryptionArgs.builder()
.sseS3s()
.build())
.build())
.build())
.exclude(StorageLensConfigurationStorageLensConfigurationExcludeArgs.builder()
.buckets(
b1.arn(),
b2.arn())
.regions("us-east-2")
.build())
.build())
.build());
}
}
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: ${target.arn}
format: CSV
outputSchemaVersion: V_1
encryption:
sseS3s:
- {}
exclude:
buckets:
- ${b1.arn}
- ${b2.arn}
regions:
- us-east-2
variables:
current:
fn::invoke:
Function: aws:getCallerIdentity
Arguments: {}
Create StorageLensConfiguration Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new StorageLensConfiguration(name: string, args: StorageLensConfigurationArgs, opts?: CustomResourceOptions);
@overload
def StorageLensConfiguration(resource_name: str,
args: StorageLensConfigurationArgs,
opts: Optional[ResourceOptions] = None)
@overload
def StorageLensConfiguration(resource_name: str,
opts: Optional[ResourceOptions] = None,
config_id: Optional[str] = None,
storage_lens_configuration: Optional[StorageLensConfigurationStorageLensConfigurationArgs] = None,
account_id: Optional[str] = None,
tags: Optional[Mapping[str, str]] = 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.
Parameters
- 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.
Constructor example
The following reference example uses placeholder values for all input properties.
var storageLensConfigurationResource = new Aws.S3Control.StorageLensConfiguration("storageLensConfigurationResource", new()
{
ConfigId = "string",
StorageLensConfigurationDetail = new Aws.S3Control.Inputs.StorageLensConfigurationStorageLensConfigurationArgs
{
AccountLevel = new Aws.S3Control.Inputs.StorageLensConfigurationStorageLensConfigurationAccountLevelArgs
{
BucketLevel = new Aws.S3Control.Inputs.StorageLensConfigurationStorageLensConfigurationAccountLevelBucketLevelArgs
{
ActivityMetrics = new Aws.S3Control.Inputs.StorageLensConfigurationStorageLensConfigurationAccountLevelBucketLevelActivityMetricsArgs
{
Enabled = false,
},
AdvancedCostOptimizationMetrics = new Aws.S3Control.Inputs.StorageLensConfigurationStorageLensConfigurationAccountLevelBucketLevelAdvancedCostOptimizationMetricsArgs
{
Enabled = false,
},
AdvancedDataProtectionMetrics = new Aws.S3Control.Inputs.StorageLensConfigurationStorageLensConfigurationAccountLevelBucketLevelAdvancedDataProtectionMetricsArgs
{
Enabled = false,
},
DetailedStatusCodeMetrics = new Aws.S3Control.Inputs.StorageLensConfigurationStorageLensConfigurationAccountLevelBucketLevelDetailedStatusCodeMetricsArgs
{
Enabled = false,
},
PrefixLevel = new Aws.S3Control.Inputs.StorageLensConfigurationStorageLensConfigurationAccountLevelBucketLevelPrefixLevelArgs
{
StorageMetrics = new Aws.S3Control.Inputs.StorageLensConfigurationStorageLensConfigurationAccountLevelBucketLevelPrefixLevelStorageMetricsArgs
{
Enabled = false,
SelectionCriteria = new Aws.S3Control.Inputs.StorageLensConfigurationStorageLensConfigurationAccountLevelBucketLevelPrefixLevelStorageMetricsSelectionCriteriaArgs
{
Delimiter = "string",
MaxDepth = 0,
MinStorageBytesPercentage = 0,
},
},
},
},
ActivityMetrics = new Aws.S3Control.Inputs.StorageLensConfigurationStorageLensConfigurationAccountLevelActivityMetricsArgs
{
Enabled = false,
},
AdvancedCostOptimizationMetrics = new Aws.S3Control.Inputs.StorageLensConfigurationStorageLensConfigurationAccountLevelAdvancedCostOptimizationMetricsArgs
{
Enabled = false,
},
AdvancedDataProtectionMetrics = new Aws.S3Control.Inputs.StorageLensConfigurationStorageLensConfigurationAccountLevelAdvancedDataProtectionMetricsArgs
{
Enabled = false,
},
DetailedStatusCodeMetrics = new Aws.S3Control.Inputs.StorageLensConfigurationStorageLensConfigurationAccountLevelDetailedStatusCodeMetricsArgs
{
Enabled = false,
},
},
Enabled = false,
AwsOrg = new Aws.S3Control.Inputs.StorageLensConfigurationStorageLensConfigurationAwsOrgArgs
{
Arn = "string",
},
DataExport = new Aws.S3Control.Inputs.StorageLensConfigurationStorageLensConfigurationDataExportArgs
{
CloudWatchMetrics = new Aws.S3Control.Inputs.StorageLensConfigurationStorageLensConfigurationDataExportCloudWatchMetricsArgs
{
Enabled = false,
},
S3BucketDestination = new Aws.S3Control.Inputs.StorageLensConfigurationStorageLensConfigurationDataExportS3BucketDestinationArgs
{
AccountId = "string",
Arn = "string",
Format = "string",
OutputSchemaVersion = "string",
Encryption = new Aws.S3Control.Inputs.StorageLensConfigurationStorageLensConfigurationDataExportS3BucketDestinationEncryptionArgs
{
SseKms = new Aws.S3Control.Inputs.StorageLensConfigurationStorageLensConfigurationDataExportS3BucketDestinationEncryptionSseKmsArgs
{
KeyId = "string",
},
SseS3s = new[]
{
null,
},
},
Prefix = "string",
},
},
Exclude = new Aws.S3Control.Inputs.StorageLensConfigurationStorageLensConfigurationExcludeArgs
{
Buckets = new[]
{
"string",
},
Regions = new[]
{
"string",
},
},
Include = new Aws.S3Control.Inputs.StorageLensConfigurationStorageLensConfigurationIncludeArgs
{
Buckets = new[]
{
"string",
},
Regions = new[]
{
"string",
},
},
},
AccountId = "string",
Tags =
{
{ "string", "string" },
},
});
example, err := s3control.NewStorageLensConfiguration(ctx, "storageLensConfigurationResource", &s3control.StorageLensConfigurationArgs{
ConfigId: pulumi.String("string"),
StorageLensConfiguration: &s3control.StorageLensConfigurationStorageLensConfigurationArgs{
AccountLevel: &s3control.StorageLensConfigurationStorageLensConfigurationAccountLevelArgs{
BucketLevel: &s3control.StorageLensConfigurationStorageLensConfigurationAccountLevelBucketLevelArgs{
ActivityMetrics: &s3control.StorageLensConfigurationStorageLensConfigurationAccountLevelBucketLevelActivityMetricsArgs{
Enabled: pulumi.Bool(false),
},
AdvancedCostOptimizationMetrics: &s3control.StorageLensConfigurationStorageLensConfigurationAccountLevelBucketLevelAdvancedCostOptimizationMetricsArgs{
Enabled: pulumi.Bool(false),
},
AdvancedDataProtectionMetrics: &s3control.StorageLensConfigurationStorageLensConfigurationAccountLevelBucketLevelAdvancedDataProtectionMetricsArgs{
Enabled: pulumi.Bool(false),
},
DetailedStatusCodeMetrics: &s3control.StorageLensConfigurationStorageLensConfigurationAccountLevelBucketLevelDetailedStatusCodeMetricsArgs{
Enabled: pulumi.Bool(false),
},
PrefixLevel: &s3control.StorageLensConfigurationStorageLensConfigurationAccountLevelBucketLevelPrefixLevelArgs{
StorageMetrics: &s3control.StorageLensConfigurationStorageLensConfigurationAccountLevelBucketLevelPrefixLevelStorageMetricsArgs{
Enabled: pulumi.Bool(false),
SelectionCriteria: &s3control.StorageLensConfigurationStorageLensConfigurationAccountLevelBucketLevelPrefixLevelStorageMetricsSelectionCriteriaArgs{
Delimiter: pulumi.String("string"),
MaxDepth: pulumi.Int(0),
MinStorageBytesPercentage: pulumi.Float64(0),
},
},
},
},
ActivityMetrics: &s3control.StorageLensConfigurationStorageLensConfigurationAccountLevelActivityMetricsArgs{
Enabled: pulumi.Bool(false),
},
AdvancedCostOptimizationMetrics: &s3control.StorageLensConfigurationStorageLensConfigurationAccountLevelAdvancedCostOptimizationMetricsArgs{
Enabled: pulumi.Bool(false),
},
AdvancedDataProtectionMetrics: &s3control.StorageLensConfigurationStorageLensConfigurationAccountLevelAdvancedDataProtectionMetricsArgs{
Enabled: pulumi.Bool(false),
},
DetailedStatusCodeMetrics: &s3control.StorageLensConfigurationStorageLensConfigurationAccountLevelDetailedStatusCodeMetricsArgs{
Enabled: pulumi.Bool(false),
},
},
Enabled: pulumi.Bool(false),
AwsOrg: &s3control.StorageLensConfigurationStorageLensConfigurationAwsOrgArgs{
Arn: pulumi.String("string"),
},
DataExport: &s3control.StorageLensConfigurationStorageLensConfigurationDataExportArgs{
CloudWatchMetrics: &s3control.StorageLensConfigurationStorageLensConfigurationDataExportCloudWatchMetricsArgs{
Enabled: pulumi.Bool(false),
},
S3BucketDestination: &s3control.StorageLensConfigurationStorageLensConfigurationDataExportS3BucketDestinationArgs{
AccountId: pulumi.String("string"),
Arn: pulumi.String("string"),
Format: pulumi.String("string"),
OutputSchemaVersion: pulumi.String("string"),
Encryption: &s3control.StorageLensConfigurationStorageLensConfigurationDataExportS3BucketDestinationEncryptionArgs{
SseKms: &s3control.StorageLensConfigurationStorageLensConfigurationDataExportS3BucketDestinationEncryptionSseKmsArgs{
KeyId: pulumi.String("string"),
},
SseS3s: s3control.StorageLensConfigurationStorageLensConfigurationDataExportS3BucketDestinationEncryptionSseS3Array{
nil,
},
},
Prefix: pulumi.String("string"),
},
},
Exclude: &s3control.StorageLensConfigurationStorageLensConfigurationExcludeArgs{
Buckets: pulumi.StringArray{
pulumi.String("string"),
},
Regions: pulumi.StringArray{
pulumi.String("string"),
},
},
Include: &s3control.StorageLensConfigurationStorageLensConfigurationIncludeArgs{
Buckets: pulumi.StringArray{
pulumi.String("string"),
},
Regions: pulumi.StringArray{
pulumi.String("string"),
},
},
},
AccountId: pulumi.String("string"),
Tags: pulumi.StringMap{
"string": pulumi.String("string"),
},
})
var storageLensConfigurationResource = new StorageLensConfiguration("storageLensConfigurationResource", StorageLensConfigurationArgs.builder()
.configId("string")
.storageLensConfiguration(StorageLensConfigurationStorageLensConfigurationArgs.builder()
.accountLevel(StorageLensConfigurationStorageLensConfigurationAccountLevelArgs.builder()
.bucketLevel(StorageLensConfigurationStorageLensConfigurationAccountLevelBucketLevelArgs.builder()
.activityMetrics(StorageLensConfigurationStorageLensConfigurationAccountLevelBucketLevelActivityMetricsArgs.builder()
.enabled(false)
.build())
.advancedCostOptimizationMetrics(StorageLensConfigurationStorageLensConfigurationAccountLevelBucketLevelAdvancedCostOptimizationMetricsArgs.builder()
.enabled(false)
.build())
.advancedDataProtectionMetrics(StorageLensConfigurationStorageLensConfigurationAccountLevelBucketLevelAdvancedDataProtectionMetricsArgs.builder()
.enabled(false)
.build())
.detailedStatusCodeMetrics(StorageLensConfigurationStorageLensConfigurationAccountLevelBucketLevelDetailedStatusCodeMetricsArgs.builder()
.enabled(false)
.build())
.prefixLevel(StorageLensConfigurationStorageLensConfigurationAccountLevelBucketLevelPrefixLevelArgs.builder()
.storageMetrics(StorageLensConfigurationStorageLensConfigurationAccountLevelBucketLevelPrefixLevelStorageMetricsArgs.builder()
.enabled(false)
.selectionCriteria(StorageLensConfigurationStorageLensConfigurationAccountLevelBucketLevelPrefixLevelStorageMetricsSelectionCriteriaArgs.builder()
.delimiter("string")
.maxDepth(0)
.minStorageBytesPercentage(0)
.build())
.build())
.build())
.build())
.activityMetrics(StorageLensConfigurationStorageLensConfigurationAccountLevelActivityMetricsArgs.builder()
.enabled(false)
.build())
.advancedCostOptimizationMetrics(StorageLensConfigurationStorageLensConfigurationAccountLevelAdvancedCostOptimizationMetricsArgs.builder()
.enabled(false)
.build())
.advancedDataProtectionMetrics(StorageLensConfigurationStorageLensConfigurationAccountLevelAdvancedDataProtectionMetricsArgs.builder()
.enabled(false)
.build())
.detailedStatusCodeMetrics(StorageLensConfigurationStorageLensConfigurationAccountLevelDetailedStatusCodeMetricsArgs.builder()
.enabled(false)
.build())
.build())
.enabled(false)
.awsOrg(StorageLensConfigurationStorageLensConfigurationAwsOrgArgs.builder()
.arn("string")
.build())
.dataExport(StorageLensConfigurationStorageLensConfigurationDataExportArgs.builder()
.cloudWatchMetrics(StorageLensConfigurationStorageLensConfigurationDataExportCloudWatchMetricsArgs.builder()
.enabled(false)
.build())
.s3BucketDestination(StorageLensConfigurationStorageLensConfigurationDataExportS3BucketDestinationArgs.builder()
.accountId("string")
.arn("string")
.format("string")
.outputSchemaVersion("string")
.encryption(StorageLensConfigurationStorageLensConfigurationDataExportS3BucketDestinationEncryptionArgs.builder()
.sseKms(StorageLensConfigurationStorageLensConfigurationDataExportS3BucketDestinationEncryptionSseKmsArgs.builder()
.keyId("string")
.build())
.sseS3s()
.build())
.prefix("string")
.build())
.build())
.exclude(StorageLensConfigurationStorageLensConfigurationExcludeArgs.builder()
.buckets("string")
.regions("string")
.build())
.include(StorageLensConfigurationStorageLensConfigurationIncludeArgs.builder()
.buckets("string")
.regions("string")
.build())
.build())
.accountId("string")
.tags(Map.of("string", "string"))
.build());
storage_lens_configuration_resource = aws.s3control.StorageLensConfiguration("storageLensConfigurationResource",
config_id="string",
storage_lens_configuration={
"accountLevel": {
"bucketLevel": {
"activityMetrics": {
"enabled": False,
},
"advancedCostOptimizationMetrics": {
"enabled": False,
},
"advancedDataProtectionMetrics": {
"enabled": False,
},
"detailedStatusCodeMetrics": {
"enabled": False,
},
"prefixLevel": {
"storageMetrics": {
"enabled": False,
"selectionCriteria": {
"delimiter": "string",
"maxDepth": 0,
"minStorageBytesPercentage": 0,
},
},
},
},
"activityMetrics": {
"enabled": False,
},
"advancedCostOptimizationMetrics": {
"enabled": False,
},
"advancedDataProtectionMetrics": {
"enabled": False,
},
"detailedStatusCodeMetrics": {
"enabled": False,
},
},
"enabled": False,
"awsOrg": {
"arn": "string",
},
"dataExport": {
"cloudWatchMetrics": {
"enabled": False,
},
"s3BucketDestination": {
"accountId": "string",
"arn": "string",
"format": "string",
"outputSchemaVersion": "string",
"encryption": {
"sseKms": {
"keyId": "string",
},
"sseS3s": [{}],
},
"prefix": "string",
},
},
"exclude": {
"buckets": ["string"],
"regions": ["string"],
},
"include": {
"buckets": ["string"],
"regions": ["string"],
},
},
account_id="string",
tags={
"string": "string",
})
const storageLensConfigurationResource = new aws.s3control.StorageLensConfiguration("storageLensConfigurationResource", {
configId: "string",
storageLensConfiguration: {
accountLevel: {
bucketLevel: {
activityMetrics: {
enabled: false,
},
advancedCostOptimizationMetrics: {
enabled: false,
},
advancedDataProtectionMetrics: {
enabled: false,
},
detailedStatusCodeMetrics: {
enabled: false,
},
prefixLevel: {
storageMetrics: {
enabled: false,
selectionCriteria: {
delimiter: "string",
maxDepth: 0,
minStorageBytesPercentage: 0,
},
},
},
},
activityMetrics: {
enabled: false,
},
advancedCostOptimizationMetrics: {
enabled: false,
},
advancedDataProtectionMetrics: {
enabled: false,
},
detailedStatusCodeMetrics: {
enabled: false,
},
},
enabled: false,
awsOrg: {
arn: "string",
},
dataExport: {
cloudWatchMetrics: {
enabled: false,
},
s3BucketDestination: {
accountId: "string",
arn: "string",
format: "string",
outputSchemaVersion: "string",
encryption: {
sseKms: {
keyId: "string",
},
sseS3s: [{}],
},
prefix: "string",
},
},
exclude: {
buckets: ["string"],
regions: ["string"],
},
include: {
buckets: ["string"],
regions: ["string"],
},
},
accountId: "string",
tags: {
string: "string",
},
});
type: aws:s3control:StorageLensConfiguration
properties:
accountId: string
configId: string
storageLensConfiguration:
accountLevel:
activityMetrics:
enabled: false
advancedCostOptimizationMetrics:
enabled: false
advancedDataProtectionMetrics:
enabled: false
bucketLevel:
activityMetrics:
enabled: false
advancedCostOptimizationMetrics:
enabled: false
advancedDataProtectionMetrics:
enabled: false
detailedStatusCodeMetrics:
enabled: false
prefixLevel:
storageMetrics:
enabled: false
selectionCriteria:
delimiter: string
maxDepth: 0
minStorageBytesPercentage: 0
detailedStatusCodeMetrics:
enabled: false
awsOrg:
arn: string
dataExport:
cloudWatchMetrics:
enabled: false
s3BucketDestination:
accountId: string
arn: string
encryption:
sseKms:
keyId: string
sseS3s:
- {}
format: string
outputSchemaVersion: string
prefix: string
enabled: false
exclude:
buckets:
- string
regions:
- string
include:
buckets:
- string
regions:
- string
tags:
string: string
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:
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
- Amazon Resource Name (ARN) of the S3 Storage Lens configuration.
- 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.
- 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
- Amazon Resource Name (ARN) of the S3 Storage Lens configuration.
- 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.
- 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
- Amazon Resource Name (ARN) of the S3 Storage Lens configuration.
- 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.
- 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
- Amazon Resource Name (ARN) of the S3 Storage Lens configuration.
- 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.
- 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
- Amazon Resource Name (ARN) of the S3 Storage Lens configuration.
- 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.
- 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
- Amazon Resource Name (ARN) of the S3 Storage Lens configuration.
- 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.
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 account ID of the owner of the S3 Storage Lens metrics export bucket.
- Arn string
- The Amazon Resource Name (ARN) of the bucket.
- 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 account ID of the owner of the S3 Storage Lens metrics export bucket.
- Arn string
- The Amazon Resource Name (ARN) of the bucket.
- 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 account ID of the owner of the S3 Storage Lens metrics export bucket.
- arn String
- The Amazon Resource Name (ARN) of the bucket.
- 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 account ID of the owner of the S3 Storage Lens metrics export bucket.
- arn string
- The Amazon Resource Name (ARN) of the bucket.
- 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 account ID of the owner of the S3 Storage Lens metrics export bucket.
- arn str
- The Amazon Resource Name (ARN) of the bucket.
- 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 account ID of the owner of the S3 Storage Lens metrics export bucket.
- arn String
- The Amazon Resource Name (ARN) of the bucket.
- 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
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- AWS Classic pulumi/pulumi-aws
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
aws
Terraform Provider.