Struct aws_sdk_opsworks::input::SetPermissionInput
source · [−]#[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
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<SetPermission, AwsErrorRetryPolicy>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<SetPermission, AwsErrorRetryPolicy>, BuildError>
Consumes the builder and constructs an Operation<SetPermission
>
Creates a new builder-style object to manufacture SetPermissionInput
The user's IAM ARN. This can also be a federated user's ARN.
The user is allowed to use SSH to communicate with the instance.
The user is allowed to use sudo to elevate privileges.
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.
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for SetPermissionInput
impl Send for SetPermissionInput
impl Sync for SetPermissionInput
impl Unpin for SetPermissionInput
impl UnwindSafe for SetPermissionInput
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more