/AWS1/CL_EC2=>CREATEPLACEMENTGROUP()
¶
About CreatePlacementGroup¶
Creates a placement group in which to launch instances. The strategy of the placement group determines how the instances are organized within the group.
A cluster
placement group is a logical grouping of instances within a
single Availability Zone that benefit from low network latency, high network throughput.
A spread
placement group places instances on distinct hardware. A
partition
placement group places groups of instances in different
partitions, where instances in one partition do not share the same hardware with
instances in another partition.
For more information, see Placement groups in the Amazon EC2 User Guide.
Method Signature¶
IMPORTING¶
Optional arguments:¶
IV_PARTITIONCOUNT
TYPE /AWS1/EC2INTEGER
/AWS1/EC2INTEGER
¶
The number of partitions. Valid only when Strategy is set to
partition
.
IT_TAGSPECIFICATIONS
TYPE /AWS1/CL_EC2TAGSPECIFICATION=>TT_TAGSPECIFICATIONLIST
TT_TAGSPECIFICATIONLIST
¶
The tags to apply to the new placement group.
IV_SPREADLEVEL
TYPE /AWS1/EC2SPREADLEVEL
/AWS1/EC2SPREADLEVEL
¶
Determines how placement groups spread instances.
Host – You can use
host
only with Outpost placement groups.Rack – No usage restrictions.
IV_DRYRUN
TYPE /AWS1/EC2BOOLEAN
/AWS1/EC2BOOLEAN
¶
Checks whether you have the required permissions for the operation, without actually making the request, and provides an error response. If you have the required permissions, the error response is
DryRunOperation
. Otherwise, it isUnauthorizedOperation
.
IV_GROUPNAME
TYPE /AWS1/EC2STRING
/AWS1/EC2STRING
¶
A name for the placement group. Must be unique within the scope of your account for the Region.
Constraints: Up to 255 ASCII characters
IV_STRATEGY
TYPE /AWS1/EC2PLACEMENTSTRATEGY
/AWS1/EC2PLACEMENTSTRATEGY
¶
The placement strategy.