interface MetricsProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.S3.Mixins.CfnBucketPropsMixin.MetricsProperty |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awss3/mixins#CfnBucketPropsMixin_MetricsProperty |
Java | software.amazon.awscdk.mixins.preview.services.s3.mixins.CfnBucketPropsMixin.MetricsProperty |
Python | aws_cdk.mixins_preview.aws_s3.mixins.CfnBucketPropsMixin.MetricsProperty |
TypeScript | @aws-cdk/mixins-preview » aws_s3 » mixins » CfnBucketPropsMixin » MetricsProperty |
A container specifying replication metrics-related settings enabling replication metrics and events.
See also: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-metrics.html
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { mixins as s3_mixins } from '@aws-cdk/mixins-preview/aws-s3';
const metricsProperty: s3_mixins.CfnBucketPropsMixin.MetricsProperty = {
eventThreshold: {
minutes: 123,
},
status: 'status',
};
Properties
| Name | Type | Description |
|---|---|---|
| event | IResolvable | Replication | A container specifying the time threshold for emitting the s3:Replication:OperationMissedThreshold event. |
| status? | string | Specifies whether the replication metrics are enabled. |
eventThreshold?
Type:
IResolvable | Replication
(optional)
A container specifying the time threshold for emitting the s3:Replication:OperationMissedThreshold event.
status?
Type:
string
(optional)
Specifies whether the replication metrics are enabled.

.NET
Go
Java
Python
TypeScript