You are viewing documentation for version 3 of the AWS SDK for Ruby. Version 2 documentation can be found here.

Class: Aws::CodePipeline::Types::StageDeclaration

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

Overview

Note:

When making an API call, you may pass StageDeclaration data as a hash:

{
  name: "StageName", # required
  blockers: [
    {
      name: "BlockerName", # required
      type: "Schedule", # required, accepts Schedule
    },
  ],
  actions: [ # required
    {
      name: "ActionName", # required
      action_type_id: { # required
        category: "Source", # required, accepts Source, Build, Deploy, Test, Invoke, Approval
        owner: "AWS", # required, accepts AWS, ThirdParty, Custom
        provider: "ActionProvider", # required
        version: "Version", # required
      },
      run_order: 1,
      configuration: {
        "ActionConfigurationKey" => "ActionConfigurationValue",
      },
      output_artifacts: [
        {
          name: "ArtifactName", # required
        },
      ],
      input_artifacts: [
        {
          name: "ArtifactName", # required
        },
      ],
      role_arn: "RoleArn",
    },
  ],
}

Represents information about a stage and its definition.

Instance Attribute Summary collapse

Instance Attribute Details

#actionsArray<Types::ActionDeclaration>

The actions included in a stage.

Returns:



2616
2617
2618
2619
2620
2621
# File 'gems/aws-sdk-codepipeline/lib/aws-sdk-codepipeline/types.rb', line 2616

class StageDeclaration < Struct.new(
  :name,
  :blockers,
  :actions)
  include Aws::Structure
end

#blockersArray<Types::BlockerDeclaration>

Reserved for future use.

Returns:



2616
2617
2618
2619
2620
2621
# File 'gems/aws-sdk-codepipeline/lib/aws-sdk-codepipeline/types.rb', line 2616

class StageDeclaration < Struct.new(
  :name,
  :blockers,
  :actions)
  include Aws::Structure
end

#nameString

The name of the stage.

Returns:

  • (String)


2616
2617
2618
2619
2620
2621
# File 'gems/aws-sdk-codepipeline/lib/aws-sdk-codepipeline/types.rb', line 2616

class StageDeclaration < Struct.new(
  :name,
  :blockers,
  :actions)
  include Aws::Structure
end