You are viewing documentation for version 3 of the AWS SDK for Ruby. Version 2 documentation can be found here.

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,
}

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)


6836
6837
6838
6839
6840
6841
6842
# File 'gems/aws-sdk-opsworks/lib/aws-sdk-opsworks/types.rb', line 6836

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

#iam_user_arnString

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

Returns:

  • (String)


6836
6837
6838
6839
6840
6841
6842
# File 'gems/aws-sdk-opsworks/lib/aws-sdk-opsworks/types.rb', line 6836

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

#ssh_public_keyString

The user's new SSH public key.

Returns:

  • (String)


6836
6837
6838
6839
6840
6841
6842
# File 'gems/aws-sdk-opsworks/lib/aws-sdk-opsworks/types.rb', line 6836

class UpdateUserProfileRequest < Struct.new(
  :iam_user_arn,
  :ssh_username,
  :ssh_public_key,
  :allow_self_management)
  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)


6836
6837
6838
6839
6840
6841
6842
# File 'gems/aws-sdk-opsworks/lib/aws-sdk-opsworks/types.rb', line 6836

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