#[non_exhaustive]pub struct UpdateManagedInstanceRoleInput {
pub instance_id: Option<String>,
pub iam_role: 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.instance_id: Option<String>
The ID of the managed node where you want to update the role.
iam_role: Option<String>
The name of the Identity and Access Management (IAM) role that you want to assign to the managed node. This IAM role must provide AssumeRole permissions for the Amazon Web Services Systems Manager service principal ssm.amazonaws.com
. For more information, see Create an IAM service role for a hybrid and multicloud environment in the Amazon Web Services Systems Manager User Guide.
You can't specify an IAM service-linked role for this parameter. You must create a unique role.
Implementations§
source§impl UpdateManagedInstanceRoleInput
impl UpdateManagedInstanceRoleInput
sourcepub fn instance_id(&self) -> Option<&str>
pub fn instance_id(&self) -> Option<&str>
The ID of the managed node where you want to update the role.
sourcepub fn iam_role(&self) -> Option<&str>
pub fn iam_role(&self) -> Option<&str>
The name of the Identity and Access Management (IAM) role that you want to assign to the managed node. This IAM role must provide AssumeRole permissions for the Amazon Web Services Systems Manager service principal ssm.amazonaws.com
. For more information, see Create an IAM service role for a hybrid and multicloud environment in the Amazon Web Services Systems Manager User Guide.
You can't specify an IAM service-linked role for this parameter. You must create a unique role.
source§impl UpdateManagedInstanceRoleInput
impl UpdateManagedInstanceRoleInput
sourcepub fn builder() -> UpdateManagedInstanceRoleInputBuilder
pub fn builder() -> UpdateManagedInstanceRoleInputBuilder
Creates a new builder-style object to manufacture UpdateManagedInstanceRoleInput
.
Trait Implementations§
source§impl Clone for UpdateManagedInstanceRoleInput
impl Clone for UpdateManagedInstanceRoleInput
source§fn clone(&self) -> UpdateManagedInstanceRoleInput
fn clone(&self) -> UpdateManagedInstanceRoleInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl PartialEq for UpdateManagedInstanceRoleInput
impl PartialEq for UpdateManagedInstanceRoleInput
source§fn eq(&self, other: &UpdateManagedInstanceRoleInput) -> bool
fn eq(&self, other: &UpdateManagedInstanceRoleInput) -> bool
self
and other
values to be equal, and is used
by ==
.