-
Notifications
You must be signed in to change notification settings - Fork 17
/
awsemr_CfnInstanceFleetConfig_InstanceFleetProvisioningSpecificationsProperty.go
35 lines (32 loc) · 1.88 KB
/
awsemr_CfnInstanceFleetConfig_InstanceFleetProvisioningSpecificationsProperty.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
package awsemr
// > The instance fleet configuration is available only in Amazon EMR versions 4.8.0 and later, excluding 5.0.x versions.
//
// `InstanceTypeConfig` is a sub-property of `InstanceFleetConfig` . `InstanceTypeConfig` determines the EC2 instances that Amazon EMR attempts to provision to fulfill On-Demand and Spot target capacities.
//
// Example:
// // The code below shows an example of how to instantiate this type.
// // The values are placeholders you should change.
// import "github.com/aws/aws-cdk-go/awscdk"
//
// instanceFleetProvisioningSpecificationsProperty := &instanceFleetProvisioningSpecificationsProperty{
// onDemandSpecification: &onDemandProvisioningSpecificationProperty{
// allocationStrategy: jsii.String("allocationStrategy"),
// },
// spotSpecification: &spotProvisioningSpecificationProperty{
// timeoutAction: jsii.String("timeoutAction"),
// timeoutDurationMinutes: jsii.Number(123),
//
// // the properties below are optional
// allocationStrategy: jsii.String("allocationStrategy"),
// blockDurationMinutes: jsii.Number(123),
// },
// }
//
type CfnInstanceFleetConfig_InstanceFleetProvisioningSpecificationsProperty struct {
// The launch specification for On-Demand Instances in the instance fleet, which determines the allocation strategy.
//
// > The instance fleet configuration is available only in Amazon EMR versions 4.8.0 and later, excluding 5.0.x versions. On-Demand Instances allocation strategy is available in Amazon EMR version 5.12.1 and later.
OnDemandSpecification interface{} `field:"optional" json:"onDemandSpecification" yaml:"onDemandSpecification"`
// The launch specification for Spot Instances in the fleet, which determines the defined duration, provisioning timeout behavior, and allocation strategy.
SpotSpecification interface{} `field:"optional" json:"spotSpecification" yaml:"spotSpecification"`
}