Class: Aws::CodePipeline::Types::ActionTypeExecutor

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

{
  configuration: { # required
    lambda_executor_configuration: {
      lambda_function_arn: "LambdaFunctionArn", # required
    },
    job_worker_executor_configuration: {
      polling_accounts: ["AccountId"],
      polling_service_principals: ["ServicePrincipal"],
    },
  },
  type: "JobWorker", # required, accepts JobWorker, Lambda
  policy_statements_template: "PolicyStatementsTemplate",
  job_timeout: 1,
}

The action engine, or executor, for an action type created for a provider, where the action is to be used by customers of the provider. The action engine is associated with the model used to create and update the action, such as the Lambda integration model.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#configurationTypes::ExecutorConfiguration

The action configuration properties for the action type. These properties are specified in the action definition when the action type is created.



930
931
932
933
934
935
936
937
# File 'gems/aws-sdk-codepipeline/lib/aws-sdk-codepipeline/types.rb', line 930

class ActionTypeExecutor < Struct.new(
  :configuration,
  :type,
  :policy_statements_template,
  :job_timeout)
  SENSITIVE = []
  include Aws::Structure
end

#job_timeoutInteger

The timeout in seconds for the job. An action execution can have multiple jobs. This is the timeout for a single job, not the entire action execution.

Returns:

  • (Integer)


930
931
932
933
934
935
936
937
# File 'gems/aws-sdk-codepipeline/lib/aws-sdk-codepipeline/types.rb', line 930

class ActionTypeExecutor < Struct.new(
  :configuration,
  :type,
  :policy_statements_template,
  :job_timeout)
  SENSITIVE = []
  include Aws::Structure
end

#policy_statements_templateString

The policy statement that specifies the permissions in the CodePipeline customer’s account that are needed to successfully run an action.

To grant permission to another account, specify the account ID as the Principal, a domain-style identifier defined by the service, for example codepipeline.amazonaws.com.

The size of the passed JSON policy document cannot exceed 2048 characters.

Returns:

  • (String)


930
931
932
933
934
935
936
937
# File 'gems/aws-sdk-codepipeline/lib/aws-sdk-codepipeline/types.rb', line 930

class ActionTypeExecutor < Struct.new(
  :configuration,
  :type,
  :policy_statements_template,
  :job_timeout)
  SENSITIVE = []
  include Aws::Structure
end

#typeString

The integration model used to create and update the action type, Lambda or JobWorker.

Returns:

  • (String)


930
931
932
933
934
935
936
937
# File 'gems/aws-sdk-codepipeline/lib/aws-sdk-codepipeline/types.rb', line 930

class ActionTypeExecutor < Struct.new(
  :configuration,
  :type,
  :policy_statements_template,
  :job_timeout)
  SENSITIVE = []
  include Aws::Structure
end