#[non_exhaustive]pub struct SetPermissionInput {
pub stack_id: Option<String>,
pub iam_user_arn: Option<String>,
pub allow_ssh: Option<bool>,
pub allow_sudo: Option<bool>,
pub level: Option<String>,
}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.stack_id: Option<String>The stack ID.
iam_user_arn: Option<String>The user's IAM ARN. This can also be a federated user's ARN.
allow_ssh: Option<bool>The user is allowed to use SSH to communicate with the instance.
allow_sudo: Option<bool>The user is allowed to use sudo to elevate privileges.
level: Option<String>The user's permission level, which must be set to one of the following strings. You cannot set your own permissions level.
-
deny -
show -
deploy -
manage -
iam_only
For more information about the permissions associated with these levels, see Managing User Permissions.
Implementations§
source§impl SetPermissionInput
impl SetPermissionInput
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 allow_ssh(&self) -> Option<bool>
pub fn allow_ssh(&self) -> Option<bool>
The user is allowed to use SSH to communicate with the instance.
sourcepub fn allow_sudo(&self) -> Option<bool>
pub fn allow_sudo(&self) -> Option<bool>
The user is allowed to use sudo to elevate privileges.
sourcepub fn level(&self) -> Option<&str>
pub fn level(&self) -> Option<&str>
The user's permission level, which must be set to one of the following strings. You cannot set your own permissions level.
-
deny -
show -
deploy -
manage -
iam_only
For more information about the permissions associated with these levels, see Managing User Permissions.
source§impl SetPermissionInput
impl SetPermissionInput
sourcepub fn builder() -> SetPermissionInputBuilder
pub fn builder() -> SetPermissionInputBuilder
Creates a new builder-style object to manufacture SetPermissionInput.
Trait Implementations§
source§impl Clone for SetPermissionInput
impl Clone for SetPermissionInput
source§fn clone(&self) -> SetPermissionInput
fn clone(&self) -> SetPermissionInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for SetPermissionInput
impl Debug for SetPermissionInput
source§impl PartialEq for SetPermissionInput
impl PartialEq for SetPermissionInput
source§fn eq(&self, other: &SetPermissionInput) -> bool
fn eq(&self, other: &SetPermissionInput) -> bool
self and other values to be equal, and is used
by ==.