Property Paths
Property paths represent a key or series of keys that one can use to refer to elements in an object or array.
The syntax, inspired by JavaScript, supports both dot notation and bracket notation.
For keys that contain special characters (i.e. [, ], ", or .) or begin with a digit,
bracket notation is required.
Below are some example property paths:
rootroot.nestedroot["nested"]root.double.nestroot["double"].nestroot["double"]["nest"]root.array[0]root.array[100]root.array[0].nestedroot.array[0][1].nestedroot.nested.array[0].double[1]root["key with \"escaped\" quotes"]root["key with a ."]["root key with \"escaped\" quotes"].nested["root key with a ."][100]root.array[*].fieldroot.array["*"].field
Used in
Property paths are used in the following Pulumi features (this list is not exhaustive):
ignoreChangesresource optionreplaceOnChangesresource optionhideDiffsresource optionpulumi config set --pathflag- ESC interpolations and references
- Insights resource search
Thank you for your feedback!
If you have a question about how to use Pulumi, reach out in Community Slack.
Open an issue on GitHub to report a problem or suggest an improvement.