Amplify: {
    configure(resourceConfig, libraryOptions?): void;
    getConfig(): ResourcesConfig;
} = ...

Type declaration

  • configure:function
    • Configures Amplify with the resourceConfig and libraryOptions.

      Parameters

      Returns void

      Example

      import config from './amplifyconfiguration.json';

      Amplify.configure(config);
  • getConfig:function