Duration in seconds after the attribute value at which the document will be considered as expired.
An array containing exactly one attribute path.
Optional inIf set to true, the index will be created in the background to reduce
the write-lock duration for the collection during index creation.
Default: false
Optional name?: stringA unique name for this index.
Type of this index.
Options for creating a TTL index.