AmplifyOutputs

public struct AmplifyOutputs

Represents helper methods to configure with Amplify CLI Gen2 configuration.

  • Resolves configuration with amplify_outputs.json in the main bundle.

    Declaration

    Swift

    public static let amplifyOutputs: AmplifyOutputs
  • Resolves configuration with a data object, from the contents of an amplify_outputs.json file.

    Declaration

    Swift

    public static func data(_ data: Data) -> AmplifyOutputs
  • Resolves configuration with the resource in the main bundle.

    Declaration

    Swift

    public static func resource(named resource: String) -> AmplifyOutputs