from typing import Dict
from typing import Any


def CreateTags(resource: str, tags: Dict[str, str]) -> Dict[str, Any]:
  """Create AWS Tag Specifications.

  Args:
    resource (str): The type of AWS resource.
    tags (Dict[str, str]): A dictionary of tags to add to the resource.

  Returns:
    Dict[str, Any]: A dictionary for AWS Tag Specifications.
  """

  tag_specifications = {
      'ResourceType': resource,
      'Tags': []
  }  # type: Dict[str, Any]
  for tag in tags:
    tag_specifications['Tags'].append({
        'Key': tag,
        'Value': tags[tag]
    })
  return tag_specifications