fix(glue): add getters for connection attributes (#4445)

This commit is contained in:
Pedro Martín
2024-07-15 14:51:01 +02:00
committed by GitHub
parent 37ade2a722
commit b868d1a7fe
@@ -42,9 +42,9 @@ class Glue(AWSService):
self.connections.append(
Connection(
arn=arn,
name=conn["Name"],
type=conn["ConnectionType"],
properties=conn["ConnectionProperties"],
name=conn.get("Name", ""),
type=conn.get("ConnectionType", ""),
properties=conn.get("ConnectionProperties", {}),
region=regional_client.region,
)
)