class Aws::Snowball::Types::JobResource

Contains an array of AWS resource objects. Each object represents an Amazon S3 bucket, an AWS Lambda function, or an Amazon Machine Image (AMI) based on Amazon EC2 that is associated with a particular job.

@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",
          },
          target_on_device_services: [
            {
              service_name: "NFS_ON_DEVICE_SERVICE", # accepts NFS_ON_DEVICE_SERVICE, S3_ON_DEVICE_SERVICE
              transfer_option: "IMPORT", # accepts IMPORT, EXPORT, LOCAL_USE
            },
          ],
        },
      ],
      lambda_resources: [
        {
          lambda_arn: "ResourceARN",
          event_triggers: [
            {
              event_resource_arn: "ResourceARN",
            },
          ],
        },
      ],
      ec2_ami_resources: [
        {
          ami_id: "AmiId", # required
          snowball_ami_id: "String",
        },
      ],
    }

@!attribute [rw] s3_resources

An array of `S3Resource` objects.
@return [Array<Types::S3Resource>]

@!attribute [rw] lambda_resources

The Python-language Lambda functions for this job.
@return [Array<Types::LambdaResource>]

@!attribute [rw] ec2_ami_resources

The Amazon Machine Images (AMIs) associated with this job.
@return [Array<Types::Ec2AmiResource>]

@see docs.aws.amazon.com/goto/WebAPI/snowball-2016-06-30/JobResource AWS API Documentation

Constants

SENSITIVE