# SourceRevision

A list that allows you to specify, or override, the source revision for a pipeline execution that's being started.

- Source: [`aws-codepipeline-actions/lib/codepipeline/invoke-action.ts`](https://github.com/aws/aws-cdk/blob/v2.275.0/packages/aws-cdk-lib/aws-codepipeline-actions/lib/codepipeline/invoke-action.ts#L34)
- Type last changed: v2.193.0 · 30 Apr 2025

## Example

```ts
// 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

- `actionName`: string (required) — The name of the action where the override will be applied.

- `revisionType`: [RevisionType](/cdk/api/v2/docs/aws-cdk-lib.aws_codepipeline_actions.RevisionType.html) (required) — The type of source revision, based on the source provider.

- `revisionValue`: string (required) — The source revision, or version of your source artifact, with the changes that you want to run in the pipeline execution.
