Class CfnBucket.AnalyticsConfigurationProperty
Specifies the configuration and any analyses for the analytics filter of an Amazon S3 bucket.
Inheritance
Implements
Namespace: Amazon.CDK.AWS.S3
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class AnalyticsConfigurationProperty : Object, CfnBucket.IAnalyticsConfigurationProperty
Syntax (vb)
Public Class AnalyticsConfigurationProperty
Inherits Object
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() |
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()
public AnalyticsConfigurationProperty()
Properties
Id
The ID that identifies the analytics configuration.
public string Id { get; set; }
Property Value
System.String
Remarks
Prefix
The prefix that an object must have to be included in the analytics results.
public string Prefix { get; set; }
Property Value
System.String
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
System.Object
Remarks
TagFilters
The tags to use when evaluating an analytics filter.
public object TagFilters { get; set; }
Property Value
System.Object
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.