Skip to content

/AWS1/CL_FCSENCRYPTIONCONFIG

An Key Management Service (KMS) key and an Identity and Access Management (IAM) role that Amazon Forecast can assume to access the key. You can specify this optional object in the CreateDataset and CreatePredictor requests.

CONSTRUCTOR

IMPORTING

Required arguments:

IV_ROLEARN TYPE /AWS1/FCSARN /AWS1/FCSARN

The ARN of the IAM role that Amazon Forecast can assume to access the KMS 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.

IV_KMSKEYARN TYPE /AWS1/FCSKMSKEYARN /AWS1/FCSKMSKEYARN

The Amazon Resource Name (ARN) of the KMS key.


Queryable Attributes

RoleArn

The ARN of the IAM role that Amazon Forecast can assume to access the KMS 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.

Accessible with the following methods

Method Description
GET_ROLEARN() Getter for ROLEARN, with configurable default
ASK_ROLEARN() Getter for ROLEARN w/ exceptions if field has no value
HAS_ROLEARN() Determine if ROLEARN has a value

KMSKeyArn

The Amazon Resource Name (ARN) of the KMS key.

Accessible with the following methods

Method Description
GET_KMSKEYARN() Getter for KMSKEYARN, with configurable default
ASK_KMSKEYARN() Getter for KMSKEYARN w/ exceptions if field has no value
HAS_KMSKEYARN() Determine if KMSKEYARN has a value