Show / Hide Table of Contents

Class CfnBucket.MetricsProperty

A container specifying replication metrics-related settings enabling replication metrics and events.

Inheritance
System.Object
CfnBucket.MetricsProperty
Implements
CfnBucket.IMetricsProperty
Namespace: Amazon.CDK.AWS.S3
Assembly: Amazon.CDK.AWS.S3.dll
Syntax (csharp)
public class MetricsProperty : Object, CfnBucket.IMetricsProperty
Syntax (vb)
Public Class MetricsProperty
    Inherits Object
    Implements CfnBucket.IMetricsProperty
Remarks

Link: 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;

MetricsProperty 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 s3:Replication:OperationMissedThreshold event.

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

Link: 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.

public string Status { get; set; }
Property Value

System.String

Remarks

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

Implements

CfnBucket.IMetricsProperty
Back to top Generated by DocFX