[dynamo] using TaskAttribute as key