Skip to main content

kms_encryption_keys

Creates, updates, deletes, gets or lists a kms_encryption_keys resource.

Overview

Namekms_encryption_keys
TypeResource
Idaws.frauddetector.kms_encryption_keys

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
kms_encryption_key_arnstringThe encryption key ARN. (pattern: <code>^DEFAULT|arn:[a-zA-Z0-9-]+:kms:[a-zA-Z0-9-]+:\d{12}:key/\w{8}-\w{4}-\w{4}-\w{4}-\w{12}$</code>)

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_kms_encryption_keyselectregionGets the encryption key if a KMS key has been specified to be used to encrypt content in Amazon Fraud Detector.
put_kms_encryption_keyreplaceregion, kmsEncryptionKeyArnSpecifies the KMS key to be used to encrypt content in Amazon Fraud Detector.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
regionstringAWS region (default: us-east-1)

SELECT examples

Gets the encryption key if a KMS key has been specified to be used to encrypt content in Amazon Fraud Detector.

SELECT
kms_encryption_key_arn
FROM aws.frauddetector.kms_encryption_keys
WHERE region = '{{ region }}' -- required
;

REPLACE examples

Specifies the KMS key to be used to encrypt content in Amazon Fraud Detector.

REPLACE aws.frauddetector.kms_encryption_keys
SET
kmsEncryptionKeyArn = '{{ kmsEncryptionKeyArn }}'
WHERE
region = '{{ region }}' --required
AND kmsEncryptionKeyArn = '{{ kmsEncryptionKeyArn }}' --required;