# RevisionLocationProperty

`RevisionLocation` is a property that defines the location of the CodeDeploy application revision to deploy.

- Source: Generated code
- Type last changed: v2.93.0 · 23 Aug 2023

## Example

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_codedeploy as codedeploy } from 'aws-cdk-lib';
const revisionLocationProperty: codedeploy.CfnDeploymentGroup.RevisionLocationProperty = {
  gitHubLocation: {
    commitId: 'commitId',
    repository: 'repository',
  },
  revisionType: 'revisionType',
  s3Location: {
    bucket: 'bucket',
    key: 'key',

    // the properties below are optional
    bundleType: 'bundleType',
    eTag: 'eTag',
    version: 'version',
  },
};
```

## Properties

- `gitHubLocation`: [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnDeploymentGroup.GitHubLocationProperty](/cdk/api/v2/docs/aws-cdk-lib.aws_codedeploy.CfnDeploymentGroup.GitHubLocationProperty.html) — Information about the location of application artifacts stored in GitHub.

- `revisionType`: string — The type of application revision:.

  - S3: An application revision stored in Amazon S3.
  - GitHub: An application revision stored in GitHub (EC2/On-premises deployments only).
  - String: A YAML-formatted or JSON-formatted string ( AWS Lambda deployments only).
  - AppSpecContent: An `AppSpecContent` object that contains the contents of an AppSpec file for an AWS Lambda or Amazon ECS deployment. The content is formatted as JSON or YAML stored as a RawString.

- `s3Location`: [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnDeploymentGroup.S3LocationProperty](/cdk/api/v2/docs/aws-cdk-lib.aws_codedeploy.CfnDeploymentGroup.S3LocationProperty.html) — Information about the location of a revision stored in Amazon S3.
