Exposing RDSCluster ARN and secret as env. Aurora Serverless

Hi everyone, Im trying to reference a RDS Aurora Serverless arn and secret to use it in a lambda function exposed as an env variable. I will use it with https://github.com/ArsenyYankovsky/typeorm-aurora-data-api-driver later. I’m not able to find a reliable way of doing this.

Should I link it using the serverless.yml file? Or I should use RDS API inside Lambda and get arn and secret that way?

provider:
  name: aws
  runtime: nodejs12.x
  stage: dev
  environment:
    RDS: "#{RDSCluster.Endpoint.Address}"
    RDSClusterARN: ################ Goes here ###############
    RDSClusterSecret: ############### Goes here ###############

resources:
      Resources:
        RDSCluster:
          Type: AWS::RDS::DBCluster
          Properties:
            EnableHttpEndpoint: true
            MasterUsername: name
            MasterUserPassword: pass
            DatabaseName: name
            Engine: aurora-postgresql
            EngineMode: serverless
            BackupRetentionPeriod: 1