Amplify Toolbox
    Preparing search index...
    AttributeMapping: {
        [K in keyof Omit<cognito.AttributeMapping, "custom">]: string
    } & { custom?: { [key: string]: string } }

    A wrapper for cognito.AttributeMapping that simplifies the way attribute mappings are declared by using strings for attribute name instead of objects with an attributeName property.

    Type declaration

    • Optionalcustom?: { [key: string]: string }

      Specify custom attribute mapping here and mapping for any standard attributes not supported yet.

      - no custom attribute mapping