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

Class: Aws::CodePipeline::Types::ActionDeclaration

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 ActionDeclaration data as a hash:

{
  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 an action declaration.

Instance Attribute Summary collapse

Instance Attribute Details

#action_type_idTypes::ActionTypeId

The configuration information for the action type.

Returns:



293
294
295
296
297
298
299
300
301
302
# File 'gems/aws-sdk-codepipeline/lib/aws-sdk-codepipeline/types.rb', line 293

class ActionDeclaration < Struct.new(
  :name,
  :action_type_id,
  :run_order,
  :configuration,
  :output_artifacts,
  :input_artifacts,
  :role_arn)
  include Aws::Structure
end

#configurationHash<String,String>

The action declaration's configuration.

Returns:

  • (Hash<String,String>)


293
294
295
296
297
298
299
300
301
302
# File 'gems/aws-sdk-codepipeline/lib/aws-sdk-codepipeline/types.rb', line 293

class ActionDeclaration < Struct.new(
  :name,
  :action_type_id,
  :run_order,
  :configuration,
  :output_artifacts,
  :input_artifacts,
  :role_arn)
  include Aws::Structure
end

#input_artifactsArray<Types::InputArtifact>

The name or ID of the artifact consumed by the action, such as a test or build artifact.

Returns:



293
294
295
296
297
298
299
300
301
302
# File 'gems/aws-sdk-codepipeline/lib/aws-sdk-codepipeline/types.rb', line 293

class ActionDeclaration < Struct.new(
  :name,
  :action_type_id,
  :run_order,
  :configuration,
  :output_artifacts,
  :input_artifacts,
  :role_arn)
  include Aws::Structure
end

#nameString

The action declaration's name.

Returns:

  • (String)


293
294
295
296
297
298
299
300
301
302
# File 'gems/aws-sdk-codepipeline/lib/aws-sdk-codepipeline/types.rb', line 293

class ActionDeclaration < Struct.new(
  :name,
  :action_type_id,
  :run_order,
  :configuration,
  :output_artifacts,
  :input_artifacts,
  :role_arn)
  include Aws::Structure
end

#output_artifactsArray<Types::OutputArtifact>

The name or ID of the result of the action declaration, such as a test or build artifact.

Returns:



293
294
295
296
297
298
299
300
301
302
# File 'gems/aws-sdk-codepipeline/lib/aws-sdk-codepipeline/types.rb', line 293

class ActionDeclaration < Struct.new(
  :name,
  :action_type_id,
  :run_order,
  :configuration,
  :output_artifacts,
  :input_artifacts,
  :role_arn)
  include Aws::Structure
end

#role_arnString

The ARN of the IAM service role that will perform the declared action. This is assumed through the roleArn for the pipeline.

Returns:

  • (String)


293
294
295
296
297
298
299
300
301
302
# File 'gems/aws-sdk-codepipeline/lib/aws-sdk-codepipeline/types.rb', line 293

class ActionDeclaration < Struct.new(
  :name,
  :action_type_id,
  :run_order,
  :configuration,
  :output_artifacts,
  :input_artifacts,
  :role_arn)
  include Aws::Structure
end

#run_orderInteger

The order in which actions are run.

Returns:

  • (Integer)


293
294
295
296
297
298
299
300
301
302
# File 'gems/aws-sdk-codepipeline/lib/aws-sdk-codepipeline/types.rb', line 293

class ActionDeclaration < Struct.new(
  :name,
  :action_type_id,
  :run_order,
  :configuration,
  :output_artifacts,
  :input_artifacts,
  :role_arn)
  include Aws::Structure
end