databricks_aws_utils

Databricks AWS Utils module

This module abstracts some Databricks AWS integration.

DatabrickAWSUtils Objects

class DatabrickAWSUtils(object)

Databricks AWS Integration Utils base class

This base class contains the boto3 session config and logger

Arguments:

  • aws_region str, optional - AWS region, default us-east-1
  • iam_role str, optional - IAM Role ARN, if specified assumes the IAM role to perform the AWS API calls
  • aws_access_key_id str, optional - Temporary AWS Access Key Id
  • aws_secret_access_key str, optional - Temporary AWS Secret Access Key
  • aws_session_token str, optional - Temporary AWS Session Token

If no args are passed to this class uses the default boto3 session

Attributes:

  • logger Logger - logger instance
  • session boto3.Session - boto3 session