Show / Hide Table of Contents

Enum RevisionType

The types of revision for a pipeline execution.

Namespace: Amazon.CDK.AWS.CodePipeline.Actions
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public enum RevisionType
Syntax (vb)
Public Enum RevisionType
Remarks

ExampleMetadata: infused

Examples
using Amazon.CDK.AWS.CodePipeline.Actions;


            var pipeline = new Pipeline(this, "MyPipeline");
            var targetPipeline = Pipeline.FromPipelineArn(this, "Pipeline", "arn:aws:codepipeline:us-east-1:123456789012:InvokePipelineAction"); // If targetPipeline is not created by cdk, import from arn.
            pipeline.AddStage(new StageOptions {
                StageName = "stageName",
                Actions = new [] { new PipelineInvokeAction(new PipelineInvokeActionProps {
                    ActionName = "Invoke",
                    TargetPipeline = targetPipeline,
                    Variables = new [] { new Variable {
                        Name = "name1",
                        Value = "value1"
                    } },
                    SourceRevisions = new [] { new SourceRevision {
                        ActionName = "Source",
                        RevisionType = RevisionType.S3_OBJECT_VERSION_ID,
                        RevisionValue = "testRevisionValue"
                    } }
                }) }
            });

Synopsis

Fields

COMMIT_ID

The revision type is a commit id.

IMAGE_DIGEST

The revision type is an image digest.

S3_OBJECT_KEY

The revision type is an s3 object version key.

S3_OBJECT_VERSION_ID

The revision type is an s3 object version id.

Fields

Name Description
COMMIT_ID

The revision type is a commit id.

IMAGE_DIGEST

The revision type is an image digest.

S3_OBJECT_KEY

The revision type is an s3 object version key.

S3_OBJECT_VERSION_ID

The revision type is an s3 object version id.

Back to top Generated by DocFX