interface InstancesDistribution
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.AutoScaling.Events.AWSAPICallViaCloudTrail.InstancesDistribution |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awsautoscaling/events#AWSAPICallViaCloudTrail_InstancesDistribution |
Java | software.amazon.awscdk.mixins.preview.services.autoscaling.events.AWSAPICallViaCloudTrail.InstancesDistribution |
Python | aws_cdk.mixins_preview.aws_autoscaling.events.AWSAPICallViaCloudTrail.InstancesDistribution |
TypeScript | @aws-cdk/mixins-preview ยป aws_autoscaling ยป events ยป AWSAPICallViaCloudTrail ยป InstancesDistribution |
Type definition for InstancesDistribution.
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 instancesDistribution: autoscaling_events.AWSAPICallViaCloudTrail.InstancesDistribution = {
onDemandAllocationStrategy: ['onDemandAllocationStrategy'],
onDemandBaseCapacity: ['onDemandBaseCapacity'],
onDemandPercentageAboveBaseCapacity: ['onDemandPercentageAboveBaseCapacity'],
spotAllocationStrategy: ['spotAllocationStrategy'],
spotInstancePools: ['spotInstancePools'],
};
Properties
| Name | Type | Description |
|---|---|---|
| on | string[] | onDemandAllocationStrategy property. |
| on | string[] | onDemandBaseCapacity property. |
| on | string[] | onDemandPercentageAboveBaseCapacity property. |
| spot | string[] | spotAllocationStrategy property. |
| spot | string[] | spotInstancePools property. |
onDemandAllocationStrategy?
Type:
string[]
(optional, default: Do not filter on this field)
onDemandAllocationStrategy property.
Specify an array of string values to match this event if the actual value of onDemandAllocationStrategy is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.
onDemandBaseCapacity?
Type:
string[]
(optional, default: Do not filter on this field)
onDemandBaseCapacity property.
Specify an array of string values to match this event if the actual value of onDemandBaseCapacity is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.
onDemandPercentageAboveBaseCapacity?
Type:
string[]
(optional, default: Do not filter on this field)
onDemandPercentageAboveBaseCapacity property.
Specify an array of string values to match this event if the actual value of onDemandPercentageAboveBaseCapacity is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.
spotAllocationStrategy?
Type:
string[]
(optional, default: Do not filter on this field)
spotAllocationStrategy property.
Specify an array of string values to match this event if the actual value of spotAllocationStrategy is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.
spotInstancePools?
Type:
string[]
(optional, default: Do not filter on this field)
spotInstancePools property.
Specify an array of string values to match this event if the actual value of spotInstancePools 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