@ThreadSafe public interface IamPrincipalType extends IamValue
IamPrincipalType identifies what type of entity that the IamPrincipal refers to.| Modifier and Type | Field and Description |
|---|---|
static IamPrincipalType |
AWS
An
AWS principal. |
static IamPrincipalType |
CANONICAL_USER
A
CanonicalUser principal. |
static IamPrincipalType |
FEDERATED
A
Federated principal. |
static IamPrincipalType |
SERVICE
A
Service principal. |
| Modifier and Type | Method and Description |
|---|---|
static IamPrincipalType |
create(String value)
Create a new
IamPrincipalType element with the provided IamValue.value(). |
static final IamPrincipalType AWS
AWS principal.
For example, this includes AWS accounts, IAM users, IAM roles, IAM role sessions or STS federated users.
static final IamPrincipalType FEDERATED
Federated 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.
static final IamPrincipalType SERVICE
Service 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.
static final IamPrincipalType CANONICAL_USER
CanonicalUser 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.
static IamPrincipalType create(String value)
IamPrincipalType element with the provided IamValue.value().Copyright © 2023. All rights reserved.