interface TargetCapacitySpecification
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.EC2.Events.InstanceEvents.AWSAPICallViaCloudTrail.TargetCapacitySpecification |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awsec2/events#InstanceEvents_AWSAPICallViaCloudTrail_TargetCapacitySpecification |
Java | software.amazon.awscdk.mixins.preview.services.ec2.events.InstanceEvents.AWSAPICallViaCloudTrail.TargetCapacitySpecification |
Python | aws_cdk.mixins_preview.aws_ec2.events.InstanceEvents.AWSAPICallViaCloudTrail.TargetCapacitySpecification |
TypeScript | @aws-cdk/mixins-preview ยป aws_ec2 ยป events ยป InstanceEvents ยป AWSAPICallViaCloudTrail ยป TargetCapacitySpecification |
Type definition for TargetCapacitySpecification.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { events as ec2_events } from '@aws-cdk/mixins-preview/aws-ec2';
const targetCapacitySpecification: ec2_events.InstanceEvents.AWSAPICallViaCloudTrail.TargetCapacitySpecification = {
defaultTargetCapacityType: ['defaultTargetCapacityType'],
onDemandTargetCapacity: ['onDemandTargetCapacity'],
spotTargetCapacity: ['spotTargetCapacity'],
totalTargetCapacity: ['totalTargetCapacity'],
};
Properties
| Name | Type | Description |
|---|---|---|
| default | string[] | DefaultTargetCapacityType property. |
| on | string[] | OnDemandTargetCapacity property. |
| spot | string[] | SpotTargetCapacity property. |
| total | string[] | TotalTargetCapacity property. |
defaultTargetCapacityType?
Type:
string[]
(optional, default: Do not filter on this field)
DefaultTargetCapacityType property.
Specify an array of string values to match this event if the actual value of DefaultTargetCapacityType is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.
onDemandTargetCapacity?
Type:
string[]
(optional, default: Do not filter on this field)
OnDemandTargetCapacity property.
Specify an array of string values to match this event if the actual value of OnDemandTargetCapacity is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.
spotTargetCapacity?
Type:
string[]
(optional, default: Do not filter on this field)
SpotTargetCapacity property.
Specify an array of string values to match this event if the actual value of SpotTargetCapacity is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.
totalTargetCapacity?
Type:
string[]
(optional, default: Do not filter on this field)
TotalTargetCapacity property.
Specify an array of string values to match this event if the actual value of TotalTargetCapacity 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