Class: Aws::MailManager::Types::InvokeLambdaAction

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

Overview

The action to invoke an Amazon Web Services Lambda function for processing the email.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#action_failure_policyString

A policy that states what to do in the case of failure. The action will fail if there are configuration errors. For example, the Amazon Web Services Lambda function no longer exists.

Returns:

  • (String)


2586
2587
2588
2589
2590
2591
2592
2593
2594
# File 'gems/aws-sdk-mailmanager/lib/aws-sdk-mailmanager/types.rb', line 2586

class InvokeLambdaAction < Struct.new(
  :action_failure_policy,
  :function_arn,
  :invocation_type,
  :role_arn,
  :retry_time_minutes)
  SENSITIVE = []
  include Aws::Structure
end

#function_arnString

The Amazon Resource Name (ARN) of the Lambda function to invoke.

Returns:

  • (String)


2586
2587
2588
2589
2590
2591
2592
2593
2594
# File 'gems/aws-sdk-mailmanager/lib/aws-sdk-mailmanager/types.rb', line 2586

class InvokeLambdaAction < Struct.new(
  :action_failure_policy,
  :function_arn,
  :invocation_type,
  :role_arn,
  :retry_time_minutes)
  SENSITIVE = []
  include Aws::Structure
end

#invocation_typeString

The invocation type of the Lambda function. Use EVENT for asynchronous invocation or REQUEST_RESPONSE for synchronous invocation.

Returns:

  • (String)


2586
2587
2588
2589
2590
2591
2592
2593
2594
# File 'gems/aws-sdk-mailmanager/lib/aws-sdk-mailmanager/types.rb', line 2586

class InvokeLambdaAction < Struct.new(
  :action_failure_policy,
  :function_arn,
  :invocation_type,
  :role_arn,
  :retry_time_minutes)
  SENSITIVE = []
  include Aws::Structure
end

#retry_time_minutesInteger

The maximum time in minutes that the email processing can be retried if the Lambda invocation fails. The maximum value is 2160 minutes (36 hours).

Returns:

  • (Integer)


2586
2587
2588
2589
2590
2591
2592
2593
2594
# File 'gems/aws-sdk-mailmanager/lib/aws-sdk-mailmanager/types.rb', line 2586

class InvokeLambdaAction < Struct.new(
  :action_failure_policy,
  :function_arn,
  :invocation_type,
  :role_arn,
  :retry_time_minutes)
  SENSITIVE = []
  include Aws::Structure
end

#role_arnString

The Amazon Resource Name (ARN) of the IAM role to use to invoke the Lambda function.

Returns:

  • (String)


2586
2587
2588
2589
2590
2591
2592
2593
2594
# File 'gems/aws-sdk-mailmanager/lib/aws-sdk-mailmanager/types.rb', line 2586

class InvokeLambdaAction < Struct.new(
  :action_failure_policy,
  :function_arn,
  :invocation_type,
  :role_arn,
  :retry_time_minutes)
  SENSITIVE = []
  include Aws::Structure
end