Interface CfnStorageLens.ICloudWatchMetricsProperty
This resource enables the Amazon CloudWatch publishing option for Amazon S3 Storage Lens metrics.
Namespace: Amazon.CDK.AWS.S3
Assembly: Amazon.CDK.AWS.S3.dll
Syntax (csharp)
public interface ICloudWatchMetricsProperty
Syntax (vb)
Public Interface ICloudWatchMetricsProperty
Remarks
For more information, see Monitor S3 Storage Lens metrics in CloudWatch in the Amazon S3 User Guide .
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 cloudWatchMetricsProperty = new CloudWatchMetricsProperty {
IsEnabled = false
};
Synopsis
Properties
IsEnabled | This property identifies whether the CloudWatch publishing option for S3 Storage Lens is enabled. |
Properties
IsEnabled
This property identifies whether the CloudWatch publishing option for S3 Storage Lens is enabled.
object IsEnabled { get; }
Property Value
System.Object