C# Class Amazon.EC2.Model.CreatePlacementGroupRequest

Container for the parameters to the CreatePlacementGroup operation.

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 .

Inheritance: AmazonEC2Request
Show file Open project: aws/aws-sdk-net Class Usage Examples

Public Methods

Method Description
CreatePlacementGroupRequest ( ) : System

Empty constructor used to set properties independently even when a simple constructor is available

CreatePlacementGroupRequest ( string groupName, Amazon.EC2.Model.PlacementStrategy strategy ) : System

Instantiates CreatePlacementGroupRequest with the parameterized properties

Private Methods

Method Description
IsSetGroupName ( ) : bool
IsSetStrategy ( ) : bool

Method Details

CreatePlacementGroupRequest() public method

Empty constructor used to set properties independently even when a simple constructor is available
public CreatePlacementGroupRequest ( ) : System
return System

CreatePlacementGroupRequest() public method

Instantiates CreatePlacementGroupRequest with the parameterized properties
public CreatePlacementGroupRequest ( string groupName, Amazon.EC2.Model.PlacementStrategy strategy ) : System
groupName string A name for the placement group. Constraints: Up to 255 ASCII characters
strategy Amazon.EC2.Model.PlacementStrategy The placement strategy.
return System