Interface IamPrincipalType
- All Superinterfaces:
IamValue
- All Known Implementing Classes:
DefaultIamPrincipalType
The
IamPrincipalType
identifies what type of entity that the IamPrincipal
refers to.- See Also:
-
Field Summary
Modifier and TypeFieldDescriptionstatic final IamPrincipalType
AnAWS
principal.static final IamPrincipalType
ACanonicalUser
principal.static final IamPrincipalType
AFederated
principal.static final IamPrincipalType
AService
principal. -
Method Summary
Modifier and TypeMethodDescriptionstatic IamPrincipalType
Create a newIamPrincipalType
element with the providedIamValue.value()
.
-
Field Details
-
AWS
AnAWS
principal.For example, this includes AWS accounts, IAM users, IAM roles, IAM role sessions or STS federated users.
- See Also:
-
FEDERATED
AFederated
principal.This grants an external web identity, SAML identity provider, etc. permission to perform actions on your resources. For example, cognito-identity.amazonaws.com or www.amazon.com.
- See Also:
-
SERVICE
AService
principal.This grants other AWS services permissions to perform actions on your resources. Identifiers are usually in the format service-name.amazonaws.com. For example, ecs.amazonaws.com or lambda.amazonaws.com.
- See Also:
-
CANONICAL_USER
ACanonicalUser
principal.Some services support a canonical user ID to identify your account without requiring your account ID to be shared. Such identifiers are often a 64-digit alphanumeric value.
- See Also:
-
-
Method Details
-
create
Create a newIamPrincipalType
element with the providedIamValue.value()
.
-