IdentityPoolRoleAttachmentArgs

data class IdentityPoolRoleAttachmentArgs(val identityPoolId: Output<String>? = null, val roleMappings: Output<Map<String, IdentityPoolRoleAttachmentRoleMappingArgs>>? = null, val roles: Output<Map<String, String>>? = null) : ConvertibleToJava<IdentityPoolRoleAttachmentArgs>

Resource Type definition for AWS::Cognito::IdentityPoolRoleAttachment

Constructors

Link copied to clipboard
constructor(identityPoolId: Output<String>? = null, roleMappings: Output<Map<String, IdentityPoolRoleAttachmentRoleMappingArgs>>? = null, roles: Output<Map<String, String>>? = null)

Properties

Link copied to clipboard
val identityPoolId: Output<String>? = null

An identity pool ID in the format REGION:GUID .

Link copied to clipboard

How users for a specific identity provider are mapped to roles. This is a string to the RoleMapping object map. The string identifies the identity provider. For example: graph.facebook.com or cognito-idp.us-east-1.amazonaws.com/us-east-1_abcdefghi:app_client_id . If the IdentityProvider field isn't provided in this object, the string is used as the identity provider name. For more information, see the RoleMapping property .

Link copied to clipboard
val roles: Output<Map<String, String>>? = null

The map of the roles associated with this pool. For a given role, the key is either "authenticated" or "unauthenticated". The value is the role ARN.

Functions

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