class Aws::InstanceProfileCredentials::Token
Token used to fetch IMDS profile and credentials
@api private
def expired?
def expired? Time.now - @created_time > @ttl end
def initialize(value, ttl, created_time = Time.now)
def initialize(value, ttl, created_time = Time.now) @ttl = ttl @value = value @created_time = created_time end