class Chef::Resource::AwsIamInstanceProfile
An AWS
IAM instance profile, a container for an IAM role that you can use to pass role information to an EC2 instance when the instance starts..
`name` is unique for an AWS
account.
API documentation for the AWS
Ruby SDK for IAM instance profiles (and the object returned from `aws_object`) can be found here:
Public Instance Methods
aws_object()
click to toggle source
# File lib/chef/resource/aws_iam_instance_profile.rb, line 30 def aws_object result = driver.iam_resource.instance_profile(name) result && result.exists? ? result : nil end