Class: Aws::CodeDeploy::Types::RevisionLocation

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-codedeploy/lib/aws-sdk-codedeploy/types.rb

Overview

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",
  },
}

Information about the location of an application revision.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#app_spec_contentTypes::AppSpecContent

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.



5041
5042
5043
5044
5045
5046
5047
5048
5049
# File 'gems/aws-sdk-codedeploy/lib/aws-sdk-codedeploy/types.rb', line 5041

class RevisionLocation < Struct.new(
  :revision_type,
  :s3_location,
  :git_hub_location,
  :string,
  :app_spec_content)
  SENSITIVE = []
  include Aws::Structure
end

#git_hub_locationTypes::GitHubLocation

Information about the location of application artifacts stored in GitHub.



5041
5042
5043
5044
5045
5046
5047
5048
5049
# File 'gems/aws-sdk-codedeploy/lib/aws-sdk-codedeploy/types.rb', line 5041

class RevisionLocation < Struct.new(
  :revision_type,
  :s3_location,
  :git_hub_location,
  :string,
  :app_spec_content)
  SENSITIVE = []
  include Aws::Structure
end

#revision_typeString

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.

Returns:

  • (String)


5041
5042
5043
5044
5045
5046
5047
5048
5049
# File 'gems/aws-sdk-codedeploy/lib/aws-sdk-codedeploy/types.rb', line 5041

class RevisionLocation < Struct.new(
  :revision_type,
  :s3_location,
  :git_hub_location,
  :string,
  :app_spec_content)
  SENSITIVE = []
  include Aws::Structure
end

#s3_locationTypes::S3Location

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

Returns:



5041
5042
5043
5044
5045
5046
5047
5048
5049
# File 'gems/aws-sdk-codedeploy/lib/aws-sdk-codedeploy/types.rb', line 5041

class RevisionLocation < Struct.new(
  :revision_type,
  :s3_location,
  :git_hub_location,
  :string,
  :app_spec_content)
  SENSITIVE = []
  include Aws::Structure
end

#stringTypes::RawString

Information about the location of an AWS Lambda deployment revision stored as a RawString.

Returns:



5041
5042
5043
5044
5045
5046
5047
5048
5049
# File 'gems/aws-sdk-codedeploy/lib/aws-sdk-codedeploy/types.rb', line 5041

class RevisionLocation < Struct.new(
  :revision_type,
  :s3_location,
  :git_hub_location,
  :string,
  :app_spec_content)
  SENSITIVE = []
  include Aws::Structure
end