EC2 > Dictionaries > UserDataDict UserDataDict¶ Dictionary Type¶ UserDataDict ¶ Bases: TypedDict Dictionary form of UserData. Attributes¶ data instance-attribute ¶ data: str | None The user data. If you are using an Amazon Web Services SDK or command line tool, Base64-encoding is performed for you, and you can load the text from a file. Otherwise, you must provide Base64-encoded text.