C# Class Amazon.EC2.Model.RunInstancesRequest

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

Public Methods

Method Description
RunInstancesRequest ( ) : System

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

RunInstancesRequest ( string imageId, int minCount, int maxCount ) : System

Instantiates RunInstancesRequest with the parameterized properties

Private Methods

Method Description
IsSetAdditionalInfo ( ) : bool
IsSetBlockDeviceMappings ( ) : bool
IsSetClientToken ( ) : bool
IsSetDisableApiTermination ( ) : bool
IsSetEbsOptimized ( ) : bool
IsSetIamInstanceProfile ( ) : bool
IsSetImageId ( ) : bool
IsSetInstanceInitiatedShutdownBehavior ( ) : bool
IsSetInstanceType ( ) : bool
IsSetIpv6AddressCount ( ) : bool
IsSetIpv6Addresses ( ) : bool
IsSetKernelId ( ) : bool
IsSetKeyName ( ) : bool
IsSetMaxCount ( ) : bool
IsSetMinCount ( ) : bool
IsSetMonitoring ( ) : bool
IsSetNetworkInterfaces ( ) : bool
IsSetPlacement ( ) : bool
IsSetPrivateIpAddress ( ) : bool
IsSetRamdiskId ( ) : bool
IsSetSecurityGroupIds ( ) : bool
IsSetSecurityGroups ( ) : bool
IsSetSubnetId ( ) : bool
IsSetUserData ( ) : bool

Method Details

RunInstancesRequest() public method

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

RunInstancesRequest() public method

Instantiates RunInstancesRequest with the parameterized properties
public RunInstancesRequest ( string imageId, int minCount, int maxCount ) : System
imageId string The ID of the AMI, which you can get by calling DescribeImages.
minCount int The minimum number of instances to launch. If you specify a minimum that is more instances than Amazon EC2 can launch in the target Availability Zone, Amazon EC2 launches no instances. Constraints: Between 1 and the maximum number you're allowed for the specified instance type. For more information about the default limits, and how to request an increase, see How many instances can I run in Amazon EC2 in the Amazon EC2 General FAQ.
maxCount int The maximum number of instances to launch. If you specify more instances than Amazon EC2 can launch in the target Availability Zone, Amazon EC2 launches the largest possible number of instances above MinCount. Constraints: Between 1 and the maximum number you're allowed for the specified instance type. For more information about the default limits, and how to request an increase, see How many instances can I run in Amazon EC2 in the Amazon EC2 FAQ.
return System