origin

@JvmName(name = "oinptfrqacyoegmt")
suspend fun origin(value: Output<Either<String, Origin>>)
@JvmName(name = "mgftdtppecwplgfw")
suspend fun origin(value: Either<String, Origin>?)
@JvmName(name = "nvenpawychaluqbf")
fun origin(value: String)
@JvmName(name = "seldobbkhrbdppyn")
fun origin(value: Origin)

Parameters

value

The source of the key material for the KMS key. You cannot change the origin after you create the KMS key. The default is `AWS_KMS`, which means that KMS creates the key material. To create a KMS key with no key material (for imported key material), set this value to `EXTERNAL`. For more information about importing key material into KMS, see Importing Key Material in the Developer Guide. You can ignore `ENABLED` when Origin is `EXTERNAL`. When a KMS key with Origin `EXTERNAL` is created, the key state is `PENDING_IMPORT` and `ENABLED` is `false`. After you import the key material, `ENABLED` updated to `true`. The KMS key can then be used for Cryptographic Operations. CFN doesn't support creating an `Origin` parameter of the `AWS_CLOUDHSM` or `EXTERNAL_KEY_STORE` values.