code: def get_default_cf_parameter(
      deployment_object: DeterminedDeployment, parameter: str
  ) -> Any:
      y = yaml.YAML(typ="safe", pure=True)
      y.Constructor = IgnoreUnknownTagConstructor
      with open(deployment_object.template_path) as fin:
          data = y.load(fin)
  
      return data["Parameters"][parameter]["Default"]
  
file_path: determined/harness/determined/deploy/aws/preflight.py
imports: import re
  import sys
  from typing import Any, Dict
  import boto3
  import pkg_resources
  from botocore.exceptions import ClientError
  from termcolor import colored
  from determined.common import util, yaml
  from determined.deploy.aws import constants
  from determined.deploy.errors import PreflightFailure
  from .deployment_types.base import DeterminedDeployment
label_desc: Use image node_id 3 for calling a global function with example usage: get_default_cf_parameter(deployment_object, parameter) and returns: data