GetPolicyDocumentStatementPrincipal

data class GetPolicyDocumentStatementPrincipal(val identifiers: List<String>, val type: String) : ConvertibleToJava<GetPolicyDocumentStatementPrincipal>

Constructors

Link copied to clipboard
constructor(identifiers: List<String>, type: String)

Properties

Link copied to clipboard

List of identifiers for principals. When type is AWS, these are IAM principal ARNs, e.g., arn:aws:iam::12345678901:role/yak-role. When type is Service, these are AWS Service roles, e.g., lambda.amazonaws.com. When type is Federated, these are web identity users or SAML provider ARNs, e.g., accounts.google.com or arn:aws:iam::12345678901:saml-provider/yak-saml-provider. When type is CanonicalUser, these are canonical user IDs, e.g., 79a59df900b949e55d96a1e698fbacedfd6e09d98eacf8f8d5218e7cd47ef2be.

Link copied to clipboard

Type of principal. Valid values include AWS, Service, Federated, CanonicalUser and *.

Functions

Link copied to clipboard
open override fun toJava(): GetPolicyDocumentStatementPrincipal