Integration - CDK Client
The Data Landing Zone exports SSM Parameters, enabling other repositories or IaC projects owned by Workload teams to reference resources created by the DLZ.
The CDK Client is a lightweight, type-safe wrapper that ensures SSM Parameter Keys are constructed correctly based on the provided function arguments.
The following example is from one of the Data Engineering team’s repositories. It demonstrates how the VPC ID can be referenced using the CDK Client. These function arguments corresponds with the resource names specified in the configuration passed to the Data Landing Zone.
Given the following DLZ configuration:
To reference the VPC ID of the VPC in the development
account’s eu-west-1
region, named default
, from the
Data Engineering team’s repository stack:
List of available functions
DataLandingZoneClient.vpcId
: Returns the VPC ID given the account name, region, and VPC name.DataLandingZoneClient.routeTableId
: Returns the Route Table ID given the account name, region, VPC name and Route Table name.DataLandingZoneClient.subnetId
: Returns the Route Table ID given the account name, region, VPC name, Route Table name and Subnet name.DataLandingZoneClient.bastionSecurityGroupId
: Returns the Bastion Security Group ID given the Bastion name.