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
cpgDryRun :: Lens' CreatePlacementGroup (Maybe Bool) Source
Checks whether you have the required permissions for the action, 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
.
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.