@aws-amplify/graphql-api-construct
Version:
AppSync GraphQL Api Construct using Amplify GraphQL Transformer.
24 lines (22 loc) • 958 B
text/typescript
import { TranslationBehavior } from '../types';
/**
* Defaults which will be used by the construct if overrides are not provided.
* These should not really be updated post-launch, since they're likely breaking changes for customers.
* Be sure to document default values when adding new keys in the top level `types` file.
*/
export const defaultTranslationBehavior: TranslationBehavior = {
shouldDeepMergeDirectiveConfigDefaults: true,
disableResolverDeduping: true,
sandboxModeEnabled: false,
useSubUsernameForDefaultIdentityClaim: true,
subscriptionsInheritPrimaryAuth: false,
populateOwnerFieldForStaticGroupAuth: true,
suppressApiKeyGeneration: false,
secondaryKeyAsGSI: true,
enableAutoIndexQueryNames: true,
respectPrimaryKeyAttributesOnConnectionField: true,
enableSearchNodeToNodeEncryption: false,
enableTransformerCfnOutputs: false,
allowDestructiveGraphqlSchemaUpdates: false,
replaceTableUponGsiUpdate: false,
};