interface InstanceMarketOptions1
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.EC2.Events.InstanceEvents.AWSAPICallViaCloudTrail.InstanceMarketOptions1 |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awsec2/events#InstanceEvents_AWSAPICallViaCloudTrail_InstanceMarketOptions1 |
Java | software.amazon.awscdk.mixins.preview.services.ec2.events.InstanceEvents.AWSAPICallViaCloudTrail.InstanceMarketOptions1 |
Python | aws_cdk.mixins_preview.aws_ec2.events.InstanceEvents.AWSAPICallViaCloudTrail.InstanceMarketOptions1 |
TypeScript | @aws-cdk/mixins-preview » aws_ec2 » events » InstanceEvents » AWSAPICallViaCloudTrail » InstanceMarketOptions1 |
Type definition for InstanceMarketOptions_1.
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 instanceMarketOptions1: ec2_events.InstanceEvents.AWSAPICallViaCloudTrail.InstanceMarketOptions1 = {
marketType: ['marketType'],
spotOptions: {
maxPrice: ['maxPrice'],
spotInstanceType: ['spotInstanceType'],
},
};
Properties
| Name | Type | Description |
|---|---|---|
| market | string[] | MarketType property. |
| spot | Spot | SpotOptions property. |
marketType?
Type:
string[]
(optional, default: Do not filter on this field)
MarketType property.
Specify an array of string values to match this event if the actual value of MarketType is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.
spotOptions?
Type:
Spot
(optional, default: Do not filter on this field)
SpotOptions property.
Specify an array of string values to match this event if the actual value of SpotOptions 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