Show / Hide Table of Contents

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 CfnBucket.IMetricsProperty
Syntax (vb)
Public Interface 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

Properties

EventThreshold

A container specifying the time threshold for emitting the s3:Replication:OperationMissedThreshold event.

Status

Specifies whether the replication metrics are enabled.

Properties

EventThreshold

A container specifying the time threshold for emitting the s3:Replication:OperationMissedThreshold event.

object? EventThreshold { get; }
Property Value

object

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-metrics.html#cfn-s3-bucket-metrics-eventthreshold

Status

Specifies whether the replication metrics are enabled.

string Status { get; }
Property Value

string

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-metrics.html#cfn-s3-bucket-metrics-status

Back to top Generated by DocFX