Struct rusoto_opsworks::Permission [−][src]
pub struct Permission { pub allow_ssh: Option<bool>, pub allow_sudo: Option<bool>, pub iam_user_arn: Option<String>, pub level: Option<String>, pub stack_id: Option<String>, }
Describes stack or user permissions.
Fields
allow_ssh: Option<bool>
Whether the user can use SSH.
allow_sudo: Option<bool>
Whether the user can use sudo.
iam_user_arn: Option<String>
The Amazon Resource Name (ARN) for an AWS Identity and Access Management (IAM) role. For more information about IAM ARNs, see Using Identifiers.
level: Option<String>
The user's permission level, which must be the following:
-
deny
-
show
-
deploy
-
manage
-
iam_only
For more information on the permissions associated with these levels, see Managing User Permissions
stack_id: Option<String>
A stack ID.
Trait Implementations
impl Default for Permission
[src]
impl Default for Permission
fn default() -> Permission
[src]
fn default() -> Permission
Returns the "default value" for a type. Read more
impl Debug for Permission
[src]
impl Debug for Permission
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 Permission
[src]
impl Clone for Permission
fn clone(&self) -> Permission
[src]
fn clone(&self) -> Permission
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 Permission
[src]
impl PartialEq for Permission
fn eq(&self, other: &Permission) -> bool
[src]
fn eq(&self, other: &Permission) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Permission) -> bool
[src]
fn ne(&self, other: &Permission) -> bool
This method tests for !=
.
Auto Trait Implementations
impl Send for Permission
impl Send for Permission
impl Sync for Permission
impl Sync for Permission