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

@aws-cdk/aws-appsync-alpha

Package Overview
Dependencies
Maintainers
5
Versions
92
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@aws-cdk/aws-appsync-alpha - npm Package Compare versions

Comparing version 2.13.0-alpha.0 to 2.14.0-alpha.0

14

.warnings.jsii.js

@@ -75,8 +75,6 @@ function _aws_cdk_aws_appsync_alpha_Type(p) {

}
function _aws_cdk_aws_appsync_alpha_ResolverProps(p) {
function _aws_cdk_aws_appsync_alpha_ExtendedResolverProps(p) {
if (p == null)
return;
visitedObjects.add(p);
if (!visitedObjects.has(p.api))
_aws_cdk_aws_appsync_alpha_IGraphqlApi(p.api);
if (!visitedObjects.has(p.dataSource))

@@ -94,6 +92,8 @@ _aws_cdk_aws_appsync_alpha_BaseDataSource(p.dataSource);

}
function _aws_cdk_aws_appsync_alpha_ExtendedResolverProps(p) {
function _aws_cdk_aws_appsync_alpha_ResolverProps(p) {
if (p == null)
return;
visitedObjects.add(p);
if (!visitedObjects.has(p.api))
_aws_cdk_aws_appsync_alpha_IGraphqlApi(p.api);
if (!visitedObjects.has(p.dataSource))

@@ -353,6 +353,6 @@ _aws_cdk_aws_appsync_alpha_BaseDataSource(p.dataSource);

}
function _aws_cdk_aws_appsync_alpha_InputType(p) {
}
function _aws_cdk_aws_appsync_alpha_UnionType(p) {
}
function _aws_cdk_aws_appsync_alpha_InputType(p) {
}
function _aws_cdk_aws_appsync_alpha_EnumType(p) {

@@ -403,3 +403,3 @@ }

}
module.exports = { print, _aws_cdk_aws_appsync_alpha_Type, _aws_cdk_aws_appsync_alpha_AuthorizationType, _aws_cdk_aws_appsync_alpha_UserPoolDefaultAction, _aws_cdk_aws_appsync_alpha_FieldLogLevel, _aws_cdk_aws_appsync_alpha_AppsyncFunctionAttributes, _aws_cdk_aws_appsync_alpha_AwsIamConfig, _aws_cdk_aws_appsync_alpha_SchemaOptions, _aws_cdk_aws_appsync_alpha_EnumTypeOptions, _aws_cdk_aws_appsync_alpha_GraphqlApiAttributes, _aws_cdk_aws_appsync_alpha_DataSourceOptions, _aws_cdk_aws_appsync_alpha_Assign, _aws_cdk_aws_appsync_alpha_OpenIdConnectConfig, _aws_cdk_aws_appsync_alpha_BaseTypeOptions, _aws_cdk_aws_appsync_alpha_NoneDataSourceProps, _aws_cdk_aws_appsync_alpha_BaseDataSourceProps, _aws_cdk_aws_appsync_alpha_UnionTypeOptions, _aws_cdk_aws_appsync_alpha_AddFieldOptions, _aws_cdk_aws_appsync_alpha_IAppsyncFunction, _aws_cdk_aws_appsync_alpha_CachingConfig, _aws_cdk_aws_appsync_alpha_ApiKeyConfig, _aws_cdk_aws_appsync_alpha_HttpDataSourceProps, _aws_cdk_aws_appsync_alpha_ResolverProps, _aws_cdk_aws_appsync_alpha_ExtendedResolverProps, _aws_cdk_aws_appsync_alpha_ObjectTypeOptions, _aws_cdk_aws_appsync_alpha_GraphqlTypeOptions, _aws_cdk_aws_appsync_alpha_HttpDataSourceOptions, _aws_cdk_aws_appsync_alpha_IntermediateTypeOptions, _aws_cdk_aws_appsync_alpha_AuthorizationConfig, _aws_cdk_aws_appsync_alpha_PartitionKeyStep, _aws_cdk_aws_appsync_alpha_AttributeValues, _aws_cdk_aws_appsync_alpha_AttributeValuesStep, _aws_cdk_aws_appsync_alpha_Values, _aws_cdk_aws_appsync_alpha_BaseAppsyncFunctionProps, _aws_cdk_aws_appsync_alpha_BackedDataSourceProps, _aws_cdk_aws_appsync_alpha_DynamoDbDataSourceProps, _aws_cdk_aws_appsync_alpha_LambdaDataSourceProps, _aws_cdk_aws_appsync_alpha_ElasticsearchDataSourceProps, _aws_cdk_aws_appsync_alpha_LambdaAuthorizerConfig, _aws_cdk_aws_appsync_alpha_AppsyncFunctionProps, _aws_cdk_aws_appsync_alpha_PartitionKey, _aws_cdk_aws_appsync_alpha_NoneDataSource, _aws_cdk_aws_appsync_alpha_DynamoDbDataSource, _aws_cdk_aws_appsync_alpha_HttpDataSource, _aws_cdk_aws_appsync_alpha_LambdaDataSource, _aws_cdk_aws_appsync_alpha_RdsDataSource, _aws_cdk_aws_appsync_alpha_ElasticsearchDataSource, _aws_cdk_aws_appsync_alpha_Resolver, _aws_cdk_aws_appsync_alpha_FieldOptions, _aws_cdk_aws_appsync_alpha_SortKeyStep, _aws_cdk_aws_appsync_alpha_GraphqlApiProps, _aws_cdk_aws_appsync_alpha_UserPoolConfig, _aws_cdk_aws_appsync_alpha_RdsDataSourceProps, _aws_cdk_aws_appsync_alpha_ResolvableField, _aws_cdk_aws_appsync_alpha_IField, _aws_cdk_aws_appsync_alpha_PrimaryKey, _aws_cdk_aws_appsync_alpha_BaseResolverProps, _aws_cdk_aws_appsync_alpha_IamResource, _aws_cdk_aws_appsync_alpha_Field, _aws_cdk_aws_appsync_alpha_ResolvableFieldOptions, _aws_cdk_aws_appsync_alpha_AuthorizationMode, _aws_cdk_aws_appsync_alpha_LogConfig, _aws_cdk_aws_appsync_alpha_BackedDataSource, _aws_cdk_aws_appsync_alpha_UnionType, _aws_cdk_aws_appsync_alpha_InputType, _aws_cdk_aws_appsync_alpha_EnumType, _aws_cdk_aws_appsync_alpha_AppsyncFunction, _aws_cdk_aws_appsync_alpha_InterfaceType, _aws_cdk_aws_appsync_alpha_ObjectType, _aws_cdk_aws_appsync_alpha_IIntermediateType, _aws_cdk_aws_appsync_alpha_KeyCondition, _aws_cdk_aws_appsync_alpha_BaseDataSource, _aws_cdk_aws_appsync_alpha_ExtendedDataSourceProps, _aws_cdk_aws_appsync_alpha_Directive, _aws_cdk_aws_appsync_alpha_Schema, _aws_cdk_aws_appsync_alpha_MappingTemplate, _aws_cdk_aws_appsync_alpha_IGraphqlApi, _aws_cdk_aws_appsync_alpha_GraphqlApiBase, _aws_cdk_aws_appsync_alpha_GraphqlApi, _aws_cdk_aws_appsync_alpha_GraphqlType };
module.exports = { print, _aws_cdk_aws_appsync_alpha_Type, _aws_cdk_aws_appsync_alpha_AuthorizationType, _aws_cdk_aws_appsync_alpha_UserPoolDefaultAction, _aws_cdk_aws_appsync_alpha_FieldLogLevel, _aws_cdk_aws_appsync_alpha_AppsyncFunctionAttributes, _aws_cdk_aws_appsync_alpha_AwsIamConfig, _aws_cdk_aws_appsync_alpha_SchemaOptions, _aws_cdk_aws_appsync_alpha_EnumTypeOptions, _aws_cdk_aws_appsync_alpha_GraphqlApiAttributes, _aws_cdk_aws_appsync_alpha_DataSourceOptions, _aws_cdk_aws_appsync_alpha_Assign, _aws_cdk_aws_appsync_alpha_OpenIdConnectConfig, _aws_cdk_aws_appsync_alpha_BaseTypeOptions, _aws_cdk_aws_appsync_alpha_NoneDataSourceProps, _aws_cdk_aws_appsync_alpha_BaseDataSourceProps, _aws_cdk_aws_appsync_alpha_UnionTypeOptions, _aws_cdk_aws_appsync_alpha_AddFieldOptions, _aws_cdk_aws_appsync_alpha_IAppsyncFunction, _aws_cdk_aws_appsync_alpha_CachingConfig, _aws_cdk_aws_appsync_alpha_ApiKeyConfig, _aws_cdk_aws_appsync_alpha_HttpDataSourceProps, _aws_cdk_aws_appsync_alpha_ExtendedResolverProps, _aws_cdk_aws_appsync_alpha_ResolverProps, _aws_cdk_aws_appsync_alpha_ObjectTypeOptions, _aws_cdk_aws_appsync_alpha_GraphqlTypeOptions, _aws_cdk_aws_appsync_alpha_HttpDataSourceOptions, _aws_cdk_aws_appsync_alpha_IntermediateTypeOptions, _aws_cdk_aws_appsync_alpha_AuthorizationConfig, _aws_cdk_aws_appsync_alpha_PartitionKeyStep, _aws_cdk_aws_appsync_alpha_AttributeValues, _aws_cdk_aws_appsync_alpha_AttributeValuesStep, _aws_cdk_aws_appsync_alpha_Values, _aws_cdk_aws_appsync_alpha_BaseAppsyncFunctionProps, _aws_cdk_aws_appsync_alpha_BackedDataSourceProps, _aws_cdk_aws_appsync_alpha_DynamoDbDataSourceProps, _aws_cdk_aws_appsync_alpha_LambdaDataSourceProps, _aws_cdk_aws_appsync_alpha_ElasticsearchDataSourceProps, _aws_cdk_aws_appsync_alpha_LambdaAuthorizerConfig, _aws_cdk_aws_appsync_alpha_AppsyncFunctionProps, _aws_cdk_aws_appsync_alpha_PartitionKey, _aws_cdk_aws_appsync_alpha_NoneDataSource, _aws_cdk_aws_appsync_alpha_DynamoDbDataSource, _aws_cdk_aws_appsync_alpha_HttpDataSource, _aws_cdk_aws_appsync_alpha_LambdaDataSource, _aws_cdk_aws_appsync_alpha_RdsDataSource, _aws_cdk_aws_appsync_alpha_ElasticsearchDataSource, _aws_cdk_aws_appsync_alpha_Resolver, _aws_cdk_aws_appsync_alpha_FieldOptions, _aws_cdk_aws_appsync_alpha_SortKeyStep, _aws_cdk_aws_appsync_alpha_GraphqlApiProps, _aws_cdk_aws_appsync_alpha_UserPoolConfig, _aws_cdk_aws_appsync_alpha_RdsDataSourceProps, _aws_cdk_aws_appsync_alpha_ResolvableField, _aws_cdk_aws_appsync_alpha_IField, _aws_cdk_aws_appsync_alpha_PrimaryKey, _aws_cdk_aws_appsync_alpha_BaseResolverProps, _aws_cdk_aws_appsync_alpha_IamResource, _aws_cdk_aws_appsync_alpha_Field, _aws_cdk_aws_appsync_alpha_ResolvableFieldOptions, _aws_cdk_aws_appsync_alpha_AuthorizationMode, _aws_cdk_aws_appsync_alpha_LogConfig, _aws_cdk_aws_appsync_alpha_BackedDataSource, _aws_cdk_aws_appsync_alpha_InputType, _aws_cdk_aws_appsync_alpha_UnionType, _aws_cdk_aws_appsync_alpha_EnumType, _aws_cdk_aws_appsync_alpha_AppsyncFunction, _aws_cdk_aws_appsync_alpha_InterfaceType, _aws_cdk_aws_appsync_alpha_ObjectType, _aws_cdk_aws_appsync_alpha_IIntermediateType, _aws_cdk_aws_appsync_alpha_KeyCondition, _aws_cdk_aws_appsync_alpha_BaseDataSource, _aws_cdk_aws_appsync_alpha_ExtendedDataSourceProps, _aws_cdk_aws_appsync_alpha_Directive, _aws_cdk_aws_appsync_alpha_Schema, _aws_cdk_aws_appsync_alpha_MappingTemplate, _aws_cdk_aws_appsync_alpha_IGraphqlApi, _aws_cdk_aws_appsync_alpha_GraphqlApiBase, _aws_cdk_aws_appsync_alpha_GraphqlApi, _aws_cdk_aws_appsync_alpha_GraphqlType };
module.exports.DeprecationError = DeprecationError;

@@ -56,3 +56,3 @@ "use strict";

_a = JSII_RTTI_SYMBOL_1;
AppsyncFunction[_a] = { fqn: "@aws-cdk/aws-appsync-alpha.AppsyncFunction", version: "2.13.0-alpha.0" };
AppsyncFunction[_a] = { fqn: "@aws-cdk/aws-appsync-alpha.AppsyncFunction", version: "2.14.0-alpha.0" };
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYXBwc3luYy1mdW5jdGlvbi5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbImFwcHN5bmMtZnVuY3Rpb24udHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7O0FBQUEsNkNBQTREO0FBRTVELHlEQUFtRTtBQTJFbkU7Ozs7OztHQU1HO0FBQ0gsTUFBYSxlQUFnQixTQUFRLHNCQUFRO0lBNEMzQyxZQUFtQixLQUFnQixFQUFFLEVBQVUsRUFBRSxLQUEyQjs7UUFDMUUsS0FBSyxDQUFDLEtBQUssRUFBRSxFQUFFLENBQUMsQ0FBQzs7UUFDakIsSUFBSSxDQUFDLFFBQVEsR0FBRyxJQUFJLHNDQUF3QixDQUFDLElBQUksRUFBRSxVQUFVLEVBQUU7WUFDN0QsSUFBSSxFQUFFLEtBQUssQ0FBQyxJQUFJO1lBQ2hCLFdBQVcsRUFBRSxLQUFLLENBQUMsV0FBVztZQUM5QixLQUFLLEVBQUUsS0FBSyxDQUFDLEdBQUcsQ0FBQyxLQUFLO1lBQ3RCLGNBQWMsRUFBRSxLQUFLLENBQUMsVUFBVSxDQUFDLElBQUk7WUFDckMsZUFBZSxFQUFFLFlBQVk7WUFDN0Isc0JBQXNCLFFBQUUsS0F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aXMuZnVuY3Rpb24uYXR0ck5hbWU7XG4gICAgdGhpcy5mdW5jdGlvbkFybiA9IHRoaXMuZnVuY3Rpb24uYXR0ckZ1bmN0aW9uQXJuO1xuICAgIHRoaXMuZnVuY3Rpb25JZCA9IHRoaXMuZnVuY3Rpb24uYXR0ckZ1bmN0aW9uSWQ7XG4gICAgdGhpcy5kYXRhU291cmNlID0gcHJvcHMuZGF0YVNvdXJjZTtcblxuICAgIHRoaXMuZnVuY3Rpb24uYWRkRGVwZW5kc09uKHRoaXMuZGF0YVNvdXJjZS5kcyk7XG4gICAgcHJvcHMuYXBpLmFkZFNjaGVtYURlcGVuZGVuY3kodGhpcy5mdW5jdGlvbik7XG4gIH1cbn0iXX0=

@@ -62,3 +62,3 @@ "use strict";

_a = JSII_RTTI_SYMBOL_1;
BaseDataSource[_a] = { fqn: "@aws-cdk/aws-appsync-alpha.BaseDataSource", version: "2.13.0-alpha.0" };
BaseDataSource[_a] = { fqn: "@aws-cdk/aws-appsync-alpha.BaseDataSource", version: "2.14.0-alpha.0" };
/**

@@ -77,3 +77,3 @@ * Abstract AppSync datasource implementation. Do not use directly but use subclasses for resource backed datasources

_b = JSII_RTTI_SYMBOL_1;
BackedDataSource[_b] = { fqn: "@aws-cdk/aws-appsync-alpha.BackedDataSource", version: "2.13.0-alpha.0" };
BackedDataSource[_b] = { fqn: "@aws-cdk/aws-appsync-alpha.BackedDataSource", version: "2.14.0-alpha.0" };
/**

@@ -92,3 +92,3 @@ * An AppSync dummy datasource

_c = JSII_RTTI_SYMBOL_1;
NoneDataSource[_c] = { fqn: "@aws-cdk/aws-appsync-alpha.NoneDataSource", version: "2.13.0-alpha.0" };
NoneDataSource[_c] = { fqn: "@aws-cdk/aws-appsync-alpha.NoneDataSource", version: "2.14.0-alpha.0" };
/**

@@ -118,3 +118,3 @@ * An AppSync datasource backed by a DynamoDB table

_d = JSII_RTTI_SYMBOL_1;
DynamoDbDataSource[_d] = { fqn: "@aws-cdk/aws-appsync-alpha.DynamoDbDataSource", version: "2.13.0-alpha.0" };
DynamoDbDataSource[_d] = { fqn: "@aws-cdk/aws-appsync-alpha.DynamoDbDataSource", version: "2.14.0-alpha.0" };
/**

@@ -141,3 +141,3 @@ * An AppSync datasource backed by a http endpoint

_e = JSII_RTTI_SYMBOL_1;
HttpDataSource[_e] = { fqn: "@aws-cdk/aws-appsync-alpha.HttpDataSource", version: "2.13.0-alpha.0" };
HttpDataSource[_e] = { fqn: "@aws-cdk/aws-appsync-alpha.HttpDataSource", version: "2.14.0-alpha.0" };
/**

@@ -160,3 +160,3 @@ * An AppSync datasource backed by a Lambda function

_f = JSII_RTTI_SYMBOL_1;
LambdaDataSource[_f] = { fqn: "@aws-cdk/aws-appsync-alpha.LambdaDataSource", version: "2.13.0-alpha.0" };
LambdaDataSource[_f] = { fqn: "@aws-cdk/aws-appsync-alpha.LambdaDataSource", version: "2.14.0-alpha.0" };
/**

@@ -210,3 +210,3 @@ * An AppSync datasource backed by RDS

_g = JSII_RTTI_SYMBOL_1;
RdsDataSource[_g] = { fqn: "@aws-cdk/aws-appsync-alpha.RdsDataSource", version: "2.13.0-alpha.0" };
RdsDataSource[_g] = { fqn: "@aws-cdk/aws-appsync-alpha.RdsDataSource", version: "2.14.0-alpha.0" };
/**

@@ -230,3 +230,3 @@ * An Appsync datasource backed by Elasticsearch

_h = JSII_RTTI_SYMBOL_1;
ElasticsearchDataSource[_h] = { fqn: "@aws-cdk/aws-appsync-alpha.ElasticsearchDataSource", version: "2.13.0-alpha.0" };
ElasticsearchDataSource[_h] = { fqn: "@aws-cdk/aws-appsync-alpha.ElasticsearchDataSource", version: "2.14.0-alpha.0" };
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZGF0YS1zb3VyY2UuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyJkYXRhLXNvdXJjZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7Ozs7QUFFQSxpREFBb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ICAgICBlbmRwb2ludDogYGh0dHBzOi8vJHtwcm9wcy5kb21haW4uZG9tYWluRW5kcG9pbnR9YCxcbiAgICAgIH0sXG4gICAgfSk7XG5cbiAgICBwcm9wcy5kb21haW4uZ3JhbnRSZWFkV3JpdGUodGhpcyk7XG4gIH1cbn0iXX0=

@@ -135,3 +135,3 @@ "use strict";

_a = JSII_RTTI_SYMBOL_1;
GraphqlApiBase[_a] = { fqn: "@aws-cdk/aws-appsync-alpha.GraphqlApiBase", version: "2.13.0-alpha.0" };
GraphqlApiBase[_a] = { fqn: "@aws-cdk/aws-appsync-alpha.GraphqlApiBase", version: "2.14.0-alpha.0" };
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZ3JhcGhxbGFwaS1iYXNlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiZ3JhcGhxbGFwaS1iYXNlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7OztBQUtBLDZDQUErRDtBQUMvRCwrQ0FBMko7QUFDM0oseUNBQTZEO0FBZ0k3RDs7R0FFRztBQUNILE1BQXNCLGNBQWUsU0FBUSxzQkFBUTtJQWFuRDs7Ozs7O09BTUc7SUFDSSxpQkFBaUIsQ0FBQyxFQUFVLEVBQUUsT0FBMkI7O1FBQzlELE9BQU8sSUFBSSw0QkFBYyxDQUFDLElBQUksRUFBRSxFQUFFLEVBQUU7WUFDbEMsR0FBRyxFQUFFLElBQUk7WUFDVCxJQUFJLEVBQUUsT0FBTyxhQUFQLE9BQU8sdUJBQVAsT0FBTyxDQUFFLElBQUk7WUFDbkIsV0FBVyxFQUFFLE9BQU8sYUFBUCxPQUFPLHVCQUFQLE9BQU8sQ0FBRSxXQUFXO1NBQ2xDLENBQUMsQ0FBQztLQUNKO0lBRUQ7Ozs7OztPQU1HO0lBQ0kscUJBQXFCLENBQUMsRUFBVSxFQUFFLEtBQWEsRUFBRSxPQUEyQjs7UUFDakYsT0FB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c2VhcmNoRGF0YVNvdXJjZSh0aGlzLCBpZCwge1xuICAgICAgYXBpOiB0aGlzLFxuICAgICAgbmFtZTogb3B0aW9ucz8ubmFtZSxcbiAgICAgIGRlc2NyaXB0aW9uOiBvcHRpb25zPy5kZXNjcmlwdGlvbixcbiAgICAgIGRvbWFpbixcbiAgICB9KTtcbiAgfVxuXG4gIC8qKlxuICAgKiBjcmVhdGVzIGEgbmV3IHJlc29sdmVyIGZvciB0aGlzIGRhdGFzb3VyY2UgYW5kIEFQSSB1c2luZyB0aGUgZ2l2ZW4gcHJvcGVydGllc1xuICAgKi9cbiAgcHVibGljIGNyZWF0ZVJlc29sdmVyKHByb3BzOiBFeHRlbmRlZFJlc29sdmVyUHJvcHMpOiBSZXNvbHZlciB7XG4gICAgcmV0dXJuIG5ldyBSZXNvbHZlcih0aGlzLCBgJHtwcm9wcy50eXBlTmFtZX0ke3Byb3BzLmZpZWxkTmFtZX1SZXNvbHZlcmAsIHtcbiAgICAgIGFwaTogdGhpcyxcbiAgICAgIC4uLnByb3BzLFxuICAgIH0pO1xuICB9XG5cbiAgLyoqXG4gICAqIEFkZCBzY2hlbWEgZGVwZW5kZW5jeSBpZiBub3QgaW1wb3J0ZWRcbiAgICpcbiAgICogQHBhcmFtIGNvbnN0cnVjdCB0aGUgZGVwZW5kZWVcbiAgICovXG4gIHB1YmxpYyBhZGRTY2hlbWFEZXBlbmRlbmN5KGNvbnN0cnVjdDogQ2ZuUmVzb3VyY2UpOiBib29sZWFuIHtcbiAgICBjb25zdHJ1Y3Q7XG4gICAgcmV0dXJuIGZhbHNlO1xuICB9XG59Il19

@@ -125,3 +125,3 @@ "use strict";

_a = JSII_RTTI_SYMBOL_1;
IamResource[_a] = { fqn: "@aws-cdk/aws-appsync-alpha.IamResource", version: "2.13.0-alpha.0" };
IamResource[_a] = { fqn: "@aws-cdk/aws-appsync-alpha.IamResource", version: "2.14.0-alpha.0" };
/**

@@ -408,3 +408,3 @@ * An AppSync GraphQL API

_b = JSII_RTTI_SYMBOL_1;
GraphqlApi[_b] = { fqn: "@aws-cdk/aws-appsync-alpha.GraphqlApi", version: "2.13.0-alpha.0" };
GraphqlApi[_b] = { fqn: "@aws-cdk/aws-appsync-alpha.GraphqlApi", version: "2.14.0-alpha.0" };
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZ3JhcGhxbGFwaS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbImdyYXBocWxhcGkudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7O0FBQ0EsaURBQXNHO0FBRXRHLDZDQUErRjtBQUUvRix5REFBcUY7QUFDckYsdURBQWdFO0FBQ2hFLHFDQUFrQztBQUtsQzs7R0FFRztBQUNILElBQVksaUJBcUJYO0FBckJELFdBQVksaUJBQWlCO0lBQzNCOztPQUVHO0lBQ0gsd0NBQW1CLENBQUE7SUFDbkI7O09BRUc7SUFDSCxvQ0FBZSxDQUFBO0lBQ2Y7O09BRUc7SUFDSCw0REFBdUMsQ0FBQTtJQUN2Qzs7T0FFRztJQUNILDRDQUF1QixDQUFBO0lBQ3ZCOztPQUVHO0lBQ0gsMENBQXFCLENBQUE7QUFDdkIsQ0FBQyxFQXJCVyxpQkFBaUIsR0FBakIseUJBQWlCLEtBQWpCLHlCQUFpQixRQXFCNUI7QUFvQ0Q7O0dBRUc7QUFDSCxJQUFZLHFCQVNYO0FBVEQsV0FBWSxxQkFBcUI7SUFDL0I7O09BRUc7SUFDSCx3Q0FBZSxDQUFBO0lBQ2Y7O09BRUc7SUFDSCxzQ0FBYSxDQUFBO0FBQ2YsQ0FBQyxFQVRXLHFCQUFxQixHQUFyQiw2QkFBcUIsS0FBckIsNkJBQXFCLFFBU2hDO0FBaUlEOztHQUVHO0FBQ0gsSUFBWSxhQWFYO0FBYkQsV0FBWSxhQUFhO0lBQ3ZCOztPQUVHO0lBQ0gsOEJBQWEsQ0FBQTtJQUNiOztPQUVHO0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kKTtcbiAgfVxuXG4gIC8qKlxuICAgKiBBZGQgYSBzdWJzY3JpcHRpb24gZmllbGQgdG8gdGhlIHNjaGVtYSdzIFN1YnNjcmlwdGlvbi4gQ0RLIHdpbGwgY3JlYXRlIGFuXG4gICAqIE9iamVjdCBUeXBlIGNhbGxlZCAnU3Vic2NyaXB0aW9uJy4gRm9yIGV4YW1wbGUsXG4gICAqXG4gICAqIHR5cGUgU3Vic2NyaXB0aW9uIHtcbiAgICogICBmaWVsZE5hbWU6IEZpZWxkLnJldHVyblR5cGVcbiAgICogfVxuICAgKlxuICAgKiBAcGFyYW0gZmllbGROYW1lIHRoZSBuYW1lIG9mIHRoZSBTdWJzY3JpcHRpb25cbiAgICogQHBhcmFtIGZpZWxkIHRoZSByZXNvbHZhYmxlIGZpZWxkIHRvIGZvciB0aGlzIFN1YnNjcmlwdGlvblxuICAgKi9cbiAgcHVibGljIGFkZFN1YnNjcmlwdGlvbihmaWVsZE5hbWU6IHN0cmluZywgZmllbGQ6IFJlc29sdmFibGVGaWVsZCk6IE9iamVjdFR5cGUge1xuICAgIHJldHVybiB0aGlzLnNjaGVtYS5hZGRTdWJzY3JpcHRpb24oZmllbGROYW1lLCBmaWVsZCk7XG4gIH1cbn1cbiJdfQ==

@@ -81,3 +81,3 @@ "use strict";

_a = JSII_RTTI_SYMBOL_1;
KeyCondition[_a] = { fqn: "@aws-cdk/aws-appsync-alpha.KeyCondition", version: "2.13.0-alpha.0" };
KeyCondition[_a] = { fqn: "@aws-cdk/aws-appsync-alpha.KeyCondition", version: "2.14.0-alpha.0" };
/**

@@ -106,3 +106,3 @@ * Utility class representing the assigment of a value to an attribute.

_b = JSII_RTTI_SYMBOL_1;
Assign[_b] = { fqn: "@aws-cdk/aws-appsync-alpha.Assign", version: "2.13.0-alpha.0" };
Assign[_b] = { fqn: "@aws-cdk/aws-appsync-alpha.Assign", version: "2.14.0-alpha.0" };
/**

@@ -131,3 +131,3 @@ * Utility class to allow assigning a value or an auto-generated id

_c = JSII_RTTI_SYMBOL_1;
PartitionKeyStep[_c] = { fqn: "@aws-cdk/aws-appsync-alpha.PartitionKeyStep", version: "2.13.0-alpha.0" };
PartitionKeyStep[_c] = { fqn: "@aws-cdk/aws-appsync-alpha.PartitionKeyStep", version: "2.14.0-alpha.0" };
/**

@@ -158,3 +158,3 @@ * Utility class to allow assigning a value or an auto-generated id

_d = JSII_RTTI_SYMBOL_1;
SortKeyStep[_d] = { fqn: "@aws-cdk/aws-appsync-alpha.SortKeyStep", version: "2.13.0-alpha.0" };
SortKeyStep[_d] = { fqn: "@aws-cdk/aws-appsync-alpha.SortKeyStep", version: "2.14.0-alpha.0" };
/**

@@ -192,3 +192,3 @@ * Specifies the assignment to the primary key. It either

_e = JSII_RTTI_SYMBOL_1;
PrimaryKey[_e] = { fqn: "@aws-cdk/aws-appsync-alpha.PrimaryKey", version: "2.13.0-alpha.0" };
PrimaryKey[_e] = { fqn: "@aws-cdk/aws-appsync-alpha.PrimaryKey", version: "2.14.0-alpha.0" };
/**

@@ -212,3 +212,3 @@ * Specifies the assignment to the partition key. It can be

_f = JSII_RTTI_SYMBOL_1;
PartitionKey[_f] = { fqn: "@aws-cdk/aws-appsync-alpha.PartitionKey", version: "2.13.0-alpha.0" };
PartitionKey[_f] = { fqn: "@aws-cdk/aws-appsync-alpha.PartitionKey", version: "2.14.0-alpha.0" };
/**

@@ -244,3 +244,3 @@ * Specifies the attribute value assignments.

_g = JSII_RTTI_SYMBOL_1;
AttributeValues[_g] = { fqn: "@aws-cdk/aws-appsync-alpha.AttributeValues", version: "2.13.0-alpha.0" };
AttributeValues[_g] = { fqn: "@aws-cdk/aws-appsync-alpha.AttributeValues", version: "2.14.0-alpha.0" };
/**

@@ -265,3 +265,3 @@ * Utility class to allow assigning a value to an attribute.

_h = JSII_RTTI_SYMBOL_1;
AttributeValuesStep[_h] = { fqn: "@aws-cdk/aws-appsync-alpha.AttributeValuesStep", version: "2.13.0-alpha.0" };
AttributeValuesStep[_h] = { fqn: "@aws-cdk/aws-appsync-alpha.AttributeValuesStep", version: "2.14.0-alpha.0" };
/**

@@ -289,3 +289,3 @@ * Factory class for attribute value assignments.

_j = JSII_RTTI_SYMBOL_1;
Values[_j] = { fqn: "@aws-cdk/aws-appsync-alpha.Values", version: "2.13.0-alpha.0" };
Values[_j] = { fqn: "@aws-cdk/aws-appsync-alpha.Values", version: "2.14.0-alpha.0" };
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoia2V5LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsia2V5LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7OztBQUFBLHVDQUFtRjtBQUVuRjs7R0FFRztBQUNILE1BQWEsWUFBWTtJQW1EdkIsWUFBcUMsSUFBc0I7UUFBdEIsU0FBSSxHQUFKLElBQUksQ0FBa0I7S0FBSztJQWpEaEU7O09BRUc7SUFDSSxNQUFNLENBQUMsRUFBRSxDQUFDLE9BQWUsRUFBRSxHQUFXO1FBQzNDLE9BQU8sSUFBSSxZQUFZLENBQUMsSUFBSSx5QkFBZSxDQUFDLE9BQU8sRUFBRSxHQUFHLEVBQUUsR0FBRyxDQUFDLENBQUMsQ0FBQztLQUNqRTtJQUVEOztPQUVHO0lBQ0ksTUFBTSxDQUFDLEVBQUUsQ0FBQyxPQUFlLEVBQUUsR0FBVztRQUMzQyxPQUFPLElBQUksWUFBWSxDQUFDLElBQUkseUJBQWUsQ0FBQyxPQUFPLEVBQUUsR0FBRyxFQUFFLEdBQUcsQ0FBQyxDQUFDLENBQUM7S0FDakU7SUFFRDs7T0FFRztJQUNJLE1BQU0sQ0FBQyxFQUFFLENBQUMsT0FBZSxFQUFFLEdBQVc7UUFDM0MsT0FBTyxJQUFJLFlBQVksQ0FBQyxJQUFJLHlCQUFlLENBQUMsT0FBTyxFQUFFLElBQUksRUFBRSxHQUFHLENBQUMsQ0FBQyxDQUFDO0tBQ2xFO0lBRUQ7O09BRU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1cm4gbmV3IEF0dHJpYnV0ZVZhbHVlcygne30nKS5hdHRyaWJ1dGUoYXR0cik7XG4gIH1cbn1cbiJdfQ==

@@ -106,3 +106,3 @@ "use strict";

_a = JSII_RTTI_SYMBOL_1;
MappingTemplate[_a] = { fqn: "@aws-cdk/aws-appsync-alpha.MappingTemplate", version: "2.13.0-alpha.0" };
MappingTemplate[_a] = { fqn: "@aws-cdk/aws-appsync-alpha.MappingTemplate", version: "2.14.0-alpha.0" };
class StringMappingTemplate extends MappingTemplate {

@@ -109,0 +109,0 @@ constructor(template) {

@@ -60,3 +60,3 @@ "use strict";

_a = JSII_RTTI_SYMBOL_1;
Resolver[_a] = { fqn: "@aws-cdk/aws-appsync-alpha.Resolver", version: "2.13.0-alpha.0" };
Resolver[_a] = { fqn: "@aws-cdk/aws-appsync-alpha.Resolver", version: "2.14.0-alpha.0" };
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicmVzb2x2ZXIuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyJyZXNvbHZlci50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7Ozs7QUFBQSw2Q0FBb0M7QUFDcEMsMkNBQXVDO0FBRXZDLHlEQUFzRDtBQUV0RCwrQ0FBa0Q7QUFrRWxEOztHQUVHO0FBQ0gsTUFBYSxRQUFTLFNBQVEsc0JBQVM7SUFRckMsWUFBWSxLQUFnQixFQUFFLEVBQVUsRUFBRSxLQUFvQjs7UUFDNUQsS0FBSyxDQUFDLEtBQUssRUFBRSxFQUFFLENBQUMsQ0FBQzs7UUFFakIsTUFBTSxjQUFjLEdBQUcsS0FBSyxDQUFDLGNBQWMsSUFBSSxLQUFLLENBQUMsY0FBYyxDQUFDLE1BQU0sQ0FBQyxDQUFDO1lBQzFFLEVBQUUsU0FBUyxFQUFFLEtBQUssQ0FBQyxjQUFjLENBQUMsR0FBRyxDQUFDLENBQUMsSUFBSSxFQUFFLEVBQUUsQ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ZU1hcHBpbmdUZW1wbGF0ZTogcHJvcHMucmVzcG9uc2VNYXBwaW5nVGVtcGxhdGUgPyBwcm9wcy5yZXNwb25zZU1hcHBpbmdUZW1wbGF0ZS5yZW5kZXJUZW1wbGF0ZSgpIDogdW5kZWZpbmVkLFxuICAgICAgY2FjaGluZ0NvbmZpZzogdGhpcy5jcmVhdGVDYWNoaW5nQ29uZmlnKHByb3BzLmNhY2hpbmdDb25maWcpLFxuICAgIH0pO1xuICAgIHByb3BzLmFwaS5hZGRTY2hlbWFEZXBlbmRlbmN5KHRoaXMucmVzb2x2ZXIpO1xuICAgIGlmIChwcm9wcy5kYXRhU291cmNlKSB7XG4gICAgICB0aGlzLnJlc29sdmVyLmFkZERlcGVuZHNPbihwcm9wcy5kYXRhU291cmNlLmRzKTtcbiAgICB9XG4gICAgdGhpcy5hcm4gPSB0aGlzLnJlc29sdmVyLmF0dHJSZXNvbHZlckFybjtcbiAgfVxuXG4gIHByaXZhdGUgY3JlYXRlQ2FjaGluZ0NvbmZpZyhjb25maWc/OiBDYWNoaW5nQ29uZmlnKSB7XG4gICAgcmV0dXJuIGNvbmZpZyA/IHtcbiAgICAgIGNhY2hpbmdLZXlzOiBjb25maWcuY2FjaGluZ0tleXMsXG4gICAgICB0dGw6IGNvbmZpZy50dGw/LnRvU2Vjb25kcygpLFxuICAgIH0gOiB1bmRlZmluZWQ7XG4gIH1cblxufVxuIl19

@@ -101,3 +101,3 @@ "use strict";

_a = JSII_RTTI_SYMBOL_1;
Directive[_a] = { fqn: "@aws-cdk/aws-appsync-alpha.Directive", version: "2.13.0-alpha.0" };
Directive[_a] = { fqn: "@aws-cdk/aws-appsync-alpha.Directive", version: "2.14.0-alpha.0" };
/**

@@ -104,0 +104,0 @@ * Enum containing the Types that can be used to define ObjectTypes

@@ -257,3 +257,3 @@ "use strict";

_a = JSII_RTTI_SYMBOL_1;
GraphqlType[_a] = { fqn: "@aws-cdk/aws-appsync-alpha.GraphqlType", version: "2.13.0-alpha.0" };
GraphqlType[_a] = { fqn: "@aws-cdk/aws-appsync-alpha.GraphqlType", version: "2.14.0-alpha.0" };
/**

@@ -296,3 +296,3 @@ * Fields build upon Graphql Types and provide typing

_b = JSII_RTTI_SYMBOL_1;
Field[_b] = { fqn: "@aws-cdk/aws-appsync-alpha.Field", version: "2.13.0-alpha.0" };
Field[_b] = { fqn: "@aws-cdk/aws-appsync-alpha.Field", version: "2.14.0-alpha.0" };
/**

@@ -315,3 +315,3 @@ * Resolvable Fields build upon Graphql Types and provide fields

_c = JSII_RTTI_SYMBOL_1;
ResolvableField[_c] = { fqn: "@aws-cdk/aws-appsync-alpha.ResolvableField", version: "2.13.0-alpha.0" };
ResolvableField[_c] = { fqn: "@aws-cdk/aws-appsync-alpha.ResolvableField", version: "2.14.0-alpha.0" };
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2NoZW1hLWZpZWxkLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsic2NoZW1hLWZpZWxkLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7OztBQUlBLCtDQUEyRTtBQXNEM0U7Ozs7Ozs7O0dBUUc7QUFDSCxNQUFhLFdBQVc7SUFtT3RCLFlBQXNCLElBQVUsRUFBRSxPQUE0Qjs7OztRQUM1RCxJQUFJLENBQUMsSUFBSSxHQUFHLElBQUksQ0FBQztRQUNqQixJQUFJLENBQUMsTUFBTSxTQUFHLE9BQU8sYUFBUCxPQUFPLHVCQUFQLE9BQU8sQ0FBRSxNQUFNLG1DQUFJLEtBQUssQ0FBQztRQUN2QyxJQUFJLENBQUMsVUFBVSxTQUFHLE9BQU8sYUFBUCxPQUFPLHVCQUFQLE9BQU8sQ0FBRSxVQUFVLG1DQUFJLEtBQUssQ0FBQztRQUMvQyxJQUFJLENBQUMsY0FBYyxTQUFHLE9BQU8sYUFBUCxPQUFPLHVCQUFQLE9BQU8sQ0FBRSxjQUFjLG1DQUFJLEtB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GRhdGEgc291cmNlLlxuICovXG5leHBvcnQgY2xhc3MgUmVzb2x2YWJsZUZpZWxkIGV4dGVuZHMgRmllbGQgaW1wbGVtZW50cyBJRmllbGQge1xuICAvKipcbiAgICogVGhlIG9wdGlvbnMgdG8gbWFrZSB0aGlzIGZpZWxkIHJlc29sdmFibGVcbiAgICpcbiAgICogQGRlZmF1bHQgLSBub3QgYSByZXNvbHZhYmxlIGZpZWxkXG4gICAqL1xuICBwdWJsaWMgcmVhZG9ubHkgZmllbGRPcHRpb25zPzogUmVzb2x2YWJsZUZpZWxkT3B0aW9ucztcblxuICBwdWJsaWMgY29uc3RydWN0b3Iob3B0aW9uczogUmVzb2x2YWJsZUZpZWxkT3B0aW9ucykge1xuICAgIGNvbnN0IHByb3BzID0ge1xuICAgICAgcmV0dXJuVHlwZTogb3B0aW9ucy5yZXR1cm5UeXBlLFxuICAgICAgYXJnczogb3B0aW9ucy5hcmdzLFxuICAgIH07XG4gICAgc3VwZXIocHJvcHMpO1xuICAgIHRoaXMuZmllbGRPcHRpb25zID0gb3B0aW9ucztcbiAgfVxufSJdfQ==

@@ -76,3 +76,3 @@ "use strict";

_a = JSII_RTTI_SYMBOL_1;
InterfaceType[_a] = { fqn: "@aws-cdk/aws-appsync-alpha.InterfaceType", version: "2.13.0-alpha.0" };
InterfaceType[_a] = { fqn: "@aws-cdk/aws-appsync-alpha.InterfaceType", version: "2.14.0-alpha.0" };
/**

@@ -165,3 +165,3 @@ * Object Types are types declared by you.

_b = JSII_RTTI_SYMBOL_1;
ObjectType[_b] = { fqn: "@aws-cdk/aws-appsync-alpha.ObjectType", version: "2.13.0-alpha.0" };
ObjectType[_b] = { fqn: "@aws-cdk/aws-appsync-alpha.ObjectType", version: "2.14.0-alpha.0" };
/**

@@ -229,3 +229,3 @@ * Input Types are abstract types that define complex objects.

_c = JSII_RTTI_SYMBOL_1;
InputType[_c] = { fqn: "@aws-cdk/aws-appsync-alpha.InputType", version: "2.13.0-alpha.0" };
InputType[_c] = { fqn: "@aws-cdk/aws-appsync-alpha.InputType", version: "2.14.0-alpha.0" };
/**

@@ -300,3 +300,3 @@ * Union Types are abstract types that are similar to Interface Types,

_d = JSII_RTTI_SYMBOL_1;
UnionType[_d] = { fqn: "@aws-cdk/aws-appsync-alpha.UnionType", version: "2.13.0-alpha.0" };
UnionType[_d] = { fqn: "@aws-cdk/aws-appsync-alpha.UnionType", version: "2.14.0-alpha.0" };
/**

@@ -370,3 +370,3 @@ * Enum Types are abstract types that includes a set of fields

_e = JSII_RTTI_SYMBOL_1;
EnumType[_e] = { fqn: "@aws-cdk/aws-appsync-alpha.EnumType", version: "2.13.0-alpha.0" };
EnumType[_e] = { fqn: "@aws-cdk/aws-appsync-alpha.EnumType", version: "2.14.0-alpha.0" };
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2NoZW1hLWludGVybWVkaWF0ZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbInNjaGVtYS1pbnRlcm1lZGlhdGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7O0FBRUEsdUNBQTBDO0FBRzFDLGlEQUF1RztBQXVCdkc7Ozs7R0FJRztBQUNILE1BQWEsYUFBYTtJQW9CeEIsWUFBbUIsSUFBWSxFQUFFLEtBQThCOztRQUM3RCxJQUFJLENBQUMsSUFBSSxHQUFHLElBQUksQ0FBQztRQUNqQixJQUFJLENBQUMsVUFBVSxHQUFHLEtBQUssQ0FBQyxVQUFVLENBQUM7UUFDbkMsSUFBSSxDQUFDLFVBQVUsR0FBRyxLQUFLLENBQUMsVUFBVSxDQUFDO0tBQ3BDO0lBRUQ7Ozs7T0FJRztJQUNJLFNBQVMsQ0FBQyxPQUF5Qjs7UUFDeEMsT0FBTywwQkFBVyxDQUFDLFlBQVksQ0FBQztZQUM5QixNQUFNLEVBQUUsT0FBTyxhQUFQLE9BQU8sdUJBQVAsT0FBTyxDQUFFLE1BQU07WUFDd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xUeXBlLnN0cmluZygpO1xuICB9XG5cbiAgLyoqXG4gICAqIE1ldGhvZCBjYWxsZWQgd2hlbiB0aGUgc3RyaW5naWZ5aW5nIEludGVybWVkaWF0ZSBUeXBlcyBmb3Igc2NoZW1hIGdlbmVyYXRpb25cbiAgICpcbiAgICogQGludGVybmFsXG4gICAqL1xuICBwdWJsaWMgX2JpbmRUb0dyYXBocWxBcGkoYXBpOiBHcmFwaHFsQXBpKTogSUludGVybWVkaWF0ZVR5cGUge1xuICAgIHRoaXMubW9kZXMgPSBhcGkubW9kZXM7XG4gICAgcmV0dXJuIHRoaXM7XG4gIH1cbn1cbiJdfQ==

@@ -191,3 +191,3 @@ "use strict";

_a = JSII_RTTI_SYMBOL_1;
Schema[_a] = { fqn: "@aws-cdk/aws-appsync-alpha.Schema", version: "2.13.0-alpha.0" };
Schema[_a] = { fqn: "@aws-cdk/aws-appsync-alpha.Schema", version: "2.14.0-alpha.0" };
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2NoZW1hLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsic2NoZW1hLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7OztBQUFBLDJCQUFrQztBQUNsQyw2Q0FBbUM7QUFDbkMseURBQTJEO0FBRTNELHVDQUFzRDtBQUd0RCwrREFBbUQ7QUFpQmxELENBQUM7QUFFRjs7Ozs7R0FLRztBQUNILE1BQWEsTUFBTTtJQTRCakIsWUFBbUIsT0FBdUI7O1FBQ3hDLElBQUksT0FBTyxhQUFQLE9BQU8sdUJBQVAsT0FBTyxDQUFFLFFBQVEsRUFBRTtZQUNyQixJQUFJLENBQUMsSUFBSSxHQUFHLG9CQUFVLENBQUMsSUFBSSxDQUFDO1lBQzVCLElBQUksQ0FBQyxVQUFVLEdBQUcsaUJBQVksQ0FBQyxPQUFPLENBQUMsUUFBUSxDQUFDLENBQUMsUUFBUSxDQUFDLE9BQU8sQ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xuICB9XG59Il19
{
"name": "@aws-cdk/aws-appsync-alpha",
"version": "2.13.0-alpha.0",
"version": "2.14.0-alpha.0",
"private": false,

@@ -84,9 +84,9 @@ "description": "The CDK Construct Library for AWS::AppSync",

"devDependencies": {
"@aws-cdk/cdk-build-tools": "2.13.0",
"@aws-cdk/cdk-integ-tools": "2.13.0",
"@aws-cdk/cfn2ts": "2.13.0",
"@aws-cdk/pkglint": "2.13.0",
"@types/jest": "^27.4.0",
"@aws-cdk/cdk-build-tools": "2.14.0",
"@aws-cdk/cdk-integ-tools": "2.14.0",
"@aws-cdk/cfn2ts": "2.14.0",
"@aws-cdk/pkglint": "2.14.0",
"@types/jest": "^27.4.1",
"jest": "^27.5.1",
"aws-cdk-lib": "2.13.0",
"aws-cdk-lib": "2.14.0",
"constructs": "^10.0.0"

@@ -97,3 +97,3 @@ },

"peerDependencies": {
"aws-cdk-lib": "^2.13.0",
"aws-cdk-lib": "^2.14.0",
"constructs": "^10.0.0"

@@ -100,0 +100,0 @@ },

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

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