@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, projectendpointUrl| 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, waitForNotUpdatingensureSuffixStripped, getConfigurationTemplates, getOptionSettings, getOptionsToRemove, getService, handleNonSingle, handleResults, harmfulOptionSettingP, lookupEnvironment, lookupSolutionStack, lookupTemplateNamecontextualize, createServiceFor, displayResults, execute, exposeSettings, getAWSCredentials, getClientConfiguration, getClientFactory, getProperties, getRegion, getUserAgent, handleException, isVerbose, setupService, setupVersionpublic static final String BEANSTALK_TAG_PREFIX
@Parameter(property="beanstalk.environmentName",
required=true)
protected String environmentName
protected void configure()
configure in class AbstractNeedsEnvironmentMojoprotected Map<String,String> projectTags()
protected Object executeInternal() throws Exception
executeInternal in class br.com.ingenieux.mojo.aws.AbstractAWSMojo<com.amazonaws.services.elasticbeanstalk.AWSElasticBeanstalkClient>ExceptionCopyright © 2011–2019 ingenieux. All rights reserved.