Modifier and Type | Method and Description |
---|---|
protected void |
CreateKeyPairPlacementAndSecurityGroupsAsNeededAndReturnRunOptions.addSecurityGroups(String region,
String group,
Template template,
RunInstancesOptions instanceOptions) |
protected Set<RunningInstance> |
AWSEC2CreateNodesInGroupThenAddToSet.createNodesInRegionAndZone(String region,
String zone,
String group,
int count,
Template template,
RunInstancesOptions instanceOptions) |
Constructor and Description |
---|
CreateKeyPairPlacementAndSecurityGroupsAsNeededAndReturnRunOptions(com.google.common.base.Function<RegionAndName,KeyPair> makeKeyPair,
ConcurrentMap<RegionAndName,KeyPair> credentialsMap,
com.google.common.cache.LoadingCache<RegionAndName,String> securityGroupMap,
javax.inject.Provider<RunInstancesOptions> optionsProvider,
com.google.common.cache.LoadingCache<RegionAndName,String> placementGroupMap,
CreatePlacementGroupIfNeeded createPlacementGroupIfNeeded,
com.google.common.base.Function<RegionNameAndPublicKeyMaterial,KeyPair> importExistingKeyPair,
GroupNamingConvention.Factory namingConvention,
AWSEC2Api awsEC2Api) |
Modifier and Type | Method and Description |
---|---|
Reservation<? extends AWSRunningInstance> |
AWSInstanceApi.runInstancesInRegion(String region,
String nullableAvailabilityZone,
String imageId,
int minCount,
int maxCount,
RunInstancesOptions... options) |
Modifier and Type | Class and Description |
---|---|
class |
AWSRunInstancesOptions
Contains options supported in the Form API for the RunInstances operation.
|
Modifier and Type | Field and Description |
---|---|
javax.inject.Provider<RunInstancesOptions> |
CreateKeyPairAndSecurityGroupsAsNeededAndReturnRunOptions.optionsProvider |
Modifier and Type | Method and Description |
---|---|
RunInstancesOptions |
CreateKeyPairAndSecurityGroupsAsNeededAndReturnRunOptions.execute(String region,
String group,
Template template) |
Modifier and Type | Method and Description |
---|---|
javax.inject.Provider<RunInstancesOptions> |
CreateKeyPairAndSecurityGroupsAsNeededAndReturnRunOptions.getOptionsProvider() |
Modifier and Type | Method and Description |
---|---|
protected void |
CreateKeyPairAndSecurityGroupsAsNeededAndReturnRunOptions.addSecurityGroups(String region,
String group,
Template template,
RunInstancesOptions instanceOptions) |
protected Set<RunningInstance> |
EC2CreateNodesInGroupThenAddToSet.createNodesInRegionAndZone(String region,
String zone,
String group,
int count,
Template template,
RunInstancesOptions instanceOptions) |
Constructor and Description |
---|
CreateKeyPairAndSecurityGroupsAsNeededAndReturnRunOptions(com.google.common.base.Function<RegionAndName,KeyPair> makeKeyPair,
ConcurrentMap<RegionAndName,KeyPair> credentialsMap,
com.google.common.cache.LoadingCache<RegionAndName,String> securityGroupMap,
javax.inject.Provider<RunInstancesOptions> optionsProvider,
GroupNamingConvention.Factory namingConvention) |
Modifier and Type | Method and Description |
---|---|
Reservation<? extends RunningInstance> |
InstanceApi.runInstancesInRegion(String region,
String nullableAvailabilityZone,
String imageId,
int minCount,
int maxCount,
RunInstancesOptions... options)
Launches a specified number of instances of an AMI for which you have
permissions.
|
Modifier and Type | Field and Description |
---|---|
static RunInstancesOptions |
RunInstancesOptions.NONE |
Modifier and Type | Method and Description |
---|---|
RunInstancesOptions |
RunInstancesOptions.asType(String type)
Specifies the instance type.
|
static RunInstancesOptions |
RunInstancesOptions.Builder.asType(String instanceType) |
RunInstancesOptions |
RunInstancesOptions.withBlockDeviceMappings(Set<? extends BlockDeviceMapping> mappings)
Specifies the Block Device Mapping for the instance
|
static RunInstancesOptions |
RunInstancesOptions.Builder.withBlockDeviceMappings(Set<? extends BlockDeviceMapping> mappings) |
RunInstancesOptions |
RunInstancesOptions.withClientToken(String clientToken)
Specifies the optional ClientToken field, which triggers idempotent RunInstances calls.
|
static RunInstancesOptions |
RunInstancesOptions.Builder.withClientToken(String clientToken) |
RunInstancesOptions |
RunInstancesOptions.withKernelId(String kernelId)
The ID of the kernel with which to launch the instance.
|
static RunInstancesOptions |
RunInstancesOptions.Builder.withKernelId(String kernelId) |
RunInstancesOptions |
RunInstancesOptions.withKeyName(String keyName)
The name of the key pair.
|
static RunInstancesOptions |
RunInstancesOptions.Builder.withKeyName(String keyName) |
RunInstancesOptions |
RunInstancesOptions.withRamdisk(String ramDiskId)
The ID of the RAM disk with which to launch the instance.
|
static RunInstancesOptions |
RunInstancesOptions.Builder.withRamdisk(String ramdiskId) |
RunInstancesOptions |
RunInstancesOptions.withSecurityGroup(String securityGroup)
Attaches a single security group.
|
static RunInstancesOptions |
RunInstancesOptions.Builder.withSecurityGroup(String securityGroup) |
RunInstancesOptions |
RunInstancesOptions.withSecurityGroups(Iterable<String> securityGroups)
Attach multiple security groups
|
RunInstancesOptions |
RunInstancesOptions.withSecurityGroups(String... securityGroups)
Attach multiple security groups
|
RunInstancesOptions |
RunInstancesOptions.withUserData(byte[] unencodedData)
Unencoded data
|
static RunInstancesOptions |
RunInstancesOptions.Builder.withUserData(byte[] unencodedData) |
Copyright © 2009-2016 The Apache Software Foundation. All Rights Reserved.