CmdID / aws / aws appsync
aws appsync create-function
Creates a Function object. AWS CLI reference
11 options Its page in the AWS CLI reference
Options
--api-idThe GraphQL API ID.--codeThe function code that contains the request and response functions.--data-source-nameThe Function DataSource name.--descriptionThe Function description.--function-versionThe version of the request mapping template.--max-batch-sizeThe maximum batching size for a resolver.--nameThe Function name.--request-mapping-templateThe Function request mapping template.--response-mapping-templateThe Function response mapping template.--runtimeDescribes a runtime used by an Amazon Web Services AppSync pipeline resolver or Amazon Web Services AppSync function.--sync-configDescribes a Sync configuration for a resolver.