UNPKG

@pulumi/aws-native

Version:

The Pulumi AWS Cloud Control Provider enables you to build, deploy, and manage [any AWS resource that's supported by the AWS Cloud Control API](https://github.com/pulumi/pulumi-aws-native/blob/master/provider/cmd/pulumi-gen-aws-native/supported-types.txt)

45 lines (44 loc) 1.95 kB
import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * Resource Type definition for AWS::Cognito::IdentityPoolRoleAttachment */ export declare function getIdentityPoolRoleAttachment(args: GetIdentityPoolRoleAttachmentArgs, opts?: pulumi.InvokeOptions): Promise<GetIdentityPoolRoleAttachmentResult>; export interface GetIdentityPoolRoleAttachmentArgs { /** * The resource ID. */ id: string; } export interface GetIdentityPoolRoleAttachmentResult { /** * The resource ID. */ readonly id?: string; /** * 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](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cognito-identitypoolroleattachment-rolemapping.html) . */ readonly roleMappings?: { [key: string]: outputs.cognito.IdentityPoolRoleAttachmentRoleMapping; }; /** * 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. */ readonly roles?: { [key: string]: string; }; } /** * Resource Type definition for AWS::Cognito::IdentityPoolRoleAttachment */ export declare function getIdentityPoolRoleAttachmentOutput(args: GetIdentityPoolRoleAttachmentOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetIdentityPoolRoleAttachmentResult>; export interface GetIdentityPoolRoleAttachmentOutputArgs { /** * The resource ID. */ id: pulumi.Input<string>; }