{"action":"closed","issue":{"url":"https://api.github.com/repos/aws/aws-sdk-ruby/issues/809","labels_url":"https://api.github.com/repos/aws/aws-sdk-ruby/issues/809/labels{/name}","comments_url":"https://api.github.com/repos/aws/aws-sdk-ruby/issues/809/comments","events_url":"https://api.github.com/repos/aws/aws-sdk-ruby/issues/809/events","html_url":"https://github.com/aws/aws-sdk-ruby/issues/809","id":73768634,"number":809,"title":"Aws::EC2::Resource","user":{"login":"rustyautopsy","id":2482644,"avatar_url":"https://avatars.githubusercontent.com/u/2482644?v=3","gravatar_id":"","url":"https://api.github.com/users/rustyautopsy","html_url":"https://github.com/rustyautopsy","followers_url":"https://api.github.com/users/rustyautopsy/followers","following_url":"https://api.github.com/users/rustyautopsy/following{/other_user}","gists_url":"https://api.github.com/users/rustyautopsy/gists{/gist_id}","starred_url":"https://api.github.com/users/rustyautopsy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rustyautopsy/subscriptions","organizations_url":"https://api.github.com/users/rustyautopsy/orgs","repos_url":"https://api.github.com/users/rustyautopsy/repos","events_url":"https://api.github.com/users/rustyautopsy/events{/privacy}","received_events_url":"https://api.github.com/users/rustyautopsy/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-05-06T23:26:07Z","updated_at":"2015-05-07T17:37:56Z","closed_at":"2015-05-07T17:37:56Z","body":"Can you please give me hand with the following...\r\n\r\nresource = Aws::EC2::Resource.new(client: connection)\r\n    instance = resource.create_instances(\r\n        {\r\n            image_id: image_id,\r\n            key_name: \"rubysdk-key\",\r\n            max_count: 1,\r\n            min_count: 1,\r\n            instance_type: \"t2.micro\",\r\n            subnet_id: subnet_id,\r\n            iam_instance_profile: {\"name\" => \"test\"},\r\n......\r\n\r\nWhat do I pass to iam_instance_profile?\r\n\r\nDocs say it is a hash \":iam_instance_profile (Hash) — The IAM instance profile.\"\r\n\r\nWhat values make up the hash?\r\n\r\nThanks in advance.\r\n\r\n\r\n"}}