AWS CodeDeploy

Register application revision

このページは日本語には対応しておりません。随時翻訳に取り組んでいます。翻訳に関してご質問やご意見ございましたら、お気軽にご連絡ください。

Register a revision for the specified application with AWS CodeDeploy.

Inputs

Expand All

フィールド

種類

説明

region [required]

enum

default: us-east-1

applicationName [required]

string

description

string

revisionType

enum

s3Location

object

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

bucket

string

The name of the Amazon S3 bucket where the application revision is stored.

key

string

The name of the Amazon S3 object that represents the bundled artifacts for the application revision.

bundleType

string

The file type of the application revision. Must be one of the following:
tar: A tar archive file.
tgz: A compressed tar archive file.
zip: A zip archive file.

version

string

A specific version of the Amazon S3 object that represents the bundled artifacts for the application revision. If the version is not specified, the system uses the most recent version by default.

eTag

string

The ETag of the Amazon S3 object that represents the bundled artifacts for the application revision. If the ETag is not specified as an input parameter, ETag validation of the object is skipped.

appSpecContent

object

The content of an AppSpec file for an AWS Lambda or Amazon ECS deployment. The content is formatted as JSON or YAML and stored as a RawString.

content

string

The YAML-formatted or JSON-formatted revision string. For an Lambda deployment, the content includes a Lambda function name, the alias for its original version, and the alias for its replacement version. The deployment shifts traffic from the original version of the Lambda function to the replacement version. For an Amazon ECS deployment, the content includes the task name, information about the load balancer that serves traffic to the container, and more. For both types of deployments, the content can specify Lambda functions that run at specified hooks, such as BeforeInstall, during a deployment.

sha256

string

The SHA256 hash value of the revision content.

gitHubLocation

object

Information about the location of application artifacts stored in GitHub.

repository

string

The GitHub account and repository pair that stores a reference to the commit that represents the bundled artifacts for the application revision. Specified as account/repository.

commitId

string

The SHA1 commit ID of the GitHub commit that represents the bundled artifacts for the application revision.

Outputs

フィールド

種類

説明

amzRequestId [required]

string