Skip to content
v2.274.0

RevisionLocationProperty Struct ​

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

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 ​

gitHubLocationoptionalIResolvable | CfnDeploymentGroup.GitHubLocationPropertygit_hub_locationoptionaltyping.Union[IResolvable, GitHubLocationProperty]gitHubLocationoptionalIResolvableGitHubLocationoptionalIResolvableGitHubLocationoptionalinterface{}#
Information about the location of application artifacts stored in GitHub.
revisionTypeoptionalstringrevision_typeoptionalstrrevisionTypeoptionalStringRevisionTypeoptionalstringRevisionTypeoptional*string#
The type of application revision:.
notes
  • 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.
s3LocationoptionalIResolvable | CfnDeploymentGroup.S3LocationPropertys3_locationoptionaltyping.Union[IResolvable, S3LocationProperty]s3LocationoptionalIResolvableS3LocationoptionalIResolvableS3Locationoptionalinterface{}#
Information about the location of a revision stored in Amazon S3.