https://pulumi.com logo
#python
Title
# python
i

incalculable-sundown-82514

10/25/2018, 4:54 PM
Python dictionaries don’t have the same syntax as JavaScript ones - you can’t use bare identifiers as keys in Python maps. In this case, though, we generally project property bags like this one as keyword arguments in Python - if you look at the aws-py-webserver example, you can see that we’re passing property arguments as keyword arguments to resource constructors (like
ec2.Instance
)