import { ResourceBase } from '../resource' ; import { Value , List } from '../dataTypes' ; export class SyncConfig { ConflictHandler ? : Value < string > ; ConflictDetection ! : Value < string > ; LambdaConflictHandlerConfig ? : LambdaConflictHandlerConfig ; constructor ( properties ) { Object . assign ( this , properties ) ; } } export class LambdaConflictHandlerConfig { LambdaConflictHandlerArn ? : Value < string > ; constructor ( properties ) { Object . assign ( this , properties ) ; } } export interface FunctionConfigurationProperties { ResponseMappingTemplateS3Location ? : Value < string > ; Description ? : Value < string > ; DataSourceName : Value < string > ; RequestMappingTemplate ? : Value < string > ; ResponseMappingTemplate ? : Value < string > ; FunctionVersion : Value < string > ; SyncConfig ? : SyncConfig ; RequestMappingTemplateS3Location ? : Value < string > ; ApiId : Value < string > ; Name : Value < string > ; } export default class FunctionConfiguration extends ResourceBase < FunctionConfigurationProperties > { static SyncConfig = SyncConfig ; static LambdaConflictHandlerConfig = LambdaConflictHandlerConfig ; constructor ( properties ) { super ( 'AWS::AppSync::FunctionConfiguration' , properties ) ; } }