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

Class: Aws::Snowball::Types::LambdaResource

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

Overview

Note:

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

{
  lambda_arn: "ResourceARN",
  event_triggers: [
    {
      event_resource_arn: "ResourceARN",
    },
  ],
}

Identifies

Instance Attribute Summary collapse

Instance Attribute Details

#event_triggersArray<Types::EventTriggerDefinition>

The array of ARNs for S3Resource objects to trigger the LambdaResource objects associated with this job.

Returns:



1276
1277
1278
1279
1280
# File 'gems/aws-sdk-snowball/lib/aws-sdk-snowball/types.rb', line 1276

class LambdaResource < Struct.new(
  :lambda_arn,
  :event_triggers)
  include Aws::Structure
end

#lambda_arnString

An Amazon Resource Name (ARN) that represents an AWS Lambda function to be triggered by PUT object actions on the associated local Amazon S3 resource.

Returns:

  • (String)


1276
1277
1278
1279
1280
# File 'gems/aws-sdk-snowball/lib/aws-sdk-snowball/types.rb', line 1276

class LambdaResource < Struct.new(
  :lambda_arn,
  :event_triggers)
  include Aws::Structure
end