FunctionConfiguration - AWS AppSync

FunctionConfiguration

A function is a reusable entity. Multiple functions can be used to compose the resolver logic.

Contents

dataSourceName

The name of the DataSource.

Type: String

Length Constraints: Minimum length of 1. Maximum length of 65536.

Pattern: [_A-Za-z][_0-9A-Za-z]*

Required: No

description

The Function description.

Type: String

Required: No

functionArn

The ARN of the Function object.

Type: String

Required: No

functionId

A unique ID representing the Function object.

Type: String

Required: No

functionVersion

The version of the request mapping template. Currently only the 2018-05-29 version of the template is supported.

Type: String

Required: No

name

The name of the Function object.

Type: String

Length Constraints: Minimum length of 1. Maximum length of 65536.

Pattern: [_A-Za-z][_0-9A-Za-z]*

Required: No

requestMappingTemplate

The Function request mapping template. Functions support only the 2018-05-29 version of the request mapping template.

Type: String

Length Constraints: Minimum length of 1. Maximum length of 65536.

Required: No

responseMappingTemplate

The Function response mapping template.

Type: String

Length Constraints: Minimum length of 1. Maximum length of 65536.

Required: No

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following: