interface TargetTrackingConfiguration
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.AutoScaling.Events.AWSAPICallViaCloudTrail.TargetTrackingConfiguration |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awsautoscaling/events#AWSAPICallViaCloudTrail_TargetTrackingConfiguration |
Java | software.amazon.awscdk.mixins.preview.services.autoscaling.events.AWSAPICallViaCloudTrail.TargetTrackingConfiguration |
Python | aws_cdk.mixins_preview.aws_autoscaling.events.AWSAPICallViaCloudTrail.TargetTrackingConfiguration |
TypeScript | @aws-cdk/mixins-preview ยป aws_autoscaling ยป events ยป AWSAPICallViaCloudTrail ยป TargetTrackingConfiguration |
Type definition for TargetTrackingConfiguration.
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 targetTrackingConfiguration: autoscaling_events.AWSAPICallViaCloudTrail.TargetTrackingConfiguration = {
customizedMetricSpecification: {
dimensions: [{
name: ['name'],
value: ['value'],
}],
metricName: ['metricName'],
namespace: ['namespace'],
statistic: ['statistic'],
unit: ['unit'],
},
predefinedMetricSpecification: {
predefinedMetricType: ['predefinedMetricType'],
},
targetValue: ['targetValue'],
};
Properties
| Name | Type | Description |
|---|---|---|
| customized | Customized | customizedMetricSpecification property. |
| predefined | Predefined | predefinedMetricSpecification property. |
| target | string[] | targetValue property. |
customizedMetricSpecification?
Type:
Customized
(optional, default: Do not filter on this field)
customizedMetricSpecification property.
Specify an array of string values to match this event if the actual value of customizedMetricSpecification is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.
predefinedMetricSpecification?
Type:
Predefined
(optional, default: Do not filter on this field)
predefinedMetricSpecification property.
Specify an array of string values to match this event if the actual value of predefinedMetricSpecification is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.
targetValue?
Type:
string[]
(optional, default: Do not filter on this field)
targetValue property.
Specify an array of string values to match this event if the actual value of targetValue 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