interface CalculationComponentProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.Connect.CfnMetric.CalculationComponentProperty |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsconnect#CfnMetric_CalculationComponentProperty |
Java | software.amazon.awscdk.services.connect.CfnMetric.CalculationComponentProperty |
Python | aws_cdk.aws_connect.CfnMetric.CalculationComponentProperty |
TypeScript | aws-cdk-lib » aws_connect » CfnMetric » CalculationComponentProperty |
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 calculationComponentProperty: connect.CfnMetric.CalculationComponentProperty = {
alias: 'alias',
// the properties below are optional
metricFilters: [{
metricFilterKey: 'metricFilterKey',
// the properties below are optional
booleanCondition: {
comparison: 'comparison',
},
negate: false,
numberCondition: {
comparison: 'comparison',
values: [123],
},
stringCondition: {
comparison: 'comparison',
values: ['values'],
},
}],
metricId: 'metricId',
metricName: 'metricName',
};
Properties
| Name | Type | Description |
|---|---|---|
| alias | string | Metric calculation component alias for use within a calculation. |
| metric | IResolvable | (IResolvable | Metric)[] | |
| metric | string | |
| metric | string |
alias
Type:
string
Metric calculation component alias for use within a calculation.
metricFilters?
Type:
IResolvable | (IResolvable | Metric)[]
(optional)
metricId?
Type:
string
(optional)
metricName?
Type:
string
(optional)

.NET
Go
Java
Python
TypeScript