Class: Ec2Meta::Api20140225::MetaData::Iam
- Inherits:
-
Ec2Meta::Api::Path
- Object
- Ec2Meta::Api::Path
- Ec2Meta::Api20140225::MetaData::Iam
- Defined in:
- lib/ec2_meta/apis/2014_02_25/meta_data.rb
Instance Attribute Summary
Attributes inherited from Ec2Meta::Api::Path
Instance Method Summary collapse
-
#info ⇒ Object
Fetch ‘iam/info’.
-
#security_credentials(role_name) ⇒ Object
Fetch ‘iam/security-credentials/#role_name’.
Methods inherited from Ec2Meta::Api::Path
Constructor Details
This class inherits a constructor from Ec2Meta::Api::Path
Instance Method Details
#info ⇒ Object
Fetch ‘iam/info’
39 40 41 |
# File 'lib/ec2_meta/apis/2014_02_25/meta_data.rb', line 39 def info fetch('info') end |
#security_credentials(role_name) ⇒ Object
Fetch ‘iam/security-credentials/#role_name’
44 45 46 |
# File 'lib/ec2_meta/apis/2014_02_25/meta_data.rb', line 44 def security_credentials(role_name) fetch("security-credentials/#{role_name}") end |