Interface CfnBucket.IMetricsProperty
A container specifying replication metrics-related settings enabling replication metrics and events.
Namespace: Amazon.CDK.AWS.S3
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface IMetricsProperty
Syntax (vb)
Public Interface 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
Properties
EventThreshold | A container specifying the time threshold for emitting the |
Status | Specifies whether the replication metrics are enabled. |
Properties
EventThreshold
A container specifying the time threshold for emitting the s3:Replication:OperationMissedThreshold
event.
virtual object EventThreshold { get; }
Property Value
System.Object
Remarks
Status
Specifies whether the replication metrics are enabled.
string Status { get; }
Property Value
System.String