FunctionConfigurationArgs

data class FunctionConfigurationArgs(val apiId: Output<String>? = null, val code: Output<String>? = null, val codeS3Location: Output<String>? = null, val dataSourceName: Output<String>? = null, val description: Output<String>? = null, val functionVersion: Output<String>? = null, val maxBatchSize: Output<Int>? = null, val name: Output<String>? = null, val requestMappingTemplate: Output<String>? = null, val requestMappingTemplateS3Location: Output<String>? = null, val responseMappingTemplate: Output<String>? = null, val responseMappingTemplateS3Location: Output<String>? = null, val runtime: Output<FunctionConfigurationAppSyncRuntimeArgs>? = null, val syncConfig: Output<FunctionConfigurationSyncConfigArgs>? = null) : ConvertibleToJava<FunctionConfigurationArgs>

An example resource schema demonstrating some basic constructs and validation rules.

Example Usage

Example

No Java example available.

Constructors

Link copied to clipboard
constructor(apiId: Output<String>? = null, code: Output<String>? = null, codeS3Location: Output<String>? = null, dataSourceName: Output<String>? = null, description: Output<String>? = null, functionVersion: Output<String>? = null, maxBatchSize: Output<Int>? = null, name: Output<String>? = null, requestMappingTemplate: Output<String>? = null, requestMappingTemplateS3Location: Output<String>? = null, responseMappingTemplate: Output<String>? = null, responseMappingTemplateS3Location: Output<String>? = null, runtime: Output<FunctionConfigurationAppSyncRuntimeArgs>? = null, syncConfig: Output<FunctionConfigurationSyncConfigArgs>? = null)

Properties

Link copied to clipboard
val apiId: Output<String>? = null

The AWS AppSync GraphQL API that you want to attach using this function.

Link copied to clipboard
val code: Output<String>? = null

The resolver code that contains the request and response functions. When code is used, the runtime is required. The runtime value must be APPSYNC_JS.

Link copied to clipboard
val codeS3Location: Output<String>? = null

The Amazon S3 endpoint (where the code is located??).

Link copied to clipboard
val dataSourceName: Output<String>? = null

The name of data source this function will attach.

Link copied to clipboard
val description: Output<String>? = null

The function description.

Link copied to clipboard
val functionVersion: Output<String>? = null

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

Link copied to clipboard
val maxBatchSize: Output<Int>? = null

The maximum number of resolver request inputs that will be sent to a single AWS Lambda function in a BatchInvoke operation.

Link copied to clipboard
val name: Output<String>? = null

The name of the function.

Link copied to clipboard
val requestMappingTemplate: Output<String>? = null

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

Link copied to clipboard

Describes a Sync configuration for a resolver. Contains information on which Conflict Detection, as well as Resolution strategy, should be performed when the resolver is invoked.

Link copied to clipboard
val responseMappingTemplate: Output<String>? = null

The Function response mapping template.

Link copied to clipboard

The location of a response mapping template in an Amazon S3 bucket. Use this if you want to provision with a template file in Amazon S3 rather than embedding it in your CloudFormation template.

Link copied to clipboard

Describes a runtime used by an AWS AppSync pipeline resolver or AWS AppSync function. Specifies the name and version of the runtime to use. Note that if a runtime is specified, code must also be specified.

Link copied to clipboard

Describes a Sync configuration for a resolver. Specifies which Conflict Detection strategy and Resolution strategy to use when the resolver is invoked.

Functions

Link copied to clipboard
open override fun toJava(): FunctionConfigurationArgs