Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@aws-amplify/graphql-transformer-interfaces

Package Overview
Dependencies
Maintainers
10
Versions
322
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@aws-amplify/graphql-transformer-interfaces - npm Package Compare versions

Comparing version 2.2.3-alpha.0 to 2.3.0-rds.0

11

API.md

@@ -538,2 +538,4 @@ ## API Report File for "@aws-amplify/graphql-transformer-interfaces"

// (undocumented)
readonly sqlLambdaVpcConfig?: VpcConfig;
// (undocumented)
stackManager: StackManagerProvider;

@@ -809,3 +811,3 @@ // (undocumented)

[key: string]: string;
}, timeout?: Duration, stack?: Stack) => IFunction;
}, timeout?: Duration, stack?: Stack, vpc?: VpcConfig) => IFunction;
// (undocumented)

@@ -845,2 +847,9 @@ addNoneDataSource(name: string, options?: DataSourceOptions, stack?: Stack): NoneDataSource;

// @public (undocumented)
export type VpcConfig = {
vpcId: string;
subnetIds: string[];
securityGroupIds: string[];
};
// Warnings were encountered during analysis:

@@ -847,0 +856,0 @@ //

@@ -6,2 +6,8 @@ # Change Log

# [2.3.0-rds.0](https://github.com/aws-amplify/amplify-category-api/compare/@aws-amplify/graphql-transformer-interfaces@2.2.2...@aws-amplify/graphql-transformer-interfaces@2.3.0-rds.0) (2023-06-21)
### Features
- **graphql:** vpc support for sql lambda ([9cc4407](https://github.com/aws-amplify/amplify-category-api/commit/9cc4407bdc4799fe548919808961911a3d5995c7))
## [2.2.2](https://github.com/aws-amplify/amplify-category-api/compare/@aws-amplify/graphql-transformer-interfaces@2.2.1...@aws-amplify/graphql-transformer-interfaces@2.2.2) (2023-06-20)

@@ -8,0 +14,0 @@

@@ -49,2 +49,7 @@ import { CfnResource, IAsset } from 'aws-cdk-lib';

}
export type VpcConfig = {
vpcId: string;
subnetIds: string[];
securityGroupIds: string[];
};
export interface AppSyncFunctionConfigurationProvider extends IConstruct {

@@ -51,0 +56,0 @@ readonly arn: string;

2

lib/index.d.ts
export * from './transformer-context';
export { TransformerPluginProvider, TransformerPluginType } from './transformer-plugin-provider';
export { MutationFieldType, QueryFieldType, SubscriptionFieldType, TransformerModelProvider, TransformerModelEnhancementProvider, TransformerAuthProvider, } from './transformer-model-provider';
export { GraphQLAPIProvider, AppSyncFunctionConfigurationProvider, DataSourceOptions, MappingTemplateProvider, S3MappingTemplateProvider, S3MappingFunctionCodeProvider, InlineMappingTemplateProvider, APIIAMResourceProvider, TemplateType as MappingTemplateType, AppSyncAuthConfiguration, AppSyncAuthConfigurationAPIKeyEntry, AppSyncAuthConfigurationEntry, AppSyncAuthConfigurationIAMEntry, ApiKeyConfig, AppSyncAuthConfigurationOIDCEntry, AppSyncAuthConfigurationUserPoolEntry, AppSyncAuthMode, UserPoolConfig, SearchableDataSourceOptions, } from './graphql-api-provider';
export { GraphQLAPIProvider, AppSyncFunctionConfigurationProvider, DataSourceOptions, MappingTemplateProvider, S3MappingTemplateProvider, S3MappingFunctionCodeProvider, InlineMappingTemplateProvider, APIIAMResourceProvider, TemplateType as MappingTemplateType, AppSyncAuthConfiguration, AppSyncAuthConfigurationAPIKeyEntry, AppSyncAuthConfigurationEntry, AppSyncAuthConfigurationIAMEntry, ApiKeyConfig, AppSyncAuthConfigurationOIDCEntry, AppSyncAuthConfigurationUserPoolEntry, AppSyncAuthMode, UserPoolConfig, VpcConfig, SearchableDataSourceOptions, } from './graphql-api-provider';
export { TransformHostProvider, DynamoDbDataSourceOptions } from './transform-host-provider';

@@ -6,0 +6,0 @@ export { DeploymentResources, NestedStacks, ResolversFunctionsAndSchema, StackMapping, Template, } from './deployment-resources';

@@ -7,3 +7,3 @@ import { Duration, Stack } from 'aws-cdk-lib';

import { IRole } from 'aws-cdk-lib/aws-iam';
import { AppSyncFunctionConfigurationProvider, DataSourceOptions, SearchableDataSourceOptions, MappingTemplateProvider } from './graphql-api-provider';
import { AppSyncFunctionConfigurationProvider, DataSourceOptions, SearchableDataSourceOptions, MappingTemplateProvider, VpcConfig } from './graphql-api-provider';
export interface DynamoDbDataSourceOptions extends DataSourceOptions {

@@ -23,3 +23,3 @@ readonly serviceRole: IRole;

[key: string]: string;
}, timeout?: Duration, stack?: Stack) => IFunction;
}, timeout?: Duration, stack?: Stack, vpc?: VpcConfig) => IFunction;
getDataSource: (name: string) => BaseDataSource | void;

