CreatePlacementGroupRequest
¶
Source code in docs_src/capo_ec2/types/create_placement_group_request.py
dry_run
instance-attribute
¶
dry_run: NotRequired[Boolean]
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 is UnauthorizedOperation.
group_name
instance-attribute
¶
group_name: NotRequired[String]
A name for the placement group. Must be unique within the scope of your account for the Region.
Constraints: Up to 255 ASCII characters
linked_group_id
instance-attribute
¶
linked_group_id: NotRequired[PlacementGroupId]
Reserved for future use.
parent_group_id
instance-attribute
¶
parent_group_id: NotRequired[PlacementGroupId]
The ID of a parent placement group. Valid only when Strategy is set to cluster.
partition_count
instance-attribute
¶
partition_count: NotRequired[Integer]
The number of partitions. Valid only when Strategy is set to partition.
spread_level
instance-attribute
¶
spread_level: NotRequired[SpreadLevel]
Determines how placement groups spread instances.
-
Host – You can use
hostonly with Outpost placement groups. -
Rack – No usage restrictions.
tag_specifications
instance-attribute
¶
tag_specifications: NotRequired[TagSpecificationList]
The tags to apply to the new placement group.