Class: Aws::CodePipeline::Types::PipelineDeclaration

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

Overview

Represents the structure of actions and stages to be performed in the pipeline.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#artifact_storeTypes::ArtifactStore

Represents information about the S3 bucket where artifacts are stored for the pipeline.

<note markdown=“1”> You must include either ‘artifactStore` or `artifactStores` in your pipeline, but you cannot use both. If you create a cross-region action in your pipeline, you must use `artifactStores`.

</note>


2761
2762
2763
2764
2765
2766
2767
2768
2769
2770
# File 'lib/aws-sdk-codepipeline/types.rb', line 2761

class PipelineDeclaration < Struct.new(
  :name,
  :role_arn,
  :artifact_store,
  :artifact_stores,
  :stages,
  :version)
  SENSITIVE = []
  include Aws::Structure
end

#artifact_storesHash<String,Types::ArtifactStore>

A mapping of ‘artifactStore` objects and their corresponding Amazon Web Services Regions. There must be an artifact store for the pipeline Region and for each cross-region action in the pipeline.

<note markdown=“1”> You must include either ‘artifactStore` or `artifactStores` in your pipeline, but you cannot use both. If you create a cross-region action in your pipeline, you must use `artifactStores`.

</note>

Returns:



2761
2762
2763
2764
2765
2766
2767
2768
2769
2770
# File 'lib/aws-sdk-codepipeline/types.rb', line 2761

class PipelineDeclaration < Struct.new(
  :name,
  :role_arn,
  :artifact_store,
  :artifact_stores,
  :stages,
  :version)
  SENSITIVE = []
  include Aws::Structure
end

#nameString

The name of the pipeline.

Returns:

  • (String)


2761
2762
2763
2764
2765
2766
2767
2768
2769
2770
# File 'lib/aws-sdk-codepipeline/types.rb', line 2761

class PipelineDeclaration < Struct.new(
  :name,
  :role_arn,
  :artifact_store,
  :artifact_stores,
  :stages,
  :version)
  SENSITIVE = []
  include Aws::Structure
end

#role_arnString

The Amazon Resource Name (ARN) for CodePipeline to use to either perform actions with no ‘actionRoleArn`, or to use to assume roles for actions with an `actionRoleArn`.

Returns:

  • (String)


2761
2762
2763
2764
2765
2766
2767
2768
2769
2770
# File 'lib/aws-sdk-codepipeline/types.rb', line 2761

class PipelineDeclaration < Struct.new(
  :name,
  :role_arn,
  :artifact_store,
  :artifact_stores,
  :stages,
  :version)
  SENSITIVE = []
  include Aws::Structure
end

#stagesArray<Types::StageDeclaration>

The stage in which to perform the action.

Returns:



2761
2762
2763
2764
2765
2766
2767
2768
2769
2770
# File 'lib/aws-sdk-codepipeline/types.rb', line 2761

class PipelineDeclaration < Struct.new(
  :name,
  :role_arn,
  :artifact_store,
  :artifact_stores,
  :stages,
  :version)
  SENSITIVE = []
  include Aws::Structure
end

#versionInteger

The version number of the pipeline. A new pipeline always has a version number of 1. This number is incremented when a pipeline is updated.

Returns:

  • (Integer)


2761
2762
2763
2764
2765
2766
2767
2768
2769
2770
# File 'lib/aws-sdk-codepipeline/types.rb', line 2761

class PipelineDeclaration < Struct.new(
  :name,
  :role_arn,
  :artifact_store,
  :artifact_stores,
  :stages,
  :version)
  SENSITIVE = []
  include Aws::Structure
end