Class CfnBucket.AnalyticsConfigurationProperty
Specifies the configuration and any analyses for the analytics filter of an Amazon S3 bucket.
Implements
Inherited Members
Namespace: Amazon.CDK.AWS.S3
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnBucket.AnalyticsConfigurationProperty : CfnBucket.IAnalyticsConfigurationProperty
Syntax (vb)
Public Class CfnBucket.AnalyticsConfigurationProperty Implements CfnBucket.IAnalyticsConfigurationProperty
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.S3;
var analyticsConfigurationProperty = new AnalyticsConfigurationProperty {
Id = "id",
StorageClassAnalysis = new StorageClassAnalysisProperty {
DataExport = new DataExportProperty {
Destination = new DestinationProperty {
BucketArn = "bucketArn",
Format = "format",
// the properties below are optional
BucketAccountId = "bucketAccountId",
Prefix = "prefix"
},
OutputSchemaVersion = "outputSchemaVersion"
}
},
// the properties below are optional
Prefix = "prefix",
TagFilters = new [] { new TagFilterProperty {
Key = "key",
Value = "value"
} }
};
Synopsis
Constructors
AnalyticsConfigurationProperty() | Specifies the configuration and any analyses for the analytics filter of an Amazon S3 bucket. |
Properties
Id | The ID that identifies the analytics configuration. |
Prefix | The prefix that an object must have to be included in the analytics results. |
StorageClassAnalysis | Contains data related to access patterns to be collected and made available to analyze the tradeoffs between different storage classes. |
TagFilters | The tags to use when evaluating an analytics filter. |
Constructors
AnalyticsConfigurationProperty()
Specifies the configuration and any analyses for the analytics filter of an Amazon S3 bucket.
public AnalyticsConfigurationProperty()
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.S3;
var analyticsConfigurationProperty = new AnalyticsConfigurationProperty {
Id = "id",
StorageClassAnalysis = new StorageClassAnalysisProperty {
DataExport = new DataExportProperty {
Destination = new DestinationProperty {
BucketArn = "bucketArn",
Format = "format",
// the properties below are optional
BucketAccountId = "bucketAccountId",
Prefix = "prefix"
},
OutputSchemaVersion = "outputSchemaVersion"
}
},
// the properties below are optional
Prefix = "prefix",
TagFilters = new [] { new TagFilterProperty {
Key = "key",
Value = "value"
} }
};
Properties
Id
The ID that identifies the analytics configuration.
public string Id { get; set; }
Property Value
Remarks
Prefix
The prefix that an object must have to be included in the analytics results.
public string? Prefix { get; set; }
Property Value
Remarks
StorageClassAnalysis
Contains data related to access patterns to be collected and made available to analyze the tradeoffs between different storage classes.
public object StorageClassAnalysis { get; set; }
Property Value
Remarks
TagFilters
The tags to use when evaluating an analytics filter.
public object? TagFilters { get; set; }
Property Value
Remarks
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.