braket.jobs.local.local_job_container_setup module

braket.jobs.local.local_job_container_setup.setup_container(container: _LocalJobContainer, aws_session: AwsSession, **creation_kwargs: str) dict[str, str][source]

Sets up a container with prerequisites for running a Braket Hybrid Job. The prerequisites are based on the options the customer has chosen for the hybrid job. Similarly, any environment variables that are needed during runtime will be returned by this function.

Parameters:
  • container (_LocalJobContainer) – The container that will run the braket hybrid job.

  • aws_session (AwsSession) – AwsSession for connecting to AWS Services.

  • **creation_kwargs (str) – Arbitrary keyword arguments.

Returns:

dict[str, str] – A dictionary of environment variables that reflect Braket Hybrid Jobs options requested by the customer.