**To create a connection for AWS Glue data stores** The following ``create-connection`` example creates a connection in the AWS Glue Data Catalog that provides connection information for a Kafka data store. :: aws glue create-connection \ --connection-input '{ \ "Name":"conn-kafka-custom", \ "Description":"kafka connection with ssl to custom kafka", \ "ConnectionType":"KAFKA", \ "ConnectionProperties":{ \ "KAFKA_BOOTSTRAP_SERVERS":"<Kafka-broker-server-url>:<SSL-Port>", \ "KAFKA_SSL_ENABLED":"true", \ "KAFKA_CUSTOM_CERT": "s3://bucket/prefix/cert-file.pem" \ }, \ "PhysicalConnectionRequirements":{ \ "SubnetId":"subnet-1234", \ "SecurityGroupIdList":["sg-1234"], \ "AvailabilityZone":"us-east-1a"} \ }' \ --region us-east-1 --endpoint https://glue.us-east-1.amazonaws.com This command produces no output. For more information, see `Defining Connections in the AWS Glue Data Catalog <https://docs.aws.amazon.com/glue/latest/dg/populate-add-connection.html>`__ in the *AWS Glue Developer Guide*.
Name | Type | Size | Permission | Actions |
---|---|---|---|---|
batch-stop-job-run.rst | File | 1.16 KB | 0644 |
|
create-connection.rst | File | 1.21 KB | 0644 |
|
create-database.rst | File | 509 B | 0644 |
|
create-job.rst | File | 4.07 KB | 0644 |
|
create-table.rst | File | 3.9 KB | 0644 |
|
delete-job.rst | File | 406 B | 0644 |
|
get-databases.rst | File | 2.65 KB | 0644 |
|
get-job-run.rst | File | 1.5 KB | 0644 |
|
get-job-runs.rst | File | 3.96 KB | 0644 |
|
get-job.rst | File | 1.09 KB | 0644 |
|
get-plan.rst | File | 4.6 KB | 0644 |
|
get-tables.rst | File | 4.88 KB | 0644 |
|
start-crawler.rst | File | 297 B | 0644 |
|
start-job-run.rst | File | 396 B | 0644 |
|