Class InstanceEvents.AWSAPICallViaCloudTrail.InstanceMarketOptions
(experimental) Type definition for InstanceMarketOptions.
Inherited Members
Namespace: Amazon.CDK.Mixins.Preview.AWS.EC2.Events
Assembly: Amazon.CDK.Mixins.Preview.dll
Syntax (csharp)
public class InstanceEvents.AWSAPICallViaCloudTrail.InstanceMarketOptions : InstanceEvents.AWSAPICallViaCloudTrail.IInstanceMarketOptions
Syntax (vb)
Public Class InstanceEvents.AWSAPICallViaCloudTrail.InstanceMarketOptions Implements InstanceEvents.AWSAPICallViaCloudTrail.IInstanceMarketOptions
Remarks
Stability: Experimental
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.Mixins.Preview.AWS.EC2.Events;
var instanceMarketOptions = new InstanceMarketOptions {
MarketType = new [] { "marketType" },
SpotOptions = new SpotOptions1 {
MaxPrice = new [] { "maxPrice" },
SpotInstanceType = new [] { "spotInstanceType" }
}
};
Synopsis
Constructors
| InstanceMarketOptions() | (experimental) Type definition for InstanceMarketOptions. |
Properties
| MarketType | (experimental) marketType property. |
| SpotOptions | (experimental) spotOptions property. |
Constructors
InstanceMarketOptions()
(experimental) Type definition for InstanceMarketOptions.
public InstanceMarketOptions()
Remarks
Stability: Experimental
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.Mixins.Preview.AWS.EC2.Events;
var instanceMarketOptions = new InstanceMarketOptions {
MarketType = new [] { "marketType" },
SpotOptions = new SpotOptions1 {
MaxPrice = new [] { "maxPrice" },
SpotInstanceType = new [] { "spotInstanceType" }
}
};
Properties
MarketType
(experimental) marketType property.
public string[]? MarketType { get; set; }
Property Value
string[]
Remarks
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.
Default: - Do not filter on this field
Stability: Experimental
SpotOptions
(experimental) spotOptions property.
public InstanceEvents.AWSAPICallViaCloudTrail.ISpotOptions1? SpotOptions { get; set; }
Property Value
InstanceEvents.AWSAPICallViaCloudTrail.ISpotOptions1
Remarks
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.
Default: - Do not filter on this field
Stability: Experimental