interface MetricsConfigProperty
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.Lambda.CfnEventSourceMapping.MetricsConfigProperty |
![]() | github.com/aws/aws-cdk-go/awscdk/v2/awslambda#CfnEventSourceMapping_MetricsConfigProperty |
![]() | software.amazon.awscdk.services.lambda.CfnEventSourceMapping.MetricsConfigProperty |
![]() | aws_cdk.aws_lambda.CfnEventSourceMapping.MetricsConfigProperty |
![]() | aws-cdk-lib » aws_lambda » CfnEventSourceMapping » MetricsConfigProperty |
The metrics configuration for your event source.
Use this configuration object to define which metrics you want your event source mapping to produce.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_lambda as lambda } from 'aws-cdk-lib';
const metricsConfigProperty: lambda.CfnEventSourceMapping.MetricsConfigProperty = {
metrics: ['metrics'],
};
Properties
Name | Type | Description |
---|---|---|
metrics? | string[] | The metrics you want your event source mapping to produce. |
metrics?
Type:
string[]
(optional)
The metrics you want your event source mapping to produce.
Include EventCount
to receive event source mapping metrics related to the number of events processed by your event source mapping. For more information about these metrics, see Event source mapping metrics .