emr_add_instance_fleet: Adds an instance fleet to a running cluster

Description Usage Arguments Value Request syntax

View source: R/emr_operations.R

Description

Adds an instance fleet to a running cluster.

The instance fleet configuration is available only in Amazon EMR versions 4.8.0 and later, excluding 5.0.x.

Usage

1
emr_add_instance_fleet(ClusterId, InstanceFleet)

Arguments

ClusterId

[required] The unique identifier of the cluster.

InstanceFleet

[required] Specifies the configuration of the instance fleet.

Value

A list with the following syntax:

1
2
3
4
5
list(
  ClusterId = "string",
  InstanceFleetId = "string",
  ClusterArn = "string"
)

Request syntax

 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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
svc$add_instance_fleet(
  ClusterId = "string",
  InstanceFleet = list(
    Name = "string",
    InstanceFleetType = "MASTER"|"CORE"|"TASK",
    TargetOnDemandCapacity = 123,
    TargetSpotCapacity = 123,
    InstanceTypeConfigs = list(
      list(
        InstanceType = "string",
        WeightedCapacity = 123,
        BidPrice = "string",
        BidPriceAsPercentageOfOnDemandPrice = 123.0,
        EbsConfiguration = list(
          EbsBlockDeviceConfigs = list(
            list(
              VolumeSpecification = list(
                VolumeType = "string",
                Iops = 123,
                SizeInGB = 123
              ),
              VolumesPerInstance = 123
            )
          ),
          EbsOptimized = TRUE|FALSE
        ),
        Configurations = list(
          list(
            Classification = "string",
            Configurations = list(),
            Properties = list(
              "string"
            )
          )
        )
      )
    ),
    LaunchSpecifications = list(
      SpotSpecification = list(
        TimeoutDurationMinutes = 123,
        TimeoutAction = "SWITCH_TO_ON_DEMAND"|"TERMINATE_CLUSTER",
        BlockDurationMinutes = 123,
        AllocationStrategy = "capacity-optimized"
      ),
      OnDemandSpecification = list(
        AllocationStrategy = "lowest-price"
      )
    )
  )
)

paws.analytics documentation built on March 8, 2021, 1:10 a.m.