Skip to content

yggdrasil.aws.console

console

AWS Console deep-link builders.

explore_url on the AWS client / account / S3 resources returns one of these — a clickable Console URL so you can jump from a Python repl / notebook straight to the bucket, object, or account home in the browser. Partition-aware (commercial aws, GovCloud aws-us-gov, China aws-cn) since the Console lives on a different domain in each.

account_console_url

account_console_url(region: Optional[str] = None) -> URL

Console home for the account, pinned to region when known.

s3_bucket_url

s3_bucket_url(bucket: str, region: Optional[str] = None) -> URL

Console view of an S3 bucket's object list.

batch_job_url

batch_job_url(job_id: str, region: Optional[str] = None) -> URL

Console deep-link to an AWS Batch job's detail page.

s3_object_url

s3_object_url(bucket: str, key: str, region: Optional[str] = None) -> URL

Console view focused on an S3 object (or prefix) — the Console uses the prefix query param to scroll to / highlight the key.