AWS Windows Server CIS Image WinRm Connection timeout

I am trying to build AWS AMI using Packer and using the CIS Windows Server 2019 image [Bench mark 2].

Since the base CIS image is already OS hardened looks it disables all WinRM connection so my packer is timing out while trying to connect.

Any one had success with building Windows CIS image ?

I am using user data file that configures WinRM using self signed certs [this perfectly works with normal AWS market place Windows Server image]