This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# AWS AppSync GQL directives | |
# | |
## Scalars come from here: | |
# https://raw.githubusercontent.com/aws-amplify/amplify-cli/master/packages/amplify-graphql-types-generator/awsAppSyncDirectives.graphql | |
# https://docs.aws.amazon.com/appsync/latest/devguide/scalars.html | |
# | |
## Directives came from a GitHub issue here: | |
# https://github.com/apollographql/eslint-plugin-graphql/issues/263 | |
## And comparing with the JSON output of | |
# https://docs.aws.amazon.com/appsync/latest/APIReference/API_GetIntrospectionSchema.html |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import cdk = require("aws-cdk-lib"); | |
import ec2 = require("aws-cdk-lib/aws-ec2"); | |
import elastic = require("aws-cdk-lib/aws-elasticache"); | |
import rds = require("aws-cdk-lib/aws-rds"); | |
import es = require("aws-cdk-lib/aws-elasticsearch"); | |
import ecs = require("aws-cdk-lib/aws-ecs"); | |
import s3 = require("aws-cdk-lib/aws-s3"); | |
import elbv2 = require("aws-cdk-lib/aws-elasticloadbalancingv2"); | |
import route53 = require("aws-cdk-lib/aws-route53"); | |
import certificateManager = require("aws-cdk-lib/aws-certificatemanager"); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from random import uniform, randint | |
from locust import TaskSequence, HttpLocust | |
from locust import seq_task | |
import random | |
import string | |
import os | |
def randomStringDigits(stringLength=6): | |
"""Generate a random string of letters and digits """ |