pub struct AwsIamStatement {
pub sid: String,
pub effect: String,
pub action: Vec<String>,
pub resource: Vec<String>,
pub condition: Option<IndexMap<String, IndexMap<String, String>>>,
}Expand description
AWS IAM policy statement
Fields§
§sid: StringStatement ID
effect: StringEffect (Allow/Deny)
action: Vec<String>List of IAM actions
resource: Vec<String>List of resource ARNs
condition: Option<IndexMap<String, IndexMap<String, String>>>Optional conditions
Trait Implementations§
Source§impl Clone for AwsIamStatement
impl Clone for AwsIamStatement
Source§fn clone(&self) -> AwsIamStatement
fn clone(&self) -> AwsIamStatement
Returns a duplicate 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 AwsIamStatement
impl Debug for AwsIamStatement
Source§impl<'de> Deserialize<'de> for AwsIamStatement
impl<'de> Deserialize<'de> for AwsIamStatement
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for AwsIamStatement
impl PartialEq for AwsIamStatement
Source§impl Serialize for AwsIamStatement
impl Serialize for AwsIamStatement
impl Eq for AwsIamStatement
impl StructuralPartialEq for AwsIamStatement
Auto Trait Implementations§
impl Freeze for AwsIamStatement
impl RefUnwindSafe for AwsIamStatement
impl Send for AwsIamStatement
impl Sync for AwsIamStatement
impl Unpin for AwsIamStatement
impl UnsafeUnpin for AwsIamStatement
impl UnwindSafe for AwsIamStatement
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.