#[non_exhaustive]pub struct IamRoleConfiguration { /* private fields */ }Expand description
The proposed access control configuration for an IAM role. You can propose a configuration for a new IAM role or an existing IAM role that you own by specifying the trust policy. If the configuration is for a new IAM role, you must specify the trust policy. If the configuration is for an existing IAM role that you own and you do not propose the trust policy, the access preview uses the existing trust policy for the role. The proposed trust policy cannot be an empty string. For more information about role trust policy limits, see IAM and STS quotas.
Implementations§
source§impl IamRoleConfiguration
 
impl IamRoleConfiguration
sourcepub fn trust_policy(&self) -> Option<&str>
 
pub fn trust_policy(&self) -> Option<&str>
The proposed trust policy for the IAM role.
source§impl IamRoleConfiguration
 
impl IamRoleConfiguration
sourcepub fn builder() -> IamRoleConfigurationBuilder
 
pub fn builder() -> IamRoleConfigurationBuilder
Creates a new builder-style object to manufacture IamRoleConfiguration.
Trait Implementations§
source§impl Clone for IamRoleConfiguration
 
impl Clone for IamRoleConfiguration
source§fn clone(&self) -> IamRoleConfiguration
 
fn clone(&self) -> IamRoleConfiguration
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 moresource§impl Debug for IamRoleConfiguration
 
impl Debug for IamRoleConfiguration
source§impl PartialEq<IamRoleConfiguration> for IamRoleConfiguration
 
impl PartialEq<IamRoleConfiguration> for IamRoleConfiguration
source§fn eq(&self, other: &IamRoleConfiguration) -> bool
 
fn eq(&self, other: &IamRoleConfiguration) -> bool
This method tests for 
self and other values to be equal, and is used
by ==.