Class CodeDeployEcsContainerImageInput.Builder
java.lang.Object
software.amazon.awscdk.services.codepipeline.actions.CodeDeployEcsContainerImageInput.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CodeDeployEcsContainerImageInput>
- Enclosing interface:
- CodeDeployEcsContainerImageInput
@Stability(Stable)
public static final class CodeDeployEcsContainerImageInput.Builder
extends Object
implements software.amazon.jsii.Builder<CodeDeployEcsContainerImageInput>
A builder for
CodeDeployEcsContainerImageInput-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCodeDeployEcsContainerImageInput.getInput()taskDefinitionPlaceholder(String taskDefinitionPlaceholder) Sets the value ofCodeDeployEcsContainerImageInput.getTaskDefinitionPlaceholder()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
input
Sets the value ofCodeDeployEcsContainerImageInput.getInput()- Parameters:
input- The artifact that contains animageDetails.jsonfile with the image URI. This parameter is required. The artifact'simageDetails.jsonfile must be a JSON file containing anImageURIproperty. For example:{ "ImageURI": "ACCOUNTID.dkr.ecr.us-west-2.amazonaws.com/dk-image-repo@sha256:example3" }- Returns:
this
-
taskDefinitionPlaceholder
@Stability(Stable) public CodeDeployEcsContainerImageInput.Builder taskDefinitionPlaceholder(String taskDefinitionPlaceholder) Sets the value ofCodeDeployEcsContainerImageInput.getTaskDefinitionPlaceholder()- Parameters:
taskDefinitionPlaceholder- The placeholder string in the ECS task definition template file that will be replaced with the image URI. The placeholder string must be surrounded by angle brackets in the template file. For example, if the task definition template file contains a placeholder like"image": "<PLACEHOLDER>", then thetaskDefinitionPlaceholdervalue should bePLACEHOLDER.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CodeDeployEcsContainerImageInput>- Returns:
- a new instance of
CodeDeployEcsContainerImageInput - Throws:
NullPointerException- if any required attribute was not provided
-