interface SpotMarketOptionsProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.WorkspacesInstances.CfnWorkspaceInstance.SpotMarketOptionsProperty |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsworkspacesinstances#CfnWorkspaceInstance_SpotMarketOptionsProperty |
Java | software.amazon.awscdk.services.workspacesinstances.CfnWorkspaceInstance.SpotMarketOptionsProperty |
Python | aws_cdk.aws_workspacesinstances.CfnWorkspaceInstance.SpotMarketOptionsProperty |
TypeScript | aws-cdk-lib » aws_workspacesinstances » CfnWorkspaceInstance » SpotMarketOptionsProperty |
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_workspacesinstances as workspacesinstances } from 'aws-cdk-lib';
const spotMarketOptionsProperty: workspacesinstances.CfnWorkspaceInstance.SpotMarketOptionsProperty = {
instanceInterruptionBehavior: 'instanceInterruptionBehavior',
maxPrice: 'maxPrice',
spotInstanceType: 'spotInstanceType',
validUntilUtc: 'validUntilUtc',
};
Properties
| Name | Type | Description |
|---|---|---|
| instance | string | |
| max | string | |
| spot | string | |
| valid | string |
instanceInterruptionBehavior?
Type:
string
(optional)
maxPrice?
Type:
string
(optional)
spotInstanceType?
Type:
string
(optional)
validUntilUtc?
Type:
string
(optional)

.NET
Go
Java
Python
TypeScript