pub struct RoleBuilder { /* private fields */ }
Expand description
Builder for Role
.
Implementations§
Source§impl RoleBuilder
impl RoleBuilder
Sourcepub fn assume_role_policy_document<VALUE: Into<String>>(
&mut self,
value: VALUE,
) -> &mut Self
pub fn assume_role_policy_document<VALUE: Into<String>>( &mut self, value: VALUE, ) -> &mut Self
The trust relationship policy document that grants an entity permission to assume the role.
Sourcepub fn description<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
pub fn description<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
The description of the IAM role.
Sourcepub fn max_session_duration(&mut self, value: i32) -> &mut Self
pub fn max_session_duration(&mut self, value: i32) -> &mut Self
The maximum session duration (in seconds) that you want to set for the specified role.
Sourcepub fn role_name<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
pub fn role_name<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
Simple name identifying the role.
The list of Tags associated with the role.
Sourcepub fn permissions_boundary(&mut self, value: PermissionsBoundary) -> &mut Self
pub fn permissions_boundary(&mut self, value: PermissionsBoundary) -> &mut Self
Permissions boundary
pub fn namespace<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
Trait Implementations§
Source§impl Clone for RoleBuilder
impl Clone for RoleBuilder
Source§fn clone(&self) -> RoleBuilder
fn clone(&self) -> RoleBuilder
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl Freeze for RoleBuilder
impl RefUnwindSafe for RoleBuilder
impl Send for RoleBuilder
impl Sync for RoleBuilder
impl Unpin for RoleBuilder
impl UnwindSafe for RoleBuilder
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more