interface MetricFilterProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.Connect.CfnMetric.MetricFilterProperty |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsconnect#CfnMetric_MetricFilterProperty |
Java | software.amazon.awscdk.services.connect.CfnMetric.MetricFilterProperty |
Python | aws_cdk.aws_connect.CfnMetric.MetricFilterProperty |
TypeScript | aws-cdk-lib » aws_connect » CfnMetric » MetricFilterProperty |
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_connect as connect } from 'aws-cdk-lib';
const metricFilterProperty: connect.CfnMetric.MetricFilterProperty = {
metricFilterKey: 'metricFilterKey',
// the properties below are optional
booleanCondition: {
comparison: 'comparison',
},
negate: false,
numberCondition: {
comparison: 'comparison',
values: [123],
},
stringCondition: {
comparison: 'comparison',
values: ['values'],
},
};
Properties
| Name | Type | Description |
|---|---|---|
| metric | string | |
| boolean | IResolvable | Metric | |
| negate? | boolean | IResolvable | |
| number | IResolvable | Metric | |
| string | IResolvable | Metric |
metricFilterKey
Type:
string
booleanCondition?
Type:
IResolvable | Metric
(optional)
negate?
Type:
boolean | IResolvable
(optional)
numberCondition?
Type:
IResolvable | Metric
(optional)
stringCondition?
Type:
IResolvable | Metric
(optional)

.NET
Go
Java
Python
TypeScript