@Stability(value=Experimental) public static final class CodeDeployEcsDeployAction.Builder extends Object implements software.amazon.jsii.Builder<CodeDeployEcsDeployAction>
CodeDeployEcsDeployAction
.Modifier and Type | Method and Description |
---|---|
CodeDeployEcsDeployAction.Builder |
actionName(String actionName)
(experimental) The physical, human-readable name of the Action.
|
CodeDeployEcsDeployAction.Builder |
appSpecTemplateFile(ArtifactPath appSpecTemplateFile)
(experimental) The name of the CodeDeploy AppSpec file.
|
CodeDeployEcsDeployAction.Builder |
appSpecTemplateInput(Artifact appSpecTemplateInput)
(experimental) The artifact containing the CodeDeploy AppSpec file.
|
CodeDeployEcsDeployAction |
build() |
CodeDeployEcsDeployAction.Builder |
containerImageInputs(List<? extends CodeDeployEcsContainerImageInput> containerImageInputs)
(experimental) Configuration for dynamically updated images in the task definition.
|
static CodeDeployEcsDeployAction.Builder |
create() |
CodeDeployEcsDeployAction.Builder |
deploymentGroup(IEcsDeploymentGroup deploymentGroup)
(experimental) The CodeDeploy ECS Deployment Group to deploy to.
|
CodeDeployEcsDeployAction.Builder |
role(IRole role)
(experimental) The Role in which context's this Action will be executing in.
|
CodeDeployEcsDeployAction.Builder |
runOrder(Number runOrder)
(experimental) The runOrder property for this Action.
|
CodeDeployEcsDeployAction.Builder |
taskDefinitionTemplateFile(ArtifactPath taskDefinitionTemplateFile)
(experimental) The name of the ECS task definition template file.
|
CodeDeployEcsDeployAction.Builder |
taskDefinitionTemplateInput(Artifact taskDefinitionTemplateInput)
(experimental) The artifact containing the ECS task definition template file.
|
CodeDeployEcsDeployAction.Builder |
variablesNamespace(String variablesNamespace)
(experimental) The name of the namespace to use for variables emitted by this action.
|
@Stability(value=Experimental) public static CodeDeployEcsDeployAction.Builder create()
CodeDeployEcsDeployAction.Builder
.@Stability(value=Experimental) public CodeDeployEcsDeployAction.Builder actionName(String actionName)
Note that Action names must be unique within a single Stage.
actionName
- The physical, human-readable name of the Action. This parameter is required.this
@Stability(value=Experimental) public CodeDeployEcsDeployAction.Builder runOrder(Number runOrder)
RunOrder determines the relative order in which multiple Actions in the same Stage execute.
Default: 1
runOrder
- The runOrder property for this Action. This parameter is required.this
https://docs.aws.amazon.com/codepipeline/latest/userguide/reference-pipeline-structure.html
@Stability(value=Experimental) public CodeDeployEcsDeployAction.Builder variablesNamespace(String variablesNamespace)
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
variablesNamespace
- The name of the namespace to use for variables emitted by this action. This parameter is required.this
@Stability(value=Experimental) public CodeDeployEcsDeployAction.Builder role(IRole role)
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 {@link IAction.bind} method in the {@link ActionBindOptions.role} property.
Default: a new Role will be generated
role
- The Role in which context's this Action will be executing in. This parameter is required.this
@Stability(value=Experimental) public CodeDeployEcsDeployAction.Builder deploymentGroup(IEcsDeploymentGroup deploymentGroup)
deploymentGroup
- The CodeDeploy ECS Deployment Group to deploy to. This parameter is required.this
@Stability(value=Experimental) public CodeDeployEcsDeployAction.Builder appSpecTemplateFile(ArtifactPath appSpecTemplateFile)
During deployment, a new task definition will be registered with ECS, and the new task definition ID will be inserted into the CodeDeploy AppSpec file. The AppSpec file contents will be provided to CodeDeploy for the deployment.
Use this property if you want to use a different name for this file than the default 'appspec.yaml'.
If you use this property, you don't need to specify the appSpecTemplateInput
property.
Default: - one of this property, or `appSpecTemplateInput`, is required
appSpecTemplateFile
- The name of the CodeDeploy AppSpec file. This parameter is required.this
@Stability(value=Experimental) public CodeDeployEcsDeployAction.Builder appSpecTemplateInput(Artifact appSpecTemplateInput)
During deployment, a new task definition will be registered with ECS, and the new task definition ID will be inserted into the CodeDeploy AppSpec file. The AppSpec file contents will be provided to CodeDeploy for the deployment.
If you use this property, it's assumed the file is called 'appspec.yaml'.
If your AppSpec file uses a different filename, leave this property empty,
and use the appSpecTemplateFile
property instead.
Default: - one of this property, or `appSpecTemplateFile`, is required
appSpecTemplateInput
- The artifact containing the CodeDeploy AppSpec file. This parameter is required.this
@Stability(value=Experimental) public CodeDeployEcsDeployAction.Builder containerImageInputs(List<? extends CodeDeployEcsContainerImageInput> containerImageInputs)
Provide pairs of an image details input artifact and a placeholder string that will be used to dynamically update the ECS task definition template file prior to deployment. A maximum of 4 images can be given.
containerImageInputs
- Configuration for dynamically updated images in the task definition. This parameter is required.this
@Stability(value=Experimental) public CodeDeployEcsDeployAction.Builder taskDefinitionTemplateFile(ArtifactPath taskDefinitionTemplateFile)
During deployment, the task definition template file contents will be registered with ECS.
Use this property if you want to use a different name for this file than the default 'taskdef.json'.
If you use this property, you don't need to specify the taskDefinitionTemplateInput
property.
Default: - one of this property, or `taskDefinitionTemplateInput`, is required
taskDefinitionTemplateFile
- The name of the ECS task definition template file. This parameter is required.this
@Stability(value=Experimental) public CodeDeployEcsDeployAction.Builder taskDefinitionTemplateInput(Artifact taskDefinitionTemplateInput)
During deployment, the task definition template file contents will be registered with ECS.
If you use this property, it's assumed the file is called 'taskdef.json'.
If your task definition template uses a different filename, leave this property empty,
and use the taskDefinitionTemplateFile
property instead.
Default: - one of this property, or `taskDefinitionTemplateFile`, is required
taskDefinitionTemplateInput
- The artifact containing the ECS task definition template file. This parameter is required.this
@Stability(value=Experimental) public CodeDeployEcsDeployAction build()
build
in interface software.amazon.jsii.Builder<CodeDeployEcsDeployAction>
Copyright © 2021. All rights reserved.