import { Value } from '../../cloudformation/Value';
import { AwsResource } from '../../cloudformation/resources/AwsResource';
/**
  The <code>AWS::Cognito::IdentityPoolRoleAttachment</code> resource manages the role configuration for an Amazon Cognito identity pool.
  For full documentation go to <a href="http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cognito-identitypoolroleattachment.html">the AWS Docs</a>
*/
export type IdentityPoolRoleAttachment = AwsResource<'AWS::Cognito::IdentityPoolRoleAttachment', IdentityPoolRoleAttachmentProperties>;
export declare function identityPoolRoleAttachment(identityPoolRoleAttachmentProps: IdentityPoolRoleAttachmentProperties): IdentityPoolRoleAttachment;
/**
  The <code>AWS::Cognito::IdentityPoolRoleAttachment</code> resource manages the role configuration for an Amazon Cognito identity pool.
  For full documentation go to <a href="http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cognito-identitypoolroleattachment.html">the AWS Docs</a>
*/
export interface IdentityPoolRoleAttachmentProperties {
    /** <code>RoleMappings</code>  <a name="cfn-cognito-identitypoolroleattachment-rolemappings"></a>
  How users for a specific identity provider are mapped to roles. This is a string to the <code>RoleMapping</code> object map. The string identifies the identity provider. For example: <code>graph.facebook.com</code> or <code>cognito-idp.us-east-1.amazonaws.com/us-east-1_abcdefghi:app_client_id</code>.<br />
  If the <code>IdentityProvider</code> field isn’t provided in this object, the string is used as the identity provider name.<br />
  For more information, see the <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cognito-identitypoolroleattachment-rolemapping.html">RoleMapping property</a>.<br />
  
  Required: No<br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt">No interruption</a> */
    roleMappings?: Value<any>;
    /** <code>IdentityPoolId</code>  <a name="cfn-cognito-identitypoolroleattachment-identitypoolid"></a>
  An identity pool ID in the format <code>REGION:GUID</code>.<br />
  
  Required: Yes<br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-replacement">Replacement</a> */
    identityPoolId: Value<string>;
    /** <code>Roles</code>  <a name="cfn-cognito-identitypoolroleattachment-roles"></a>
  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.<br />
  
  Required: No<br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt">No interruption</a> */
    roles?: Value<any>;
}
