Amplify Toolbox
    Preparing search index...

    Config format for Amplify Gen 2 client libraries to communicate with backend services.

    interface AWSAmplifyBackendOutputs {
        analytics?: { amazon_pinpoint?: { app_id: string; aws_region: string } };
        auth?: {
            aws_region: string;
            groups?: { [k: string]: clientConfigTypesV1_4.AmplifyUserGroupConfig }[];
            identity_pool_id?: string;
            mfa_configuration?: "NONE" | "OPTIONAL" | "REQUIRED";
            mfa_methods?: ("SMS" | "TOTP")[];
            oauth?: {
                domain: string;
                identity_providers: (
                    "GOOGLE"
                    | "FACEBOOK"
                    | "LOGIN_WITH_AMAZON"
                    | "SIGN_IN_WITH_APPLE"
                )[];
                redirect_sign_in_uri: string[];
                redirect_sign_out_uri: string[];
                response_type: "code" | "token";
                scopes: string[];
            };
            password_policy?: {
                min_length: number;
                require_lowercase: boolean;
                require_numbers: boolean;
                require_symbols: boolean;
                require_uppercase: boolean;
            };
            standard_required_attributes?: clientConfigTypesV1_4.AmazonCognitoStandardAttributes[];
            unauthenticated_identities_enabled?: boolean;
            user_pool_client_id: string;
            user_pool_id: string;
            user_verification_types?: ("email" | "phone_number")[];
            username_attributes?: ("email" | "phone_number" | "username")[];
        };
        custom?: { [k: string]: unknown };
        data?: {
            api_key?: string;
            authorization_types: clientConfigTypesV1_4.AwsAppsyncAuthorizationType[];
            aws_region: string;
            default_authorization_type: clientConfigTypesV1_4.AwsAppsyncAuthorizationType;
            model_introspection?: { [k: string]: unknown };
            url: string;
        };
        geo?: {
            aws_region: string;
            geofence_collections?: { default: string; items: string[] };
            maps?: {
                default: string;
                items: { [k: string]: clientConfigTypesV1_4.AmazonLocationServiceConfig };
            };
            search_indices?: { default: string; items: string[] };
        };
        notifications?: {
            amazon_pinpoint_app_id: string;
            aws_region: string;
            channels: clientConfigTypesV1_4.AmazonPinpointChannels[];
        };
        storage?: {
            aws_region: string;
            bucket_name: string;
            buckets?: clientConfigTypesV1_4.AmplifyStorageBucket[];
        };
        version: "1.4";
    }
    Index

    Properties

    analytics?: { amazon_pinpoint?: { app_id: string; aws_region: string } }

    Outputs manually specified by developers for use with frontend library

    auth?: {
        aws_region: string;
        groups?: { [k: string]: clientConfigTypesV1_4.AmplifyUserGroupConfig }[];
        identity_pool_id?: string;
        mfa_configuration?: "NONE" | "OPTIONAL" | "REQUIRED";
        mfa_methods?: ("SMS" | "TOTP")[];
        oauth?: {
            domain: string;
            identity_providers: (
                "GOOGLE"
                | "FACEBOOK"
                | "LOGIN_WITH_AMAZON"
                | "SIGN_IN_WITH_APPLE"
            )[];
            redirect_sign_in_uri: string[];
            redirect_sign_out_uri: string[];
            response_type: "code" | "token";
            scopes: string[];
        };
        password_policy?: {
            min_length: number;
            require_lowercase: boolean;
            require_numbers: boolean;
            require_symbols: boolean;
            require_uppercase: boolean;
        };
        standard_required_attributes?: clientConfigTypesV1_4.AmazonCognitoStandardAttributes[];
        unauthenticated_identities_enabled?: boolean;
        user_pool_client_id: string;
        user_pool_id: string;
        user_verification_types?: ("email" | "phone_number")[];
        username_attributes?: ("email" | "phone_number" | "username")[];
    }

    Outputs generated from defineAuth

    Type declaration

    • aws_region: string

      AWS Region of Amazon Cognito resources

    • Optionalgroups?: { [k: string]: clientConfigTypesV1_4.AmplifyUserGroupConfig }[]
    • Optionalidentity_pool_id?: string

      Cognito Identity Pool ID

    • Optionalmfa_configuration?: "NONE" | "OPTIONAL" | "REQUIRED"
    • Optionalmfa_methods?: ("SMS" | "TOTP")[]
    • Optionaloauth?: {
          domain: string;
          identity_providers: (
              "GOOGLE"
              | "FACEBOOK"
              | "LOGIN_WITH_AMAZON"
              | "SIGN_IN_WITH_APPLE"
          )[];
          redirect_sign_in_uri: string[];
          redirect_sign_out_uri: string[];
          response_type: "code" | "token";
          scopes: string[];
      }
      • domain: string

        Domain used for identity providers

      • identity_providers: ("GOOGLE" | "FACEBOOK" | "LOGIN_WITH_AMAZON" | "SIGN_IN_WITH_APPLE")[]

        Identity providers set on Cognito User Pool

        0

      • redirect_sign_in_uri: string[]

        URIs used to redirect after signing in using an identity provider

        1

      • redirect_sign_out_uri: string[]

        URIs used to redirect after signing out

        1

      • response_type: "code" | "token"
      • scopes: string[]

        0

    • Optionalpassword_policy?: {
          min_length: number;
          require_lowercase: boolean;
          require_numbers: boolean;
          require_symbols: boolean;
          require_uppercase: boolean;
      }

      Cognito User Pool password policy

    • Optionalstandard_required_attributes?: clientConfigTypesV1_4.AmazonCognitoStandardAttributes[]

      Cognito User Pool standard attributes required for signup

      0

    • Optionalunauthenticated_identities_enabled?: boolean
    • user_pool_client_id: string

      Cognito User Pool Client ID

    • user_pool_id: string

      Cognito User Pool ID

    • Optionaluser_verification_types?: ("email" | "phone_number")[]
    • Optionalusername_attributes?: ("email" | "phone_number" | "username")[]

      Cognito User Pool username attributes

      1

    custom?: { [k: string]: unknown }

    Outputs generated from backend.addOutput({ custom: })

    data?: {
        api_key?: string;
        authorization_types: clientConfigTypesV1_4.AwsAppsyncAuthorizationType[];
        aws_region: string;
        default_authorization_type: clientConfigTypesV1_4.AwsAppsyncAuthorizationType;
        model_introspection?: { [k: string]: unknown };
        url: string;
    }

    Outputs generated from defineData

    Type declaration

    geo?: {
        aws_region: string;
        geofence_collections?: { default: string; items: string[] };
        maps?: {
            default: string;
            items: { [k: string]: clientConfigTypesV1_4.AmazonLocationServiceConfig };
        };
        search_indices?: { default: string; items: string[] };
    }

    Outputs manually specified by developers for use with frontend library

    Type declaration

    • aws_region: string

      AWS Region of Amazon Location Service resources

    • Optionalgeofence_collections?: { default: string; items: string[] }

      Geofencing (visualize virtual perimeters)

      • default: string
      • items: string[]

        1

    • Optionalmaps?: {
          default: string;
          items: { [k: string]: clientConfigTypesV1_4.AmazonLocationServiceConfig };
      }

      Maps from Amazon Location Service

    • Optionalsearch_indices?: { default: string; items: string[] }

      Location search (search by places, addresses, coordinates)

      • default: string
      • items: string[]

        1

    notifications?: {
        amazon_pinpoint_app_id: string;
        aws_region: string;
        channels: clientConfigTypesV1_4.AmazonPinpointChannels[];
    }

    Outputs manually specified by developers for use with frontend library

    Type declaration

    storage?: {
        aws_region: string;
        bucket_name: string;
        buckets?: clientConfigTypesV1_4.AmplifyStorageBucket[];
    }

    Outputs generated from defineStorage

    version: "1.4"

    Version of this schema