interface CustomizedMetricSpecification
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.AutoScaling.Events.AWSAPICallViaCloudTrail.CustomizedMetricSpecification |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awsautoscaling/events#AWSAPICallViaCloudTrail_CustomizedMetricSpecification |
Java | software.amazon.awscdk.mixins.preview.services.autoscaling.events.AWSAPICallViaCloudTrail.CustomizedMetricSpecification |
Python | aws_cdk.mixins_preview.aws_autoscaling.events.AWSAPICallViaCloudTrail.CustomizedMetricSpecification |
TypeScript | @aws-cdk/mixins-preview ยป aws_autoscaling ยป events ยป AWSAPICallViaCloudTrail ยป CustomizedMetricSpecification |
Type definition for CustomizedMetricSpecification.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { events as autoscaling_events } from '@aws-cdk/mixins-preview/aws-autoscaling';
const customizedMetricSpecification: autoscaling_events.AWSAPICallViaCloudTrail.CustomizedMetricSpecification = {
dimensions: [{
name: ['name'],
value: ['value'],
}],
metricName: ['metricName'],
namespace: ['namespace'],
statistic: ['statistic'],
unit: ['unit'],
};
Properties
| Name | Type | Description |
|---|---|---|
| dimensions? | Customized[] | dimensions property. |
| metric | string[] | metricName property. |
| namespace? | string[] | namespace property. |
| statistic? | string[] | statistic property. |
| unit? | string[] | unit property. |
dimensions?
Type:
Customized[]
(optional, default: Do not filter on this field)
dimensions property.
Specify an array of string values to match this event if the actual value of dimensions is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.
metricName?
Type:
string[]
(optional, default: Do not filter on this field)
metricName property.
Specify an array of string values to match this event if the actual value of metricName is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.
namespace?
Type:
string[]
(optional, default: Do not filter on this field)
namespace property.
Specify an array of string values to match this event if the actual value of namespace is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.
statistic?
Type:
string[]
(optional, default: Do not filter on this field)
statistic property.
Specify an array of string values to match this event if the actual value of statistic is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.
unit?
Type:
string[]
(optional, default: Do not filter on this field)
unit property.
Specify an array of string values to match this event if the actual value of unit is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

.NET
Go
Java
Python
TypeScript