Class CfnBucket.MetricsProperty
A container specifying replication metrics-related settings enabling replication metrics and events.
Inheritance
System.Object
CfnBucket.MetricsProperty
Implements
Namespace: Amazon.CDK.AWS.S3
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class MetricsProperty : Object, CfnBucket.IMetricsProperty
Syntax (vb)
Public Class MetricsProperty
Inherits Object
Implements CfnBucket.IMetricsProperty
Remarks
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-metrics.html
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 metricsProperty = new MetricsProperty {
Status = "status",
// the properties below are optional
EventThreshold = new ReplicationTimeValueProperty {
Minutes = 123
}
};
Synopsis
Constructors
MetricsProperty() |
Properties
EventThreshold | A container specifying the time threshold for emitting the |
Status | Specifies whether the replication metrics are enabled. |
Constructors
MetricsProperty()
public MetricsProperty()
Properties
EventThreshold
A container specifying the time threshold for emitting the s3:Replication:OperationMissedThreshold
event.
public object EventThreshold { get; set; }
Property Value
System.Object
Remarks
Status
Specifies whether the replication metrics are enabled.
public string Status { get; set; }
Property Value
System.String