class Aws::InstanceProfileCredentials
def resolve_disable_v1(options)
def resolve_disable_v1(options) value = options[:disable_imds_v1] value ||= ENV['AWS_EC2_METADATA_V1_DISABLED'] value ||= Aws.shared_config.ec2_metadata_v1_disabled( profile: options[:profile] ) value = value.to_s.downcase if value Aws::Util.str_2_bool(value) || false end