class Aws::CodeDeploy::Types::RevisionLocation

Information about the location of an application revision.

@note When making an API call, you may pass RevisionLocation

data as a hash:

    {
      revision_type: "S3", # accepts S3, GitHub, String, AppSpecContent
      s3_location: {
        bucket: "S3Bucket",
        key: "S3Key",
        bundle_type: "tar", # accepts tar, tgz, zip, YAML, JSON
        version: "VersionId",
        e_tag: "ETag",
      },
      git_hub_location: {
        repository: "Repository",
        commit_id: "CommitId",
      },
      string: {
        content: "RawStringContent",
        sha256: "RawStringSha256",
      },
      app_spec_content: {
        content: "RawStringContent",
        sha256: "RawStringSha256",
      },
    }

@!attribute [rw] revision_type

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.
@return [String]

@!attribute [rw] s3_location

Information about the location of a revision stored in Amazon S3.
@return [Types::S3Location]

@!attribute [rw] git_hub_location

Information about the location of application artifacts stored in
GitHub.
@return [Types::GitHubLocation]

@!attribute [rw] string

Information about the location of an AWS Lambda deployment revision
stored as a RawString.
@return [Types::RawString]

@!attribute [rw] app_spec_content

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.
@return [Types::AppSpecContent]

@see docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/RevisionLocation AWS API Documentation

Constants

SENSITIVE