code: def encrypt_with_kms(data, region, alias):
      """Encrypt the given data with KMS."""
      return AwsKms.encrypt(data, region=region, key_alias=alias)
  
file_path: streamalert/tests/unit/streamalert/alert_processor/helpers.py
imports: import random
  import boto3
  from streamalert.alert_processor.outputs.credentials.provider import LocalFileDriver
  from streamalert.shared.alert import Alert
  from streamalert.shared.helpers.aws_api_client import AwsKms, AwsSsm
label_desc: Use image node_id 5 for calling a global function with example usage: encrypt_with_kms(data, region, alias) and returns: AwsKms