[][src]Struct rusoto_opsworks::SetPermissionRequest

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 about the permissions associated with these levels, see Managing User Permissions.

stack_id: String

The stack ID.

Trait Implementations

impl PartialEq<SetPermissionRequest> for SetPermissionRequest[src]

impl Clone for SetPermissionRequest[src]

fn clone_from(&mut self, source: &Self)
1.0.0
[src]

Performs copy-assignment from source. Read more

impl Default for SetPermissionRequest[src]

impl Debug for SetPermissionRequest[src]

impl Serialize for SetPermissionRequest[src]

Auto Trait Implementations

Blanket Implementations

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

impl<T> From for T[src]

impl<T, U> TryFrom for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Erased for T

impl<T> Same for T

type Output = T

Should always be Self