Update Encryption Key
| inspector2_update_encryption_key | R Documentation | 
Updates an encryption key¶
Description¶
Updates an encryption key. A ResourceNotFoundException means that an
Amazon Web Services owned key is being used for encryption.
Usage¶
inspector2_update_encryption_key(kmsKeyId, resourceType, scanType)
Arguments¶
| kmsKeyId | [required] A KMS key ID for the encryption key. | 
| resourceType | [required] The resource type for the encryption key. | 
| scanType | [required] The scan type for the encryption key. | 
Value¶
An empty list.
Request syntax¶
svc$update_encryption_key(
  kmsKeyId = "string",
  resourceType = "AWS_EC2_INSTANCE"|"AWS_ECR_CONTAINER_IMAGE"|"AWS_ECR_REPOSITORY"|"AWS_LAMBDA_FUNCTION",
  scanType = "NETWORK"|"PACKAGE"|"CODE"
)