interface SpotOptions
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.EC2.Events.InstanceEvents.AWSAPICallViaCloudTrail.SpotOptions |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awsec2/events#InstanceEvents_AWSAPICallViaCloudTrail_SpotOptions |
Java | software.amazon.awscdk.mixins.preview.services.ec2.events.InstanceEvents.AWSAPICallViaCloudTrail.SpotOptions |
Python | aws_cdk.mixins_preview.aws_ec2.events.InstanceEvents.AWSAPICallViaCloudTrail.SpotOptions |
TypeScript | @aws-cdk/mixins-preview ยป aws_ec2 ยป events ยป InstanceEvents ยป AWSAPICallViaCloudTrail ยป SpotOptions |
Type definition for SpotOptions.
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 spotOptions: ec2_events.InstanceEvents.AWSAPICallViaCloudTrail.SpotOptions = {
allocationStrategy: ['allocationStrategy'],
instancePoolConstraintFilterDisabled: ['instancePoolConstraintFilterDisabled'],
instancePoolsToUseCount: ['instancePoolsToUseCount'],
maxInstanceCount: ['maxInstanceCount'],
maxTargetCapacity: ['maxTargetCapacity'],
};
Properties
| Name | Type | Description |
|---|---|---|
| allocation | string[] | AllocationStrategy property. |
| instance | string[] | InstancePoolConstraintFilterDisabled property. |
| instance | string[] | InstancePoolsToUseCount property. |
| max | string[] | MaxInstanceCount property. |
| max | string[] | MaxTargetCapacity property. |
allocationStrategy?
Type:
string[]
(optional, default: Do not filter on this field)
AllocationStrategy property.
Specify an array of string values to match this event if the actual value of AllocationStrategy is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.
instancePoolConstraintFilterDisabled?
Type:
string[]
(optional, default: Do not filter on this field)
InstancePoolConstraintFilterDisabled property.
Specify an array of string values to match this event if the actual value of InstancePoolConstraintFilterDisabled is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.
instancePoolsToUseCount?
Type:
string[]
(optional, default: Do not filter on this field)
InstancePoolsToUseCount property.
Specify an array of string values to match this event if the actual value of InstancePoolsToUseCount is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.
maxInstanceCount?
Type:
string[]
(optional, default: Do not filter on this field)
MaxInstanceCount property.
Specify an array of string values to match this event if the actual value of MaxInstanceCount is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.
maxTargetCapacity?
Type:
string[]
(optional, default: Do not filter on this field)
MaxTargetCapacity property.
Specify an array of string values to match this event if the actual value of MaxTargetCapacity 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