class Aws::EC2Metadata::Token
@api private
def expired?
def expired? Time.now - @created_time > @ttl end
def initialize(options = {})
def initialize(options = {}) @ttl = options[:ttl] @value = options[:value] @created_time = options[:created_time] || Time.now end