Amazon S3

The Amazon S3 output allows you to write output features to files on an Amazon S3 bucket.

Example

After performing analysis in a big data analytic, a researcher wishes to write the output spatial or tabular features to files on an Amazon S3 bucket.

Usage notes

  • The Dataset parameter specifies the name of the folder that Analytics for IoT will write to the Amazon S3. This folder will contain one or more files, depending on the size of the output.
  • Your secret access key will be encrypted the first time you save your analytic and stored in an encrypted state.
  • When specifying the folder path, use forward slashes (/). /
  • This output is only available in big data analytics.

Parameters

ParameterDescriptionData Type

Access Key

Amazon access key ID for the S3 bucket. For example:

AKIAIOSFODNN7EXAMPLE.

Analytics for IoT will use the provided access keys to load specified data sources into the application.

For more information on Amazon access keys, see Access Keys in the AWS documentation.

String

Secret Key

Amazon secret access key for the S3 bucket. For example:

wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY.

Analytics for IoT will use the provided access keys to load specified data sources into the application.

Your secret access key will be encrypted the first time you save your analytic and stored in an encrypted state.

For more information on Amazon access keys, see Access Keys in the AWS documentation.

String

S3 Bucket Name

The name of the Amazon S3 bucket to which the file(s) should be written.

String

Folder Path

The folder path of the folder to which the output dataset folder and files should be written.

  • To write the output folder and files to the root level of an Amazon S3 bucket, enter a single forward slash. For example:
    • /
  • To write the output folder and files to a folder, enter a forward slash followed by the path to the folder. For example:
    • /data_folder

String

Dataset

The name of the folder to write to which will contain the output file(s). The file(s) that are written to this folder will be automatically named and broken into multiple files as needed. Do not include file extensions in the dataset name property.

String

Write Mode

The available write modes to write features to files in Amazon S3. The available write modes are:

  • Overwrite
  • Append
  • Error if exists

String