You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.
Class: Aws::Snowball::Types::CreateJobRequest
- Inherits:
-
Struct
- Object
- Struct
- Aws::Snowball::Types::CreateJobRequest
- Defined in:
- (unknown)
Overview
When passing CreateJobRequest as input to an Aws::Client method, you can use a vanilla Hash:
{
job_type: "IMPORT", # accepts IMPORT, EXPORT, LOCAL_USE
resources: {
s3_resources: [
{
bucket_arn: "ResourceARN",
key_range: {
begin_marker: "String",
end_marker: "String",
},
},
],
lambda_resources: [
{
lambda_arn: "ResourceARN",
event_triggers: [
{
event_resource_arn: "ResourceARN",
},
],
},
],
ec2_ami_resources: [
{
ami_id: "AmiId", # required
snowball_ami_id: "String",
},
],
},
description: "String",
address_id: "AddressId",
kms_key_arn: "KmsKeyARN",
role_arn: "RoleARN",
snowball_capacity_preference: "T50", # accepts T50, T80, T100, T42, T98, T8, NoPreference
shipping_option: "SECOND_DAY", # accepts SECOND_DAY, NEXT_DAY, EXPRESS, STANDARD
notification: {
sns_topic_arn: "SnsTopicARN",
job_states_to_notify: ["New"], # accepts New, PreparingAppliance, PreparingShipment, InTransitToCustomer, WithCustomer, InTransitToAWS, WithAWSSortingFacility, WithAWS, InProgress, Complete, Cancelled, Listing, Pending
notify_all: false,
},
cluster_id: "ClusterId",
snowball_type: "STANDARD", # accepts STANDARD, EDGE, EDGE_C, EDGE_CG, EDGE_S, SNC1_HDD
forwarding_address_id: "AddressId",
tax_documents: {
ind: {
gstin: "GSTIN",
},
},
device_configuration: {
snowcone_device_configuration: {
wireless_connection: {
is_wifi_enabled: false,
},
},
},
}
Instance Attribute Summary collapse
-
#address_id ⇒ String
The ID for the address that you want the Snow device shipped to.
-
#cluster_id ⇒ String
The ID of a cluster.
-
#description ⇒ String
Defines an optional description of this specific job, for example
Important Photos 2016-08-11
. -
#device_configuration ⇒ Types::DeviceConfiguration
Defines the device configuration for an AWS Snowcone job.
-
#forwarding_address_id ⇒ String
The forwarding address ID for a job.
-
#job_type ⇒ String
Defines the type of job that you\'re creating.
-
#kms_key_arn ⇒ String
The
KmsKeyARN
that you want to associate with this job. -
#notification ⇒ Types::Notification
Defines the Amazon Simple Notification Service (Amazon SNS) notification settings for this job.
-
#resources ⇒ Types::JobResource
Defines the Amazon S3 buckets associated with this job.
-
#role_arn ⇒ String
The
RoleARN
that you want to associate with this job. -
#shipping_option ⇒ String
The shipping speed for this job.
-
#snowball_capacity_preference ⇒ String
If your job is being created in one of the US regions, you have the option of specifying what size Snow device you\'d like for this job.
-
#snowball_type ⇒ String
The type of AWS Snow Family device to use for this job.
-
#tax_documents ⇒ Types::TaxDocuments
The tax documents required in your AWS Region.
Instance Attribute Details
#address_id ⇒ String
The ID for the address that you want the Snow device shipped to.
#cluster_id ⇒ String
The ID of a cluster. If you\'re creating a job for a node in a cluster,
you need to provide only this clusterId
value. The other job
attributes are inherited from the cluster.
#description ⇒ String
Defines an optional description of this specific job, for example
Important Photos 2016-08-11
.
#device_configuration ⇒ Types::DeviceConfiguration
Defines the device configuration for an AWS Snowcone job.
#forwarding_address_id ⇒ String
The forwarding address ID for a job. This field is not supported in most regions.
#job_type ⇒ String
Defines the type of job that you\'re creating.
Possible values:
- IMPORT
- EXPORT
- LOCAL_USE
#kms_key_arn ⇒ String
The KmsKeyARN
that you want to associate with this job. KmsKeyARN
s
are created using the CreateKey AWS Key Management Service (KMS)
API action.
#notification ⇒ Types::Notification
Defines the Amazon Simple Notification Service (Amazon SNS) notification settings for this job.
#resources ⇒ Types::JobResource
Defines the Amazon S3 buckets associated with this job.
With IMPORT
jobs, you specify the bucket or buckets that your
transferred data will be imported into.
With EXPORT
jobs, you specify the bucket or buckets that your
transferred data will be exported from. Optionally, you can also specify
a KeyRange
value. If you choose to export a range, you define the
length of the range by providing either an inclusive BeginMarker
value, an inclusive EndMarker
value, or both. Ranges are UTF-8 binary
sorted.
#role_arn ⇒ String
The RoleARN
that you want to associate with this job. RoleArn
s are
created using the CreateRole AWS Identity and Access Management
(IAM) API action.
#shipping_option ⇒ String
The shipping speed for this job. This speed doesn\'t dictate how soon you\'ll get the Snow device, rather it represents how quickly the Snow device moves to its destination while in transit. Regional shipping speeds are as follows:
In Australia, you have access to express shipping. Typically, Snow devices shipped express are delivered in about a day.
In the European Union (EU), you have access to express shipping. Typically, Snow devices shipped express are delivered in about a day. In addition, most countries in the EU have access to standard shipping, which typically takes less than a week, one way.
In India, Snow devices are delivered in one to seven days.
In the US, you have access to one-day shipping and two-day shipping.
Possible values:
- SECOND_DAY
- NEXT_DAY
- EXPRESS
- STANDARD
#snowball_capacity_preference ⇒ String
If your job is being created in one of the US regions, you have the option of specifying what size Snow device you\'d like for this job. In all other regions, Snowballs come with 80 TB in storage capacity.
Possible values:
- T50
- T80
- T100
- T42
- T98
- T8
- NoPreference
#snowball_type ⇒ String
The type of AWS Snow Family device to use for this job.
EDGE
device type.
The type of AWS Snow device to use for this job. Currently, the only
supported device type for cluster jobs is EDGE
.
For more information, see Snowball Edge Device Options in the Snowball Edge Developer Guide.
#tax_documents ⇒ Types::TaxDocuments
The tax documents required in your AWS Region.