Describe Placement Groups
ec2_describe_placement_groups | R Documentation |
Describes the specified placement groups or all of your placement groups¶
Description¶
Describes the specified placement groups or all of your placement groups.
To describe a specific placement group that is shared with your
account, you must specify the ID of the placement group using the
GroupId
parameter. Specifying the name of a shared placement group
using the GroupNames
parameter will result in an error.
For more information, see Placement groups in the Amazon EC2 User Guide.
Usage¶
ec2_describe_placement_groups(GroupIds, DryRun, GroupNames, Filters)
Arguments¶
GroupIds |
The IDs of the placement groups. |
DryRun |
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
|
GroupNames |
The names of the placement groups. Constraints:
|
Filters |
The filters.
|
Value¶
A list with the following syntax:
list(
PlacementGroups = list(
list(
GroupName = "string",
State = "pending"|"available"|"deleting"|"deleted",
Strategy = "cluster"|"spread"|"partition",
PartitionCount = 123,
GroupId = "string",
Tags = list(
list(
Key = "string",
Value = "string"
)
),
GroupArn = "string",
SpreadLevel = "host"|"rack"
)
)
)
Request syntax¶
svc$describe_placement_groups(
GroupIds = list(
"string"
),
DryRun = TRUE|FALSE,
GroupNames = list(
"string"
),
Filters = list(
list(
Name = "string",
Values = list(
"string"
)
)
)
)