Python dictionaries don’t have the same syntax as ...
# python
i
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
)