aws-cdk-lib.aws_codedeploy.CfnDeploymentGroup.RevisionLocationProperty

interface RevisionLocationProperty

LanguageType name
.NETAmazon.CDK.AWS.CodeDeploy.CfnDeploymentGroup.RevisionLocationProperty
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awscodedeploy#CfnDeploymentGroup_RevisionLocationProperty
Javasoftware.amazon.awscdk.services.codedeploy.CfnDeploymentGroup.RevisionLocationProperty
Pythonaws_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

NameTypeDescription
gitHubLocation?IResolvable | GitHubLocationPropertyInformation about the location of application artifacts stored in GitHub.
revisionType?stringThe type of application revision:.
s3Location?IResolvable | S3LocationPropertyInformation about the location of a revision stored in Amazon S3.

gitHubLocation?

Type: IResolvable | GitHubLocationProperty (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 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?

Type: IResolvable | S3LocationProperty (optional)

Information about the location of a revision stored in Amazon S3.