@Stability(value=Experimental) public static final class CodeDeployEcsContainerImageInput.Builder extends Object implements software.amazon.jsii.Builder<CodeDeployEcsContainerImageInput>
CodeDeployEcsContainerImageInput| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
CodeDeployEcsContainerImageInput |
build()
Builds the configured instance.
|
CodeDeployEcsContainerImageInput.Builder |
input(Artifact input)
Sets the value of
CodeDeployEcsContainerImageInput.getInput() |
CodeDeployEcsContainerImageInput.Builder |
taskDefinitionPlaceholder(String taskDefinitionPlaceholder)
Sets the value of
CodeDeployEcsContainerImageInput.getTaskDefinitionPlaceholder() |
@Stability(value=Experimental) public CodeDeployEcsContainerImageInput.Builder input(Artifact input)
CodeDeployEcsContainerImageInput.getInput()input - The artifact that contains an `imageDetails.json` file with the image URI. This parameter is required.
The artifact's imageDetails.json file must be a JSON file containing an
ImageURI property. For example:
{ "ImageURI": "ACCOUNTID.dkr.ecr.us-west-2.amazonaws.com/dk-image-repo@sha256:example3" }this@Stability(value=Experimental) public CodeDeployEcsContainerImageInput.Builder taskDefinitionPlaceholder(String taskDefinitionPlaceholder)
CodeDeployEcsContainerImageInput.getTaskDefinitionPlaceholder()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 the taskDefinitionPlaceholder value should
be PLACEHOLDER.this@Stability(value=Experimental) public CodeDeployEcsContainerImageInput build()
build in interface software.amazon.jsii.Builder<CodeDeployEcsContainerImageInput>CodeDeployEcsContainerImageInputNullPointerException - if any required attribute was not providedCopyright © 2021. All rights reserved.