Class: Chef::Provider::AwsIamRole
Constant Summary
Chef::Provisioning::AWSDriver::AWSProvider::AWSResource
Instance Attribute Summary
#purging
Instance Method Summary
collapse
#action_handler, #converge_by, #region, #whyrun_supported?
Instance Method Details
#action_create ⇒ Object
15
16
17
18
19
20
21
|
# File 'lib/chef/provider/aws_iam_role.rb', line 15
def action_create
role = super
if !new_resource.inline_policies.nil?
update_inline_policy(role)
end
end
|
#iam_client ⇒ Object
7
8
9
|
# File 'lib/chef/provider/aws_iam_role.rb', line 7
def iam_client
new_resource.driver.iam_client
end
|
#iam_resource ⇒ Object
11
12
13
|
# File 'lib/chef/provider/aws_iam_role.rb', line 11
def iam_resource
new_resource.driver.iam_resource
end
|