Class: AwsIamUser
- Inherits:
-
Object
- Object
- AwsIamUser
- Includes:
- AwsSingularResourceMixin
- Defined in:
- lib/resources/aws/aws_iam_user.rb
Overview
author: Alex Bedley author: Steffanie Freeman author: Simon Varlow author: Chris Redekop
Defined Under Namespace
Classes: Backend
Instance Attribute Summary collapse
-
#access_keys ⇒ Object
readonly
Returns the value of attribute access_keys.
-
#has_console_password ⇒ Object
(also: #has_console_password?)
readonly
Returns the value of attribute has_console_password.
-
#has_mfa_enabled ⇒ Object
(also: #has_mfa_enabled?)
readonly
Returns the value of attribute has_mfa_enabled.
-
#username ⇒ Object
readonly
Returns the value of attribute username.
Instance Method Summary collapse
Methods included from AwsSingularResourceMixin
Methods included from AwsResourceMixin
#catch_aws_errors, #check_resource_param_names, #initialize, #inspec_runner
Instance Attribute Details
#access_keys ⇒ Object (readonly)
Returns the value of attribute access_keys.
17 18 19 |
# File 'lib/resources/aws/aws_iam_user.rb', line 17 def access_keys @access_keys end |
#has_console_password ⇒ Object (readonly) Also known as: has_console_password?
Returns the value of attribute has_console_password.
17 18 19 |
# File 'lib/resources/aws/aws_iam_user.rb', line 17 def has_console_password @has_console_password end |
#has_mfa_enabled ⇒ Object (readonly) Also known as: has_mfa_enabled?
Returns the value of attribute has_mfa_enabled.
17 18 19 |
# File 'lib/resources/aws/aws_iam_user.rb', line 17 def has_mfa_enabled @has_mfa_enabled end |
#username ⇒ Object (readonly)
Returns the value of attribute username.
17 18 19 |
# File 'lib/resources/aws/aws_iam_user.rb', line 17 def username @username end |
Instance Method Details
#name ⇒ Object
21 22 23 24 |
# File 'lib/resources/aws/aws_iam_user.rb', line 21 def name warn "[DEPRECATION] - Property ':name' is deprecated on the aws_iam_user resource. Use ':username' instead." username end |
#to_s ⇒ Object
26 27 28 |
# File 'lib/resources/aws/aws_iam_user.rb', line 26 def to_s "IAM User #{username}" end |