@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:37.534Z") @Stability(value=Stable) public interface EcrSourceActionProps extends software.amazon.jsii.JsiiSerializable, CommonAwsActionProps
EcrSourceAction.
Example:
// Example automatically generated from non-compiling source. May contain errors.
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());
| Modifier and Type | Interface and Description |
|---|---|
static class |
EcrSourceActionProps.Builder
A builder for
EcrSourceActionProps |
static class |
EcrSourceActionProps.Jsii$Proxy
An implementation for
EcrSourceActionProps |
| Modifier and Type | Method and Description |
|---|---|
static EcrSourceActionProps.Builder |
builder() |
default String |
getImageTag()
The image tag that will be checked for changes.
|
Artifact |
getOutput() |
IRepository |
getRepository()
The repository that will be watched for changes.
|
getRolegetActionName, getRunOrder, getVariablesNamespace@Stability(value=Stable) @NotNull Artifact getOutput()
@Stability(value=Stable) @NotNull IRepository getRepository()
@Stability(value=Stable) @Nullable default String getImageTag()
It is not possible to trigger on changes to more than one tag.
Default: 'latest'
@Stability(value=Stable) static EcrSourceActionProps.Builder builder()
builder in interface CommonActionPropsbuilder in interface CommonAwsActionPropsEcrSourceActionProps.Builder of EcrSourceActionPropsCopyright © 2022. All rights reserved.