Interface CfnLaunchTemplate.IInstanceMarketOptionsProperty
Specifies the market (purchasing) option for an instance.
Namespace: Amazon.CDK.AWS.EC2
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface IInstanceMarketOptionsProperty
Syntax (vb)
Public Interface IInstanceMarketOptionsProperty
Remarks
InstanceMarketOptions
is a property of the AWS::EC2::LaunchTemplate LaunchTemplateData .
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.AWS.EC2;
var instanceMarketOptionsProperty = new InstanceMarketOptionsProperty {
MarketType = "marketType",
SpotOptions = new SpotOptionsProperty {
BlockDurationMinutes = 123,
InstanceInterruptionBehavior = "instanceInterruptionBehavior",
MaxPrice = "maxPrice",
SpotInstanceType = "spotInstanceType",
ValidUntil = "validUntil"
}
};
Synopsis
Properties
MarketType | The market type. |
SpotOptions | The options for Spot Instances. |
Properties
MarketType
The market type.
virtual string MarketType { get; }
Property Value
System.String
Remarks
SpotOptions
The options for Spot Instances.
virtual object SpotOptions { get; }
Property Value
System.Object