File tree Expand file tree Collapse file tree 1 file changed +12
-16
lines changed Expand file tree Collapse file tree 1 file changed +12
-16
lines changed Original file line number Diff line number Diff line change @@ -52,24 +52,20 @@ Creating a one-time transfer from Amazon S3 to Google Cloud Storage.
52
52
1. Under Security Credentials, create an IAM User with access to the bucket.
53
53
1. Create an Access Key for the user. Note the Access Key ID and Secret Access Key.
54
54
1. Set the `AWS_ACCESS_KEY_ID` and `AWS_SECRET_ACCESS_KEY` environment variables.
55
- 1. In AwsRequester.java, fill in the user-provided constants.
56
55
1. Compile the package with
57
-
58
- ```bash
59
- mvn compile
60
- ```
61
-
56
+ ```bash
57
+ mvn compile
58
+ ```
62
59
1 . Run the transfer job with
63
-
64
- ``` bash
65
- mvn exec:java \
66
- -Dexec.mainClass=" com.google.cloud.storage.storagetransfer.samples.AwsRequester" \
67
- -DprojectId=your-google-cloud-project-id \
68
- -DjobDescription=" Sample transfer job from S3 to GCS." \
69
- -DawsSourceBucket=your-s3-bucket-name \
70
- -DgcsSinkBucket=your-gcs-bucket-name
71
- ```
72
- 1 . Note the job ID in the returned Transfer Job.
60
+ ``` bash
61
+ mvn exec:java \
62
+ -Dexec.mainClass=" com.google.cloud.storage.storagetransfer.samples.AwsRequester" \
63
+ -DprojectId=your-google-cloud-project-id \
64
+ -DjobDescription=" Sample transfer job from S3 to GCS." \
65
+ -DawsSourceBucket=your-s3-bucket-name \
66
+ -DgcsSinkBucket=your-gcs-bucket-name
67
+ ```
68
+ 1 . Note the job ID in the returned Transfer Job.
73
69
74
70
## Transfer data from a standard Cloud Storage bucket to a Cloud Storage Nearline bucket
75
71
You can’t perform that action at this time.
0 commit comments