hudson.plugins.ec2
Class AmazonEC2Cloud
java.lang.Object
hudson.model.AbstractModelObject
hudson.slaves.Cloud
hudson.plugins.ec2.EC2Cloud
hudson.plugins.ec2.AmazonEC2Cloud
- All Implemented Interfaces:
- hudson.ExtensionPoint, hudson.model.Describable<hudson.slaves.Cloud>, hudson.model.ModelObject, hudson.search.SearchableModelObject, hudson.search.SearchItem, hudson.security.AccessControlled
public class AmazonEC2Cloud
- extends EC2Cloud
The original implementation of EC2Cloud.
- Author:
- Kohsuke Kawaguchi
| Nested classes/interfaces inherited from interface hudson.ExtensionPoint |
hudson.ExtensionPoint.LegacyInstancesAreScopedToHudson |
| Fields inherited from class hudson.slaves.Cloud |
ALL, name, PROVISION |
| Methods inherited from class hudson.plugins.ec2.EC2Cloud |
buildPresignedURL, canProvision, checkEndPoint, connect, connect, connect, convertHostName, convertPort, countCurrentEC2Slaves, doAttach, doProvision, get, getAccessId, getInstanceCapStr, getKeyPair, getPrivateKey, getSecretKey, getTemplate, getTemplate, getTemplates, provision, readResolve |
| Methods inherited from class hudson.slaves.Cloud |
all, checkPermission, getACL, getDescriptor, getDisplayName, getSearchUrl, hasPermission |
| Methods inherited from class hudson.model.AbstractModelObject |
getConfiguredHudsonProperty, getSearch, getSearchIndex, getSearchName, makeSearchIndex, requirePOST, sendError, sendError, sendError, sendError, sendError |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
testMode
public static boolean testMode
AmazonEC2Cloud
@DataBoundConstructor
public AmazonEC2Cloud(String accessId,
String secretKey,
String region,
String privateKey,
String instanceCapStr,
List<SlaveTemplate> templates)
getRegion
public String getRegion()
getEc2EndpointUrl
public static URL getEc2EndpointUrl(String region)
getEc2EndpointUrl
public URL getEc2EndpointUrl()
- Specified by:
getEc2EndpointUrl in class EC2Cloud
getS3EndpointUrl
public URL getS3EndpointUrl()
- Specified by:
getS3EndpointUrl in class EC2Cloud
Copyright © 2004-2012 Hudson. All Rights Reserved.