We recommend new projects start with resources from the AWS provider.
aws-native.cognito.getIdentityPoolRoleAttachment
Explore with Pulumi AI
We recommend new projects start with resources from the AWS provider.
Resource Type definition for AWS::Cognito::IdentityPoolRoleAttachment
Using getIdentityPoolRoleAttachment
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getIdentityPoolRoleAttachment(args: GetIdentityPoolRoleAttachmentArgs, opts?: InvokeOptions): Promise<GetIdentityPoolRoleAttachmentResult>
function getIdentityPoolRoleAttachmentOutput(args: GetIdentityPoolRoleAttachmentOutputArgs, opts?: InvokeOptions): Output<GetIdentityPoolRoleAttachmentResult>
def get_identity_pool_role_attachment(id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetIdentityPoolRoleAttachmentResult
def get_identity_pool_role_attachment_output(id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetIdentityPoolRoleAttachmentResult]
func LookupIdentityPoolRoleAttachment(ctx *Context, args *LookupIdentityPoolRoleAttachmentArgs, opts ...InvokeOption) (*LookupIdentityPoolRoleAttachmentResult, error)
func LookupIdentityPoolRoleAttachmentOutput(ctx *Context, args *LookupIdentityPoolRoleAttachmentOutputArgs, opts ...InvokeOption) LookupIdentityPoolRoleAttachmentResultOutput
> Note: This function is named LookupIdentityPoolRoleAttachment
in the Go SDK.
public static class GetIdentityPoolRoleAttachment
{
public static Task<GetIdentityPoolRoleAttachmentResult> InvokeAsync(GetIdentityPoolRoleAttachmentArgs args, InvokeOptions? opts = null)
public static Output<GetIdentityPoolRoleAttachmentResult> Invoke(GetIdentityPoolRoleAttachmentInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetIdentityPoolRoleAttachmentResult> getIdentityPoolRoleAttachment(GetIdentityPoolRoleAttachmentArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: aws-native:cognito:getIdentityPoolRoleAttachment
arguments:
# arguments dictionary
The following arguments are supported:
- Id string
- The resource ID.
- Id string
- The resource ID.
- id String
- The resource ID.
- id string
- The resource ID.
- id str
- The resource ID.
- id String
- The resource ID.
getIdentityPoolRoleAttachment Result
The following output properties are available:
- Id string
- The resource ID.
- Role
Mappings Dictionary<string, Pulumi.Aws Native. Cognito. Outputs. Identity Pool Role Attachment Role Mapping> 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
orcognito-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 .
- Roles Dictionary<string, string>
- 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.
- Id string
- The resource ID.
- Role
Mappings map[string]IdentityPool Role Attachment Role Mapping 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
orcognito-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 .
- Roles map[string]string
- 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.
- id String
- The resource ID.
- role
Mappings Map<String,IdentityPool Role Attachment Role Mapping> 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
orcognito-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 .
- roles Map<String,String>
- 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.
- id string
- The resource ID.
- role
Mappings {[key: string]: IdentityPool Role Attachment Role Mapping} 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
orcognito-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 .
- roles {[key: string]: string}
- 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.
- id str
- The resource ID.
- role_
mappings Mapping[str, IdentityPool Role Attachment Role Mapping] 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
orcognito-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 .
- roles Mapping[str, str]
- 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.
- id String
- The resource ID.
- role
Mappings Map<Property Map> 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
orcognito-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 .
- roles Map<String>
- 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.
Supporting Types
IdentityPoolRoleAttachmentMappingRule
- claim str
- match_
type str - role_
arn str - value str
IdentityPoolRoleAttachmentRoleMapping
- type String
- ambiguous
Role StringResolution - identity
Provider String - rules
Configuration Property Map
IdentityPoolRoleAttachmentRulesConfigurationType
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
We recommend new projects start with resources from the AWS provider.