CfnFunctionConfigurationProps

class aws_cdk.aws_appsync.CfnFunctionConfigurationProps(*, api_id, data_source_name, function_version, name, description=None, request_mapping_template=None, request_mapping_template_s3_location=None, response_mapping_template=None, response_mapping_template_s3_location=None, sync_config=None)

Bases: object

Properties for defining a AWS::AppSync::FunctionConfiguration.

Parameters
  • api_id (str) – AWS::AppSync::FunctionConfiguration.ApiId.

  • data_source_name (str) – AWS::AppSync::FunctionConfiguration.DataSourceName.

  • function_version (str) – AWS::AppSync::FunctionConfiguration.FunctionVersion.

  • name (str) – AWS::AppSync::FunctionConfiguration.Name.

  • description (Optional[str]) – AWS::AppSync::FunctionConfiguration.Description.

  • request_mapping_template (Optional[str]) – AWS::AppSync::FunctionConfiguration.RequestMappingTemplate.

  • request_mapping_template_s3_location (Optional[str]) – AWS::AppSync::FunctionConfiguration.RequestMappingTemplateS3Location.

  • response_mapping_template (Optional[str]) – AWS::AppSync::FunctionConfiguration.ResponseMappingTemplate.

  • response_mapping_template_s3_location (Optional[str]) – AWS::AppSync::FunctionConfiguration.ResponseMappingTemplateS3Location.

  • sync_config (Union[IResolvable, SyncConfigProperty, None]) – AWS::AppSync::FunctionConfiguration.SyncConfig.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appsync-functionconfiguration.html

Attributes

api_id

AWS::AppSync::FunctionConfiguration.ApiId.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appsync-functionconfiguration.html#cfn-appsync-functionconfiguration-apiid

Return type

str

data_source_name

AWS::AppSync::FunctionConfiguration.DataSourceName.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appsync-functionconfiguration.html#cfn-appsync-functionconfiguration-datasourcename

Return type

str

description

AWS::AppSync::FunctionConfiguration.Description.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appsync-functionconfiguration.html#cfn-appsync-functionconfiguration-description

Return type

Optional[str]

function_version

AWS::AppSync::FunctionConfiguration.FunctionVersion.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appsync-functionconfiguration.html#cfn-appsync-functionconfiguration-functionversion

Return type

str

name

AWS::AppSync::FunctionConfiguration.Name.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appsync-functionconfiguration.html#cfn-appsync-functionconfiguration-name

Return type

str

request_mapping_template

AWS::AppSync::FunctionConfiguration.RequestMappingTemplate.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appsync-functionconfiguration.html#cfn-appsync-functionconfiguration-requestmappingtemplate

Return type

Optional[str]

request_mapping_template_s3_location

AWS::AppSync::FunctionConfiguration.RequestMappingTemplateS3Location.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appsync-functionconfiguration.html#cfn-appsync-functionconfiguration-requestmappingtemplates3location

Return type

Optional[str]

response_mapping_template

AWS::AppSync::FunctionConfiguration.ResponseMappingTemplate.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appsync-functionconfiguration.html#cfn-appsync-functionconfiguration-responsemappingtemplate

Return type

Optional[str]

response_mapping_template_s3_location

AWS::AppSync::FunctionConfiguration.ResponseMappingTemplateS3Location.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appsync-functionconfiguration.html#cfn-appsync-functionconfiguration-responsemappingtemplates3location

Return type

Optional[str]

sync_config

AWS::AppSync::FunctionConfiguration.SyncConfig.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appsync-functionconfiguration.html#cfn-appsync-functionconfiguration-syncconfig

Return type

Union[IResolvable, SyncConfigProperty, None]