AppsyncFunctionProps

class aws_cdk.aws_appsync.AppsyncFunctionProps(*, name, description=None, request_mapping_template=None, response_mapping_template=None, api, data_source)

Bases: aws_cdk.aws_appsync.BaseAppsyncFunctionProps

(experimental) the CDK properties for AppSync Functions.

Parameters
  • name (str) – (experimental) the name of the AppSync Function.

  • description (Optional[str]) – (experimental) the description for this AppSync Function. Default: - no description

  • request_mapping_template (Optional[MappingTemplate]) – (experimental) the request mapping template for the AppSync Function. Default: - no request mapping template

  • response_mapping_template (Optional[MappingTemplate]) – (experimental) the response mapping template for the AppSync Function. Default: - no response mapping template

  • api (IGraphqlApi) – (experimental) the GraphQL Api linked to this AppSync Function.

  • data_source (BaseDataSource) – (experimental) the data source linked to this AppSync Function.

Stability

experimental

Attributes

api

(experimental) the GraphQL Api linked to this AppSync Function.

Stability

experimental

Return type

IGraphqlApi

data_source

(experimental) the data source linked to this AppSync Function.

Stability

experimental

Return type

BaseDataSource

description

(experimental) the description for this AppSync Function.

Default
  • no description

Stability

experimental

Return type

Optional[str]

name

(experimental) the name of the AppSync Function.

Stability

experimental

Return type

str

request_mapping_template

(experimental) the request mapping template for the AppSync Function.

Default
  • no request mapping template

Stability

experimental

Return type

Optional[MappingTemplate]

response_mapping_template

(experimental) the response mapping template for the AppSync Function.

Default
  • no response mapping template

Stability

experimental

Return type

Optional[MappingTemplate]