add iam role support for s3 input

add support iam role for s3 input