airflow.providers.amazon.aws.links.ec2

Classes

EC2InstanceLink

Helper class for constructing Amazon EC2 instance links.

EC2InstanceDashboardLink

Helper class for constructing Amazon EC2 console links.

Module Contents

Bases: airflow.providers.amazon.aws.links.base_aws.BaseAwsLink

Helper class for constructing Amazon EC2 instance links.

name = 'Instance'[source]

Name of the link. This will be the button name on the task UI.

key = '_instance_id'[source]
format_str = 'https://console.{aws_domain}/ec2/home?region={region_name}#InstanceDetails:instanceId={instance_id}'[source]

Bases: airflow.providers.amazon.aws.links.base_aws.BaseAwsLink

Helper class for constructing Amazon EC2 console links.

This is useful for displaying the list of EC2 instances, rather than a single instance.

name = 'EC2 Instances'[source]

Name of the link. This will be the button name on the task UI.

key = '_instance_dashboard'[source]
format_str = 'https://console.{aws_domain}/ec2/home?region={region_name}#Instances:instanceId=:{instance_ids}'[source]
static format_instance_id_filter(instance_ids)[source]

Was this entry helpful?