code: def get_cf_parameter(
      det_config: Dict[str, Any],
      deployment_object: DeterminedDeployment,
      parameter: str,
  ) -> Any:
      if det_config[parameter] is not None:
          return det_config[parameter]
  
      return get_default_cf_parameter(deployment_object, parameter)
  
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 4 for calling a global function with example usage: get_cf_parameter(det_config, deployment_object, parameter) and returns: get_default_cf_parameter, det_config