- <init>
Constructs a new RunInstancesRequest object. Callers should use the setter or
fluent setter (with...
- withInstanceType
The instance type. For more information, see Instance Types
[https://docs.aws.amazon.com/AWSEC2/lat
- withKeyName
The name of the key pair. You can create a key pair using CreateKeyPair or
ImportKeyPair.
If you
- withImageId
The ID of the AMI, which you can get by calling DescribeImages. An AMI is
required to launch an ins
- withMaxCount
The maximum number of instances to launch. If you specify more instances than
Amazon EC2 can launch
- withMinCount
The minimum number of instances to launch. If you specify a minimum that is
more instances than Ama
- withPlacement
The placement for the instance.
- withUserData
The user data to make available to the instance. For more information, see
Running Commands on You
- setInstanceType
The instance type. For more information, see Instance Types
[https://docs.aws.amazon.com/AWSEC2/lat
- withSecurityGroups
[EC2-Classic, default VPC] One or more security group names. For a nondefault
VPC, you must use sec
- setKeyName
The name of the key pair. You can create a key pair using CreateKeyPair or
ImportKeyPair.
If you
- withSecurityGroupIds
One or more security group IDs. You can create a security group using
CreateSecurityGroup.
Defau