Class: Aws::CodePipeline::Types::Artifact

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-codepipeline/types.rb

Overview

Artifacts are the files that are worked on by actions in the pipeline. See the action configuration for each action for details about artifact parameters. For example, the S3 source action artifact is a file name (or file path), and the files are generally provided as a ZIP file. Example artifact name: SampleApp_Windows.zip

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#locationTypes::ArtifactLocation

The location of an artifact.



1146
1147
1148
1149
1150
1151
1152
# File 'lib/aws-sdk-codepipeline/types.rb', line 1146

class Artifact < Struct.new(
  :name,
  :revision,
  :location)
  SENSITIVE = []
  include Aws::Structure
end

#nameString

The artifact’s name.

Returns:

  • (String)


1146
1147
1148
1149
1150
1151
1152
# File 'lib/aws-sdk-codepipeline/types.rb', line 1146

class Artifact < Struct.new(
  :name,
  :revision,
  :location)
  SENSITIVE = []
  include Aws::Structure
end

#revisionString

The artifact’s revision ID. Depending on the type of object, this could be a commit ID (GitHub) or a revision ID (Amazon S3).

Returns:

  • (String)


1146
1147
1148
1149
1150
1151
1152
# File 'lib/aws-sdk-codepipeline/types.rb', line 1146

class Artifact < Struct.new(
  :name,
  :revision,
  :location)
  SENSITIVE = []
  include Aws::Structure
end