aws-cdk-lib.aws_s3.CfnBucket.AnalyticsConfigurationProperty

interface AnalyticsConfigurationProperty

LanguageType name
.NETAmazon.CDK.AWS.S3.CfnBucket.AnalyticsConfigurationProperty
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awss3#CfnBucket_AnalyticsConfigurationProperty
Javasoftware.amazon.awscdk.services.s3.CfnBucket.AnalyticsConfigurationProperty
Pythonaws_cdk.aws_s3.CfnBucket.AnalyticsConfigurationProperty
TypeScript aws-cdk-lib » aws_s3 » CfnBucket » AnalyticsConfigurationProperty

Specifies the configuration and any analyses for the analytics filter of an Amazon S3 bucket.

Example

// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_s3 as s3 } from 'aws-cdk-lib';
const analyticsConfigurationProperty: s3.CfnBucket.AnalyticsConfigurationProperty = {
  id: 'id',
  storageClassAnalysis: {
    dataExport: {
      destination: {
        bucketArn: 'bucketArn',
        format: 'format',

        // the properties below are optional
        bucketAccountId: 'bucketAccountId',
        prefix: 'prefix',
      },
      outputSchemaVersion: 'outputSchemaVersion',
    },
  },

  // the properties below are optional
  prefix: 'prefix',
  tagFilters: [{
    key: 'key',
    value: 'value',
  }],
};

Properties

NameTypeDescription
idstringThe ID that identifies the analytics configuration.
storageClassAnalysisIResolvable | StorageClassAnalysisPropertyContains data related to access patterns to be collected and made available to analyze the tradeoffs between different storage classes.
prefix?stringThe prefix that an object must have to be included in the analytics results.
tagFilters?IResolvable | IResolvable | TagFilterProperty[]The tags to use when evaluating an analytics filter.

id

Type: string

The ID that identifies the analytics configuration.


storageClassAnalysis

Type: IResolvable | StorageClassAnalysisProperty

Contains data related to access patterns to be collected and made available to analyze the tradeoffs between different storage classes.


prefix?

Type: string (optional)

The prefix that an object must have to be included in the analytics results.


tagFilters?

Type: IResolvable | IResolvable | TagFilterProperty[] (optional)

The tags to use when evaluating an analytics filter.

The analytics only includes objects that meet the filter's criteria. If no filter is specified, all of the contents of the bucket are included in the analysis.