targetKeyId

@JvmName(name = "xqcfcwgnolrmvgaw")
suspend fun targetKeyId(value: Output<String>)
@JvmName(name = "ypncvmcfwvlnnbha")
suspend fun targetKeyId(value: String?)

Parameters

value

Associates the alias with the specified . The KMS key must be in the same AWS-account and Region. A valid key ID is required. If you supply a null or empty string value, this operation returns an error. For help finding the key ID and ARN, see Finding the key ID and ARN in the Developer Guide. Specify the key ID or the key ARN of the KMS key. For example:

  • Key ID: `1234abcd-12ab-34cd-56ef-1234567890ab`

  • Key ARN: `arn:aws:kms:us-east-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab` To get the key ID and key ARN for a KMS key, use ListKeys or DescribeKey.