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

Class: Aws::Snowball::Types::JobResource

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

{
  s3_resources: [
    {
      bucket_arn: "ResourceARN",
      key_range: {
        begin_marker: "String",
        end_marker: "String",
      },
    },
  ],
  lambda_resources: [
    {
      lambda_arn: "ResourceARN",
      event_triggers: [
        {
          event_resource_arn: "ResourceARN",
        },
      ],
    },
  ],
}

Contains an array of S3Resource objects. Each S3Resource object represents an Amazon S3 bucket that your transferred data will be exported from or imported into.

Instance Attribute Summary collapse

Instance Attribute Details

#lambda_resourcesArray<Types::LambdaResource>

The Python-language Lambda functions for this job.

Returns:



1212
1213
1214
1215
1216
# File 'gems/aws-sdk-snowball/lib/aws-sdk-snowball/types.rb', line 1212

class JobResource < Struct.new(
  :s3_resources,
  :lambda_resources)
  include Aws::Structure
end

#s3_resourcesArray<Types::S3Resource>

An array of S3Resource objects.

Returns:



1212
1213
1214
1215
1216
# File 'gems/aws-sdk-snowball/lib/aws-sdk-snowball/types.rb', line 1212

class JobResource < Struct.new(
  :s3_resources,
  :lambda_resources)
  include Aws::Structure
end