Interface IEcrSourceActionProps
Construction properties of EcrSourceAction
.
Inherited Members
Namespace: Amazon.CDK.AWS.CodePipeline.Actions
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface IEcrSourceActionProps : ICommonAwsActionProps, ICommonActionProps
Syntax (vb)
Public Interface IEcrSourceActionProps
Inherits ICommonAwsActionProps, ICommonActionProps
Remarks
ExampleMetadata: infused
Examples
using Amazon.CDK.AWS.ECR;
Repository ecrRepository;
var pipeline = new Pipeline(this, "MyPipeline");
var sourceOutput = new Artifact();
var sourceAction = new EcrSourceAction(new EcrSourceActionProps {
ActionName = "ECR",
Repository = ecrRepository,
ImageTag = "some-tag", // optional, default: 'latest'
Output = sourceOutput
});
pipeline.AddStage(new StageOptions {
StageName = "Source",
Actions = new [] { sourceAction }
});
Synopsis
Properties
ImageTag | The image tag that will be checked for changes. |
Output | |
Repository | The repository that will be watched for changes. |
Properties
ImageTag
The image tag that will be checked for changes.
virtual string ImageTag { get; }
Property Value
System.String
Remarks
It is not possible to trigger on changes to more than one tag.
Default: 'latest'
Output
Repository
The repository that will be watched for changes.
IRepository Repository { get; }
Property Value