#[non_exhaustive]pub struct CreateUserProfileInput {
pub iam_user_arn: Option<String>,
pub ssh_username: Option<String>,
pub ssh_public_key: Option<String>,
pub allow_self_management: Option<bool>,
}Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.iam_user_arn: Option<String>The user's IAM ARN; this can also be a federated user's ARN.
ssh_username: Option<String>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.
ssh_public_key: Option<String>The user's public SSH key.
allow_self_management: Option<bool>Whether users can specify their own SSH public key through the My Settings page. For more information, see Setting an IAM User's Public SSH Key.
Implementations§
source§impl CreateUserProfileInput
impl CreateUserProfileInput
sourcepub fn iam_user_arn(&self) -> Option<&str>
pub fn iam_user_arn(&self) -> Option<&str>
The user's IAM ARN; this can also be a federated user's ARN.
sourcepub fn ssh_username(&self) -> Option<&str>
pub fn ssh_username(&self) -> Option<&str>
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.
sourcepub fn ssh_public_key(&self) -> Option<&str>
pub fn ssh_public_key(&self) -> Option<&str>
The user's public SSH key.
sourcepub fn allow_self_management(&self) -> Option<bool>
pub fn allow_self_management(&self) -> Option<bool>
Whether users can specify their own SSH public key through the My Settings page. For more information, see Setting an IAM User's Public SSH Key.
source§impl CreateUserProfileInput
impl CreateUserProfileInput
sourcepub fn builder() -> CreateUserProfileInputBuilder
pub fn builder() -> CreateUserProfileInputBuilder
Creates a new builder-style object to manufacture CreateUserProfileInput.
Trait Implementations§
source§impl Clone for CreateUserProfileInput
impl Clone for CreateUserProfileInput
source§fn clone(&self) -> CreateUserProfileInput
fn clone(&self) -> CreateUserProfileInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for CreateUserProfileInput
impl Debug for CreateUserProfileInput
source§impl PartialEq<CreateUserProfileInput> for CreateUserProfileInput
impl PartialEq<CreateUserProfileInput> for CreateUserProfileInput
source§fn eq(&self, other: &CreateUserProfileInput) -> bool
fn eq(&self, other: &CreateUserProfileInput) -> bool
self and other values to be equal, and is used
by ==.