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

Class: Aws::ForecastService::Types::S3Config

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing S3Config as input to an Aws::Client method, you can use a vanilla Hash:

{
  path: "S3Path", # required
  role_arn: "Arn", # required
  kms_key_arn: "KMSKeyArn",
}

The path to the file(s) in an Amazon Simple Storage Service (Amazon S3) bucket, and an AWS Identity and Access Management (IAM) role that Amazon Forecast can assume to access the file(s). Optionally, includes an AWS Key Management Service (KMS) key. This object is part of the DataSource object that is submitted in the CreateDatasetImportJob request, and part of the DataDestination object that is submitted in the CreateForecastExportJob request.

Returned by:

Instance Attribute Summary collapse

Instance Attribute Details

#kms_key_arnString

The Amazon Resource Name (ARN) of an AWS Key Management Service (KMS) key.

Returns:

  • (String)

    The Amazon Resource Name (ARN) of an AWS Key Management Service (KMS) key.

#pathString

The path to an Amazon Simple Storage Service (Amazon S3) bucket or file(s) in an Amazon S3 bucket.

Returns:

  • (String)

    The path to an Amazon Simple Storage Service (Amazon S3) bucket or file(s) in an Amazon S3 bucket.

#role_arnString

The ARN of the AWS Identity and Access Management (IAM) role that Amazon Forecast can assume to access the Amazon S3 bucket or files. If you provide a value for the KMSKeyArn key, the role must allow access to the key.

Passing a role across AWS accounts is not allowed. If you pass a role that isn\'t in your account, you get an InvalidInputException error.

Returns:

  • (String)

    The ARN of the AWS Identity and Access Management (IAM) role that Amazon Forecast can assume to access the Amazon S3 bucket or files.