Safe Haskell | None |
---|---|
Language | Haskell2010 |
Creates a placement group that you launch cluster instances into. You must give the group a name that's unique within the scope of your account.
For more information about placement groups and cluster instances, see Cluster Instances in the Amazon Elastic Compute Cloud User Guide.
http://docs.aws.amazon.com/AWSEC2/latest/APIReference/ApiReference-query-CreatePlacementGroup.html
- data CreatePlacementGroup
- createPlacementGroup :: Text -> PlacementStrategy -> CreatePlacementGroup
- cpgDryRun :: Lens' CreatePlacementGroup (Maybe Bool)
- cpgGroupName :: Lens' CreatePlacementGroup Text
- cpgStrategy :: Lens' CreatePlacementGroup PlacementStrategy
- data CreatePlacementGroupResponse
- createPlacementGroupResponse :: CreatePlacementGroupResponse
Request
Request constructor
CreatePlacementGroup
constructor.
The fields accessible through corresponding lenses are:
Request lenses
cpgGroupName :: Lens' CreatePlacementGroup Text Source
A name for the placement group.
Constraints: Up to 255 ASCII characters
cpgStrategy :: Lens' CreatePlacementGroup PlacementStrategy Source
The placement strategy.