It's possible the Console is doing some work for you that you will need to explicitly define in your Pulumi app.
When trying to replicate a solution from AWS I typically look for the related AWS documentation that shows how to achieve something via the API and that's easier to replicate to Pulumi. If you can share the AWS doc link that describes what you're doing, I can try to point you in the right direction in Pulumi's docs.