1.36.15 • Published 3 years ago

cdk-appsync-api-gateway-resolvers v1.36.15

Weekly downloads
1
License
MIT
Repository
-
Last release
3 years ago

cdk-appsync-api-gateway-resolvers

Built with
typescript version dependants license

Resolvers to map Appsync queries/mutations to API Gateway endpoints

Example Useage

const resolverRole = new ApiGatewayResolverRole(
  this,
  'groupResolverRole',
  legacyApiArn
);

const dataSource = new ApiGatewayDataSource(this, 'groupDataSource', {
  apiId,
  httpEndpoint: legacyApiDomain,
  serviceRoleArn: resolverRole.roleArn,
});

new GetResolver(this, {
  apiId,
  dataSourceName: dataSource.attrName,
  apiStage: stageName,
  apiPath: 'groups',
  fieldName: 'group',
  responseMappingTemplatePath: join(
    __dirname,
    '../resolvers/getGroupResponse.vtl'
  ),
});

Checklist

CD FeatureProvided
Typescript
Linting (AirBnB + Prettier)
Unit tests (Jest)
Coverage check (ideally 100% with Jest)
Github Continuous Deployment

Built by Skyhook

This module is contributed by the team at Skyhook.

1.36.15

3 years ago

1.36.14

4 years ago

1.36.13

4 years ago

1.36.12

4 years ago

1.36.11

4 years ago

1.36.10

4 years ago

1.36.9

4 years ago

1.36.8

4 years ago

1.36.7

4 years ago

1.36.5

4 years ago

1.36.6

4 years ago

1.36.4

4 years ago

1.36.3

4 years ago

1.36.2

4 years ago

1.36.1

4 years ago

1.3.0

4 years ago

1.2.0

4 years ago

1.1.0

4 years ago

1.0.0

4 years ago