class Aws::InstanceProfileCredentials::Token

def expired?

def expired?
  Time.now - @created_time > @ttl
end