Interface CfnStorageLens.IAccountLevelProperty
This resource contains the details of the account-level metrics for Amazon S3 Storage Lens.
Namespace: Amazon.CDK.AWS.S3
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface IAccountLevelProperty
Syntax (vb)
Public Interface IAccountLevelProperty
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 accountLevelProperty = new AccountLevelProperty {
BucketLevel = new BucketLevelProperty {
ActivityMetrics = new ActivityMetricsProperty {
IsEnabled = false
},
AdvancedCostOptimizationMetrics = new AdvancedCostOptimizationMetricsProperty {
IsEnabled = false
},
AdvancedDataProtectionMetrics = new AdvancedDataProtectionMetricsProperty {
IsEnabled = false
},
DetailedStatusCodesMetrics = new DetailedStatusCodesMetricsProperty {
IsEnabled = false
},
PrefixLevel = new PrefixLevelProperty {
StorageMetrics = new PrefixLevelStorageMetricsProperty {
IsEnabled = false,
SelectionCriteria = new SelectionCriteriaProperty {
Delimiter = "delimiter",
MaxDepth = 123,
MinStorageBytesPercentage = 123
}
}
}
},
// the properties below are optional
ActivityMetrics = new ActivityMetricsProperty {
IsEnabled = false
},
AdvancedCostOptimizationMetrics = new AdvancedCostOptimizationMetricsProperty {
IsEnabled = false
},
AdvancedDataProtectionMetrics = new AdvancedDataProtectionMetricsProperty {
IsEnabled = false
},
DetailedStatusCodesMetrics = new DetailedStatusCodesMetricsProperty {
IsEnabled = false
},
StorageLensGroupLevel = new StorageLensGroupLevelProperty {
StorageLensGroupSelectionCriteria = new StorageLensGroupSelectionCriteriaProperty {
Exclude = new [] { "exclude" },
Include = new [] { "include" }
}
}
};
Synopsis
Properties
ActivityMetrics | This property contains the details of account-level activity metrics for S3 Storage Lens. |
AdvancedCostOptimizationMetrics | This property contains the details of account-level advanced cost optimization metrics for S3 Storage Lens. |
AdvancedDataProtectionMetrics | This property contains the details of account-level advanced data protection metrics for S3 Storage Lens. |
BucketLevel | This property contains the details of the account-level bucket-level configurations for Amazon S3 Storage Lens. |
DetailedStatusCodesMetrics | This property contains the details of account-level detailed status code metrics for S3 Storage Lens. |
StorageLensGroupLevel | This property determines the scope of Storage Lens group data that is displayed in the Storage Lens dashboard. |
Properties
ActivityMetrics
This property contains the details of account-level activity metrics for S3 Storage Lens.
virtual object ActivityMetrics { get; }
Property Value
System.Object
Remarks
AdvancedCostOptimizationMetrics
This property contains the details of account-level advanced cost optimization metrics for S3 Storage Lens.
virtual object AdvancedCostOptimizationMetrics { get; }
Property Value
System.Object
Remarks
AdvancedDataProtectionMetrics
This property contains the details of account-level advanced data protection metrics for S3 Storage Lens.
virtual object AdvancedDataProtectionMetrics { get; }
Property Value
System.Object
Remarks
BucketLevel
This property contains the details of the account-level bucket-level configurations for Amazon S3 Storage Lens.
object BucketLevel { get; }
Property Value
System.Object
Remarks
To enable bucket-level configurations, make sure to also set the same metrics at the account level.
DetailedStatusCodesMetrics
This property contains the details of account-level detailed status code metrics for S3 Storage Lens.
virtual object DetailedStatusCodesMetrics { get; }
Property Value
System.Object
Remarks
StorageLensGroupLevel
This property determines the scope of Storage Lens group data that is displayed in the Storage Lens dashboard.
virtual object StorageLensGroupLevel { get; }
Property Value
System.Object