Fugue.AWS.KMS.Key

Module Members

external

(Function)

Create a reference to an externally managed Key.

Example usage:

key: KMS.Key.external("86d67225-5385-412c-9a4e-cec4823f341f", AWS.Us-east-1)

Type Signature

 fun (String, Region) -> Key
Argument: uuid
Type: String
Argument: region

The Region containing the target Key.

Type: Region

Returns:

A reference to the target Key.

Type: Key

region

(Function)

Retrieve the region from a KMS Key value.

Works for KMS Keys defined in the composition as well external values.

Example usage:

key1: KMS.Key.external("86d67225-5385-412c-9a4e-cec4823f341f", AWS.Us-east-1)
region1: KMS.Key.region(key1) # => AWS.Us-east-1

Type Signature

 fun (Key) -> Region
Argument: key
Type: Key
Returns:

The region containing the vpc.

Type: Region