@@ -26,0 +26,0 @@ hasDataSource: (name: string) => boolean;

@@ -7,3 +7,3 @@ import { TransformerResolversManagerProvider } from './transformer-resolver-provider';

import { StackManagerProvider } from './stack-manager-provider';
import { AppSyncAuthConfiguration, GraphQLAPIProvider } from '../graphql-api-provider';
import { AppSyncAuthConfiguration, GraphQLAPIProvider, VpcConfig } from '../graphql-api-provider';
import { TransformerResourceHelperProvider } from './resource-resource-provider';

@@ -36,2 +36,3 @@ import { TransformParameters } from './transform-parameters';

getResolverConfig<ResolverConfig>(): ResolverConfig | undefined;
readonly sqlLambdaVpcConfig?: VpcConfig;
}

@@ -38,0 +39,0 @@ export type TransformerBeforeStepContextProvider = Pick<TransformerContextProvider, 'inputDocument' | 'modelToDatasourceMap' | 'transformParameters' | 'isProjectUsingDataStore' | 'getResolverConfig' | 'authConfig' | 'stackManager' | 'sandboxModeEnabled'>;

{
"name": "@aws-amplify/graphql-transformer-interfaces",
"version": "2.2.3-alpha.0+0dd31fced",
"version": "2.3.0-rds.0",
"description": "Amplify GraphQL transformer interface definitions",

@@ -50,3 +50,3 @@ "repository": {

},
"gitHead": "0dd31fced2bc070cb8fe417c34cc1b6b37a5f801"
"gitHead": "2d85e1f0f0fc383c0bbaf7269258a8ad6d527860"
}

@@ -67,2 +67,11 @@ import {

/**
* VpcConfig required to deploy a lambda in a VPC
*/
export type VpcConfig = {
vpcId: string;
subnetIds: string[];
securityGroupIds: string[];
};
export interface AppSyncFunctionConfigurationProvider extends IConstruct {

@@ -69,0 +78,0 @@ readonly arn: string;

@@ -30,2 +30,3 @@ export * from './transformer-context';

UserPoolConfig,
VpcConfig,
SearchableDataSourceOptions,

@@ -32,0 +33,0 @@ } from './graphql-api-provider';

@@ -19,2 +19,3 @@ import { Duration, Stack } from 'aws-cdk-lib';

MappingTemplateProvider,
VpcConfig,
} from './graphql-api-provider';

@@ -74,2 +75,3 @@

stack?: Stack,
vpc?: VpcConfig,
) => IFunction;

@@ -76,0 +78,0 @@

@@ -7,3 +7,3 @@ import { TransformerResolversManagerProvider } from './transformer-resolver-provider';

import { StackManagerProvider } from './stack-manager-provider';
import { AppSyncAuthConfiguration, GraphQLAPIProvider } from '../graphql-api-provider';
import { AppSyncAuthConfiguration, GraphQLAPIProvider, VpcConfig } from '../graphql-api-provider';
import { TransformerResourceHelperProvider } from './resource-resource-provider';

@@ -39,2 +39,3 @@ import { TransformParameters } from './transform-parameters';

getResolverConfig<ResolverConfig>(): ResolverConfig | undefined;
readonly sqlLambdaVpcConfig?: VpcConfig;
}

@@ -41,0 +42,0 @@

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc