[−][src]Enum aws_iam::model::types::PrincipalType
This describes the way in which the condition ARNs should be understood.
Variants
Anyone, everyone, or anonymous users.
When you use an AWS account identifier as the principal in a policy, you delegate
authority to the account. Within that account, the permissions in the policy statement
can be granted to all identities. This includes IAM users and roles in that account.
When you specify an AWS account, you can use the account ARN
(arn:aws:iam::AWS-account-ID:root
), or a shortened form that consists of the AWS:
prefix followed by the account ID.
Federated users either using web identity federation or using a SAML identity provider.
IAM roles that can be assumed by an AWS service are called service roles. Service roles must include a trust policy. Trust policies are resource-based policies that are attached to a role that define which principals can assume the role. Some service roles have predefined trust policies. However, in some cases, you must specify the service principal in the trust policy. A service principal is an identifier that is used to grant permissions to a service.
The canonical user ID is an identifier for your account. Because this identifier is used by Amazon S3, only this service provides IAM users with access to the canonical user ID. You can also view the canonical user ID for your account from the AWS Management Console while signed in as the AWS account root user.
Trait Implementations
impl Clone for PrincipalType
[src]
fn clone(&self) -> PrincipalType
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Eq for PrincipalType
[src]
impl PartialEq<PrincipalType> for PrincipalType
[src]
fn eq(&self, other: &PrincipalType) -> bool
[src]
#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
impl Debug for PrincipalType
[src]
impl Hash for PrincipalType
[src]
fn hash<__H: Hasher>(&self, state: &mut __H)
[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
impl StructuralPartialEq for PrincipalType
[src]
impl StructuralEq for PrincipalType
[src]
impl Serialize for PrincipalType
[src]
fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
__S: Serializer,
[src]
__S: Serializer,
impl<'de> Deserialize<'de> for PrincipalType
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
Auto Trait Implementations
impl Send for PrincipalType
impl Sync for PrincipalType
impl Unpin for PrincipalType
impl UnwindSafe for PrincipalType
impl RefUnwindSafe for PrincipalType
Blanket Implementations
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From<T> for T
[src]
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> DeserializeOwned for T where
T: Deserialize<'de>,
[src]
T: Deserialize<'de>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,