PARALLAX

glue_connection

Manage an AWS Glue connection

Collection: community.aws

Full Name: community.aws.glue_connection

Synopsis

Manage an AWS Glue connection

Parameters

NameTypeRequiredDefaultDescription
access_keystr
availability_zonestr
aws_ca_bundlepath
aws_configdict
catalog_idstr
connection_propertiesdict
connection_typestrJDBC
debug_botocore_endpoint_logsboolfalse
descriptionstr
endpoint_urlstr
match_criterialist
namestryes
profilestr
regionstr
secret_keystr
security_groupslist
session_tokenstr
statestryes
subnet_idstr
validate_certsbooltrue

Example

yaml
# Create an AWS Glue connection
- name: Manage an AWS Glue connection
  community.aws.glue_connection:
    name: my-glue-connection
    connection_properties:
        JDBC_CONNECTION_URL: jdbc:mysql://mydb:3306/databasename
        USERNAME: my-username
        PASSWORD: my-password
    state: present

# Create an AWS Glue network connection
- name: Manage an AWS Glue connection
  community.aws.glue_connection:
    name: my-glue-network-connection
    availability_zone: us-east-1a
    connection_properties:
        JDBC_ENFORCE_SSL: "false"
    connection_type: NETWORK
    description: Test connection
    security_groups:
        - sg-glue
    subnet_id: subnet-123abc
    state: present

# Delete an AWS Glue connection
- name: Manage an AWS Glue connection
  community.aws.glue_connection:
    name: my-glue-connection
    state: absent
Search
    ↑ ↓ move↵ openesc close