AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

Class: Aws::OpsWorks::Types::UpdateUserProfileRequest

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-opsworks/lib/aws-sdk-opsworks/types.rb

Overview

Note:

When making an API call, you may pass UpdateUserProfileRequest data as a hash:

{
  iam_user_arn: "String", # required
  ssh_username: "String",
  ssh_public_key: "String",
  allow_self_management: false,
}

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#allow_self_managementBoolean

Whether users can specify their own SSH public key through the My Settings page. For more information, see Managing User Permissions.

Returns:

  • (Boolean)


7133
7134
7135
7136
7137
7138
7139
7140
# File 'gems/aws-sdk-opsworks/lib/aws-sdk-opsworks/types.rb', line 7133

class UpdateUserProfileRequest < Struct.new(
  :iam_user_arn,
  :ssh_username,
  :ssh_public_key,
  :allow_self_management)
  SENSITIVE = []
  include Aws::Structure
end

#iam_user_arnString

The user IAM ARN. This can also be a federated user's ARN.

Returns:

  • (String)


7133
7134
7135
7136
7137
7138
7139
7140
# File 'gems/aws-sdk-opsworks/lib/aws-sdk-opsworks/types.rb', line 7133

class UpdateUserProfileRequest < Struct.new(
  :iam_user_arn,
  :ssh_username,
  :ssh_public_key,
  :allow_self_management)
  SENSITIVE = []
  include Aws::Structure
end

#ssh_public_keyString

The user's new SSH public key.

Returns:

  • (String)


7133
7134
7135
7136
7137
7138
7139
7140
# File 'gems/aws-sdk-opsworks/lib/aws-sdk-opsworks/types.rb', line 7133

class UpdateUserProfileRequest < Struct.new(
  :iam_user_arn,
  :ssh_username,
  :ssh_public_key,
  :allow_self_management)
  SENSITIVE = []
  include Aws::Structure
end

#ssh_usernameString

The user's SSH user name. The allowable characters are [a-z], [A-Z], [0-9], '-', and '_'. If the specified name includes other punctuation marks, AWS OpsWorks Stacks removes them. For example, my.name will be changed to myname. If you do not specify an SSH user name, AWS OpsWorks Stacks generates one from the IAM user name.

Returns:

  • (String)


7133
7134
7135
7136
7137
7138
7139
7140
# File 'gems/aws-sdk-opsworks/lib/aws-sdk-opsworks/types.rb', line 7133

class UpdateUserProfileRequest < Struct.new(
  :iam_user_arn,
  :ssh_username,
  :ssh_public_key,
  :allow_self_management)
  SENSITIVE = []
  include Aws::Structure
end