EC2Hook
AmazonInteract with Amazon Elastic Compute Cloud (EC2). Provide thick wrapper around boto3.client("ec2")
or boto3.resource("ec2")
.
Access Instructions
Install the Amazon provider package into your Airflow environment.
Import the module into your DAG file and instantiate it with your desired params.
Parameters
api_typeIf set to client_type then hook use boto3.client("ec2") capabilities, If set to resource_type then hook use boto3.resource("ec2") capabilities.
Documentation
Interact with Amazon Elastic Compute Cloud (EC2). Provide thick wrapper around boto3.client("ec2")
or boto3.resource("ec2")
.
Additional arguments (such as aws_conn_id
) may be specified and are passed down to the underlying AwsBaseHook.