interface SourceRevision
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.CodePipeline.Actions.SourceRevision |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awscodepipelineactions#SourceRevision |
Java | software.amazon.awscdk.services.codepipeline.actions.SourceRevision |
Python | aws_cdk.aws_codepipeline_actions.SourceRevision |
TypeScript (source) | aws-cdk-lib » aws_codepipeline_actions » SourceRevision |
A list that allows you to specify, or override, the source revision for a pipeline execution that's being started.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_codepipeline_actions as codepipeline_actions } from 'aws-cdk-lib';
const sourceRevision: codepipeline_actions.SourceRevision = {
actionName: 'actionName',
revisionType: codepipeline_actions.RevisionType.COMMIT_ID,
revisionValue: 'revisionValue',
};
Properties
| Name | Type | Description |
|---|---|---|
| action | string | The name of the action where the override will be applied. |
| revision | Revision | The type of source revision, based on the source provider. |
| revision | string | The source revision, or version of your source artifact, with the changes that you want to run in the pipeline execution. |
actionName
Type:
string
The name of the action where the override will be applied.
revisionType
Type:
Revision
The type of source revision, based on the source provider.
revisionValue
Type:
string
The source revision, or version of your source artifact, with the changes that you want to run in the pipeline execution.

.NET
Go
Java
Python
TypeScript (