Class: AWS::IAM::Resource
- Inherits:
-
Core::Resource
- Object
- Core::Resource
- AWS::IAM::Resource
- Defined in:
- lib/aws/iam/resource.rb
Direct Known Subclasses
AccessKey, Group, LoginProfile, ServerCertificate, SigningCertificate, User, UserPolicy, VirtualMfaDevice
Instance Method Summary collapse
-
#exists? ⇒ Boolean
Returns
true
if the resource exists.
Instance Method Details
#exists? ⇒ Boolean
Returns true
if the resource exists.
19 20 21 22 23 24 |
# File 'lib/aws/iam/resource.rb', line 19 def exists? get_resource true rescue Errors::NoSuchEntity => e false end |