Class ElasticBeanstalkDeployAction.Builder
java.lang.Object
software.amazon.awscdk.services.codepipeline.actions.ElasticBeanstalkDeployAction.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<ElasticBeanstalkDeployAction>
- Enclosing class:
ElasticBeanstalkDeployAction
@Stability(Stable)
public static final class ElasticBeanstalkDeployAction.Builder
extends Object
implements software.amazon.jsii.Builder<ElasticBeanstalkDeployAction>
A fluent builder for
ElasticBeanstalkDeployAction
.-
Method Summary
Modifier and TypeMethodDescriptionactionName
(String actionName) The physical, human-readable name of the Action.applicationName
(String applicationName) The name of the AWS Elastic Beanstalk application to deploy.build()
create()
environmentName
(String environmentName) The name of the AWS Elastic Beanstalk environment to deploy to.The source to use as input for deployment.The Role in which context's this Action will be executing in.The runOrder property for this Action.variablesNamespace
(String variablesNamespace) The name of the namespace to use for variables emitted by this action.
-
Method Details
-
create
- Returns:
- a new instance of
ElasticBeanstalkDeployAction.Builder
.
-
actionName
The physical, human-readable name of the Action.Note that Action names must be unique within a single Stage.
- Parameters:
actionName
- The physical, human-readable name of the Action. This parameter is required.- Returns:
this
-
runOrder
The runOrder property for this Action.RunOrder determines the relative order in which multiple Actions in the same Stage execute.
Default: 1
- Parameters:
runOrder
- The runOrder property for this Action. This parameter is required.- Returns:
this
- See Also:
-
variablesNamespace
@Stability(Stable) public ElasticBeanstalkDeployAction.Builder variablesNamespace(String variablesNamespace) The name of the namespace to use for variables emitted by this action.Default: - a name will be generated, based on the stage and action names, if any of the action's variables were referenced - otherwise, no namespace will be set
- Parameters:
variablesNamespace
- The name of the namespace to use for variables emitted by this action. This parameter is required.- Returns:
this
-
role
The Role in which context's this Action will be executing in.The Pipeline's Role will assume this Role (the required permissions for that will be granted automatically) right before executing this Action. This Action will be passed into your
IAction.bind
method in theActionBindOptions.role
property.Default: a new Role will be generated
- Parameters:
role
- The Role in which context's this Action will be executing in. This parameter is required.- Returns:
this
-
applicationName
@Stability(Stable) public ElasticBeanstalkDeployAction.Builder applicationName(String applicationName) The name of the AWS Elastic Beanstalk application to deploy.- Parameters:
applicationName
- The name of the AWS Elastic Beanstalk application to deploy. This parameter is required.- Returns:
this
-
environmentName
@Stability(Stable) public ElasticBeanstalkDeployAction.Builder environmentName(String environmentName) The name of the AWS Elastic Beanstalk environment to deploy to.- Parameters:
environmentName
- The name of the AWS Elastic Beanstalk environment to deploy to. This parameter is required.- Returns:
this
-
input
The source to use as input for deployment.- Parameters:
input
- The source to use as input for deployment. This parameter is required.- Returns:
this
-
build
- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<ElasticBeanstalkDeployAction>
- Returns:
- a newly built instance of
ElasticBeanstalkDeployAction
.
-