ServiceResource / Sub-Resource / PlacementGroup

PlacementGroup#

EC2.ServiceResource.PlacementGroup(name)#

Creates a PlacementGroup resource.:

placement_group = ec2.PlacementGroup('name')
Parameters:

name (string) – The PlacementGroup’s name identifier. This must be set.

Return type:

EC2.PlacementGroup

Returns:

A PlacementGroup resource