Interface EcrSourceActionProps
- All Superinterfaces:
CommonActionProps,CommonAwsActionProps,software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
EcrSourceActionProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.119.0 (build 1634eac)",
date="2025-11-13T16:10:01.365Z")
@Stability(Stable)
public interface EcrSourceActionProps
extends software.amazon.jsii.JsiiSerializable, CommonAwsActionProps
Construction properties of
EcrSourceAction.
Example:
import software.amazon.awscdk.services.ecr.*;
Repository ecrRepository;
Pipeline pipeline = new Pipeline(this, "MyPipeline");
Artifact sourceOutput = new Artifact();
EcrSourceAction sourceAction = EcrSourceAction.Builder.create()
.actionName("ECR")
.repository(ecrRepository)
.imageTag("some-tag") // optional, default: 'latest'
.output(sourceOutput)
.build();
pipeline.addStage(StageOptions.builder()
.stageName("Source")
.actions(List.of(sourceAction))
.build());
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forEcrSourceActionPropsstatic final classAn implementation forEcrSourceActionProps -
Method Summary
Modifier and TypeMethodDescriptionstatic EcrSourceActionProps.Builderbuilder()default StringThe image tag that will be checked for changes.The repository that will be watched for changes.Methods inherited from interface software.amazon.awscdk.services.codepipeline.CommonActionProps
getActionName, getRunOrder, getVariablesNamespaceMethods inherited from interface software.amazon.awscdk.services.codepipeline.CommonAwsActionProps
getRoleMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getOutput
-
getRepository
The repository that will be watched for changes. -
getImageTag
The image tag that will be checked for changes.It is not possible to trigger on changes to more than one tag.
Default: 'latest'
-
builder
- Returns:
- a
EcrSourceActionProps.BuilderofEcrSourceActionProps
-