interface RevisionLocationProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.CodeDeploy.CfnDeploymentGroup.RevisionLocationProperty |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awscodedeploy#CfnDeploymentGroup_RevisionLocationProperty |
Java | software.amazon.awscdk.services.codedeploy.CfnDeploymentGroup.RevisionLocationProperty |
Python | aws_cdk.aws_codedeploy.CfnDeploymentGroup.RevisionLocationProperty |
TypeScript | aws-cdk-lib » aws_codedeploy » CfnDeploymentGroup » RevisionLocationProperty |
RevisionLocation is a property that defines the location of the CodeDeploy application revision to deploy.
Example
// 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
| Name | Type | Description |
|---|---|---|
| git | IResolvable | Git | Information about the location of application artifacts stored in GitHub. |
| revision | string | The type of application revision:. |
| s3 | IResolvable | S3 | Information about the location of a revision stored in Amazon S3. |
gitHubLocation?
Type:
IResolvable | Git
(optional)
Information about the location of application artifacts stored in GitHub.
revisionType?
Type:
string
(optional)
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
AppSpecContentobject 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?
Type:
IResolvable | S3
(optional)
Information about the location of a revision stored in Amazon S3.

.NET
Go
Java
Python
TypeScript