Interface CodeDeployEcsContainerImageInput
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CodeDeployEcsContainerImageInput.Jsii$Proxy
@Generated(value="jsii-pacmak/1.119.0 (build 1634eac)",
date="2025-11-17T14:40:47.867Z")
@Stability(Stable)
public interface CodeDeployEcsContainerImageInput
extends software.amazon.jsii.JsiiSerializable
Configuration for replacing a placeholder string in the ECS task definition template file with an image URI.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.codepipeline.*;
import software.amazon.awscdk.services.codepipeline.actions.*;
Artifact artifact;
CodeDeployEcsContainerImageInput codeDeployEcsContainerImageInput = CodeDeployEcsContainerImageInput.builder()
.input(artifact)
// the properties below are optional
.taskDefinitionPlaceholder("taskDefinitionPlaceholder")
.build();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCodeDeployEcsContainerImageInputstatic final classAn implementation forCodeDeployEcsContainerImageInput -
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getInput
The artifact that contains animageDetails.jsonfile with the image URI.The artifact's
imageDetails.jsonfile must be a JSON file containing anImageURIproperty. For example:{ "ImageURI": "ACCOUNTID.dkr.ecr.us-west-2.amazonaws.com/dk-image-repo@sha256:example3" } -
getTaskDefinitionPlaceholder
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.Default: IMAGE
-
builder
-