Struct rusoto_opsworks::SetPermissionRequest [−][src]
pub struct SetPermissionRequest { pub allow_ssh: Option<bool>, pub allow_sudo: Option<bool>, pub iam_user_arn: String, pub level: Option<String>, pub stack_id: String, }
Fields
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.
iam_user_arn: String
The user's IAM ARN. This can also be a federated user's ARN.
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 on the permissions associated with these levels, see Managing User Permissions.
stack_id: String
The stack ID.
Trait Implementations
impl Default for SetPermissionRequest
[src]
impl Default for SetPermissionRequest
fn default() -> SetPermissionRequest
[src]
fn default() -> SetPermissionRequest
Returns the "default value" for a type. Read more
impl Debug for SetPermissionRequest
[src]
impl Debug for SetPermissionRequest
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Clone for SetPermissionRequest
[src]
impl Clone for SetPermissionRequest
fn clone(&self) -> SetPermissionRequest
[src]
fn clone(&self) -> SetPermissionRequest
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl PartialEq for SetPermissionRequest
[src]
impl PartialEq for SetPermissionRequest
fn eq(&self, other: &SetPermissionRequest) -> bool
[src]
fn eq(&self, other: &SetPermissionRequest) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &SetPermissionRequest) -> bool
[src]
fn ne(&self, other: &SetPermissionRequest) -> bool
This method tests for !=
.
Auto Trait Implementations
impl Send for SetPermissionRequest
impl Send for SetPermissionRequest
impl Sync for SetPermissionRequest
impl Sync for SetPermissionRequest