@Mojo(name="create-environment") public class CreateEnvironmentMojo extends AbstractNeedsEnvironmentMojo
See the docs for the CreateEnvironment API call.
AbstractNeedsEnvironmentMojo.ConfigurableOptionSetting
Modifier and Type | Field and Description |
---|---|
static String |
BEANSTALK_TAG_PREFIX |
protected String |
environmentName
environmentName.
|
applicationName, BEANSTALKX_PREFIX, COMMON_PARAMETERS, COS_COMPARATOR, curEnv, environmentRef, project
endpointUrl
Constructor and Description |
---|
CreateEnvironmentMojo() |
Modifier and Type | Method and Description |
---|---|
protected void |
configure()
Overrides parent in order to avoid a thrown exception as there's not an environment to
lookup
|
protected com.amazonaws.services.elasticbeanstalk.model.CreateEnvironmentResult |
createEnvironment(String cnameToCreate,
String newEnvironmentName) |
protected Object |
executeInternal() |
protected Map<String,String> |
projectTags()
Compute the Tags to USe
TODO: Do we need system.properties?
|
getEnvironmentsFor, introspectOptionSettings, lookupVersionLabel, waitForNotUpdating
ensureSuffixStripped, getConfigurationTemplates, getOptionSettings, getOptionsToRemove, getService, handleNonSingle, handleResults, harmfulOptionSettingP, lookupEnvironment, lookupSolutionStack, lookupTemplateName
contextualize, createServiceFor, displayResults, execute, exposeSettings, getAWSCredentials, getClientConfiguration, getClientFactory, getProperties, getRegion, getUserAgent, handleException, isVerbose, setupService, setupVersion
public static final String BEANSTALK_TAG_PREFIX
@Parameter(property="beanstalk.environmentName", required=true) protected String environmentName
protected void configure()
configure
in class AbstractNeedsEnvironmentMojo
protected Map<String,String> projectTags()
protected Object executeInternal() throws Exception
executeInternal
in class br.com.ingenieux.mojo.aws.AbstractAWSMojo<com.amazonaws.services.elasticbeanstalk.AWSElasticBeanstalkClient>
Exception
Copyright © 2011–2019 ingenieux. All rights reserved.