pulumi / pulumi-awsx

AWS infrastructure best practices in component form!
https://www.pulumi.com/docs/guides/crosswalk/aws/
Apache License 2.0
223 stars 104 forks source link

Improve intellisense on Cloudtrail Trail resource #876

Open pierskarsenbarg opened 2 years ago

pierskarsenbarg commented 2 years ago

Hello!

Issue details

Currently, it's hard to see what you need to import to get intellisense under the CloudTrail.Trail resource.

The following works:

trail = awsx.cloudtrail.Trail("trail",
    s3_bucket={
        "args": {
            "serverSideEncryptionConfiguration": {
                "rule": {
                    "applyServerSideEncryptionByDefault": {
                        "sseAlgorithm": "AES256"
                    }
                }
        }
    }
    }
)

but there aren't any examples and the docs don't help in showing how to get the "strongly typed" code working

Affected area/feature

CloudTrail.Trail resource

pierskarsenbarg commented 2 years ago

This is for the v1 beta