Hi Sandeep,
Unlike replication instances, AWS DMS Serverless replications do not have a public IP address for management tasks. You manage serverless replications using the console.
AWS DMS serverless does not support all the source and target endpoint types that AWS DMS standard supports.
DMS Serverless doesn't support SSL connections for DB2 endpoints.
https://docs.aws.amazon.com/dms/latest/userguide/CHAP_Serverless.Limitations.html#:~:text=Unlike%20replication%20instances%2C%20AWS%20DMS,that%20AWS%20DMS%20standard%20supports.