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

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-forecastservice/lib/aws-sdk-forecastservice/types.rb

Overview

The path to the file(s) in an Amazon Simple Storage Service (Amazon S3) bucket, and an Identity and Access Management (IAM) role that Amazon Forecast can assume to access the file(s). Optionally, includes an 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.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#kms_key_arnString

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

Returns:

  • (String)


6211
6212
6213
6214
6215
6216
6217
# File 'gems/aws-sdk-forecastservice/lib/aws-sdk-forecastservice/types.rb', line 6211

class S3Config < Struct.new(
  :path,
  :role_arn,
  :kms_key_arn)
  SENSITIVE = []
  include Aws::Structure
end

#pathString

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

Returns:

  • (String)


6211
6212
6213
6214
6215
6216
6217
# File 'gems/aws-sdk-forecastservice/lib/aws-sdk-forecastservice/types.rb', line 6211

class S3Config < Struct.new(
  :path,
  :role_arn,
  :kms_key_arn)
  SENSITIVE = []
  include Aws::Structure
end

#role_arnString

The ARN of the 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 Amazon Web Services accounts is not allowed. If you pass a role that isn't in your account, you get an InvalidInputException error.

Returns:

  • (String)


6211
6212
6213
6214
6215
6216
6217
# File 'gems/aws-sdk-forecastservice/lib/aws-sdk-forecastservice/types.rb', line 6211

class S3Config < Struct.new(
  :path,
  :role_arn,
  :kms_key_arn)
  SENSITIVE = []
  include Aws::Structure
end