Class CfnStorageLens.CloudWatchMetricsProperty
This resource enables the Amazon CloudWatch publishing option for Amazon S3 Storage Lens metrics.
Inheritance
System.Object
CfnStorageLens.CloudWatchMetricsProperty
Implements
Namespace: Amazon.CDK.AWS.S3
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CloudWatchMetricsProperty : Object, CfnStorageLens.ICloudWatchMetricsProperty
Syntax (vb)
Public Class CloudWatchMetricsProperty
Inherits Object
Implements CfnStorageLens.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
Constructors
CloudWatchMetricsProperty() |
Properties
IsEnabled | This property identifies whether the CloudWatch publishing option for S3 Storage Lens is enabled. |
Constructors
CloudWatchMetricsProperty()
public CloudWatchMetricsProperty()
Properties
IsEnabled
This property identifies whether the CloudWatch publishing option for S3 Storage Lens is enabled.
public object IsEnabled { get; set; }
Property Value
System.Object