Learn R Programming

paws.compute (version 0.7.0)

ec2_create_placement_group: Creates a placement group in which to launch instances

Description

Creates a placement group in which to launch instances. The strategy of the placement group determines how the instances are organized within the group.

See https://www.paws-r-sdk.com/docs/ec2_create_placement_group/ for full documentation.

Usage

ec2_create_placement_group(
  DryRun = NULL,
  GroupName = NULL,
  Strategy = NULL,
  PartitionCount = NULL,
  TagSpecifications = NULL,
  SpreadLevel = NULL
)

Arguments

DryRun

Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

GroupName

A name for the placement group. Must be unique within the scope of your account for the Region.

Constraints: Up to 255 ASCII characters

Strategy

The placement strategy.

PartitionCount

The number of partitions. Valid only when Strategy is set to partition.

TagSpecifications

The tags to apply to the new placement group.

SpreadLevel

Determines how placement groups spread instances.

  • Host – You can use host only with Outpost placement groups.

  • Rack – No usage restrictions.