BaseAppsyncFunctionProps
- class aws_cdk.aws_appsync.BaseAppsyncFunctionProps(*, name, description=None, request_mapping_template=None, response_mapping_template=None)
Bases:
object
(experimental) the base 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 descriptionrequest_mapping_template (
Optional
[MappingTemplate
]) – (experimental) the request mapping template for the AppSync Function. Default: - no request mapping templateresponse_mapping_template (
Optional
[MappingTemplate
]) – (experimental) the response mapping template for the AppSync Function. Default: - no response mapping template
- Stability:
experimental
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. import aws_cdk.aws_appsync as appsync # mapping_template: appsync.MappingTemplate base_appsync_function_props = appsync.BaseAppsyncFunctionProps( name="name", # the properties below are optional description="description", request_mapping_template=mapping_template, response_mapping_template=mapping_template )
Attributes
- description
(experimental) the description for this AppSync Function.
- Default:
no description
- Stability:
experimental
- name
(experimental) the name of the AppSync Function.
- Stability:
experimental
- request_mapping_template
(experimental) the request mapping template for the AppSync Function.
- Default:
no request mapping template
- Stability:
experimental
- response_mapping_template
(experimental) the response mapping template for the AppSync Function.
- Default:
no response mapping template
- Stability:
experimental