Security News
tea.xyz Spam Plagues npm and RubyGems Package Registries
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
graphql-compose-aws
Advanced tools
Readme
This module expose AWS Cloud API via GraphQL.
Generated Schema Introspection in SDL format can be found here (more than 10k types, ~2MB).
Supported all AWS SDK versions via official aws-sdk js client. Internally it generates Types and FieldConfigs from AWS SDK configs. You may put this generated types to any GraphQL Schema.
import { GraphQLSchema, GraphQLObjectType } from 'graphql';
import awsSDK from 'aws-sdk';
import { AwsApiParser } from 'graphql-compose-aws';
const awsApiParser = new AwsApiParser({
awsSDK,
});
const schema = new GraphQLSchema({
query: new GraphQLObjectType({
name: 'Query',
fields: {
// Full API
aws: awsApiParser.getFieldConfig(),
// Partial API with desired services
s3: awsApiParser.getService('s3').getFieldConfig(),
ec2: awsApiParser.getService('ec2').getFieldConfig(),
},
}),
});
export default schema;
Full code examples
yarn add graphql graphql-compose aws-sdk graphql-compose-aws
// or
npm install graphql graphql-compose aws-sdk graphql-compose-aws --save
Modules graphql
, graphql-compose
, aws-sdk
are in peerDependencies
, so should be installed explicitly in your app.
eu-west-1
regionFAQs
AWS Cloud API via GraphQL
The npm package graphql-compose-aws receives a total of 32 weekly downloads. As such, graphql-compose-aws popularity was classified as not popular.
We found that graphql-compose-aws demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
Security News
As cyber threats become more autonomous, AI-powered defenses are crucial for businesses to stay ahead of attackers who can exploit software vulnerabilities at scale.
Security News
UnitedHealth Group disclosed that the ransomware attack on Change Healthcare compromised protected health information for millions in the U.S., with estimated costs to the company expected to reach $1 billion.