{"version":"2","toolVersion":"1.84.0","snippets":{"53b45b708ca4431c0c9dc96a523bafafa326dd4932890d50c9c0b4983f06b087":{"translations":{"python":{"source":"import aws_cdk.aws_appsync as appsync","version":"2"},"csharp":{"source":"using Amazon.CDK.AWS.AppSync;","version":"1"},"java":{"source":"import software.amazon.awscdk.services.appsync.*;","version":"1"},"go":{"source":"import appsync \"github.com/aws-samples/dummy/awscdkawsappsync\"","version":"1"},"$":{"source":"import * as appsync from '@aws-cdk/aws-appsync';","version":"0"}},"location":{"api":{"api":"moduleReadme","moduleFqn":"@aws-cdk/aws-appsync"},"field":{"field":"markdown","line":22}},"didCompile":true,"fqnsReferenced":[],"fullSource":"import * as appsync from '@aws-cdk/aws-appsync';","syntaxKindCounter":{"10":1,"75":1,"254":1,"255":1,"256":1,"290":1},"fqnsFingerprint":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855"},"f1d937a699cc9c2b50096e5b816fafbee4bb222982a8dc5a91ee68d759bfaf81":{"translations":{"python":{"source":"api = appsync.GraphqlApi(self, \"Api\",\n name=\"demo\",\n schema=appsync.Schema.from_asset(path.join(__dirname, \"schema.graphql\")),\n authorization_config=appsync.AuthorizationConfig(\n default_authorization=appsync.AuthorizationMode(\n authorization_type=appsync.AuthorizationType.IAM\n )\n ),\n xray_enabled=True\n)\n\ndemo_table = dynamodb.Table(self, \"DemoTable\",\n partition_key=dynamodb.Attribute(\n name=\"id\",\n type=dynamodb.AttributeType.STRING\n )\n)\n\ndemo_dS = api.add_dynamo_db_data_source(\"demoDataSource\", demo_table)\n\n# Resolver for the Query \"getDemos\" that scans the DynamoDb table and returns the entire list.\ndemo_dS.create_resolver(\n type_name=\"Query\",\n field_name=\"getDemos\",\n request_mapping_template=appsync.MappingTemplate.dynamo_db_scan_table(),\n response_mapping_template=appsync.MappingTemplate.dynamo_db_result_list()\n)\n\n# Resolver for the Mutation \"addDemo\" that puts the item into the DynamoDb table.\ndemo_dS.create_resolver(\n type_name=\"Mutation\",\n field_name=\"addDemo\",\n request_mapping_template=appsync.MappingTemplate.dynamo_db_put_item(\n appsync.PrimaryKey.partition(\"id\").auto(),\n appsync.Values.projecting(\"input\")),\n response_mapping_template=appsync.MappingTemplate.dynamo_db_result_item()\n)","version":"2"},"csharp":{"source":"var api = new GraphqlApi(this, \"Api\", new GraphqlApiProps {\n Name = \"demo\",\n Schema = Schema.FromAsset(Join(__dirname, \"schema.graphql\")),\n AuthorizationConfig = new AuthorizationConfig {\n DefaultAuthorization = new AuthorizationMode {\n AuthorizationType = AuthorizationType.IAM\n }\n },\n XrayEnabled = true\n});\n\nvar demoTable = new Table(this, \"DemoTable\", new TableProps {\n PartitionKey = new Attribute {\n Name = \"id\",\n Type = AttributeType.STRING\n }\n});\n\nvar demoDS = api.AddDynamoDbDataSource(\"demoDataSource\", demoTable);\n\n// Resolver for the Query \"getDemos\" that scans the DynamoDb table and returns the entire list.\ndemoDS.CreateResolver(new BaseResolverProps {\n TypeName = \"Query\",\n FieldName = \"getDemos\",\n RequestMappingTemplate = MappingTemplate.DynamoDbScanTable(),\n ResponseMappingTemplate = MappingTemplate.DynamoDbResultList()\n});\n\n// Resolver for the Mutation \"addDemo\" that puts the item into the DynamoDb table.\ndemoDS.CreateResolver(new BaseResolverProps {\n TypeName = \"Mutation\",\n FieldName = \"addDemo\",\n RequestMappingTemplate = MappingTemplate.DynamoDbPutItem(PrimaryKey.Partition(\"id\").Auto(), Values.Projecting(\"input\")),\n ResponseMappingTemplate = MappingTemplate.DynamoDbResultItem()\n});","version":"1"},"java":{"source":"GraphqlApi api = GraphqlApi.Builder.create(this, \"Api\")\n .name(\"demo\")\n .schema(Schema.fromAsset(join(__dirname, \"schema.graphql\")))\n .authorizationConfig(AuthorizationConfig.builder()\n .defaultAuthorization(AuthorizationMode.builder()\n .authorizationType(AuthorizationType.IAM)\n .build())\n .build())\n .xrayEnabled(true)\n .build();\n\nTable demoTable = Table.Builder.create(this, \"DemoTable\")\n .partitionKey(Attribute.builder()\n .name(\"id\")\n .type(AttributeType.STRING)\n .build())\n .build();\n\nDynamoDbDataSource demoDS = api.addDynamoDbDataSource(\"demoDataSource\", demoTable);\n\n// Resolver for the Query \"getDemos\" that scans the DynamoDb table and returns the entire list.\ndemoDS.createResolver(BaseResolverProps.builder()\n .typeName(\"Query\")\n .fieldName(\"getDemos\")\n .requestMappingTemplate(MappingTemplate.dynamoDbScanTable())\n .responseMappingTemplate(MappingTemplate.dynamoDbResultList())\n .build());\n\n// Resolver for the Mutation \"addDemo\" that puts the item into the DynamoDb table.\ndemoDS.createResolver(BaseResolverProps.builder()\n .typeName(\"Mutation\")\n .fieldName(\"addDemo\")\n .requestMappingTemplate(MappingTemplate.dynamoDbPutItem(PrimaryKey.partition(\"id\").auto(), Values.projecting(\"input\")))\n .responseMappingTemplate(MappingTemplate.dynamoDbResultItem())\n .build());","version":"1"},"go":{"source":"api := appsync.NewGraphqlApi(this, jsii.String(\"Api\"), &GraphqlApiProps{\n\tName: jsii.String(\"demo\"),\n\tSchema: appsync.Schema_FromAsset(path.join(__dirname, jsii.String(\"schema.graphql\"))),\n\tAuthorizationConfig: &AuthorizationConfig{\n\t\tDefaultAuthorization: &AuthorizationMode{\n\t\t\tAuthorizationType: appsync.AuthorizationType_IAM,\n\t\t},\n\t},\n\tXrayEnabled: jsii.Boolean(true),\n})\n\ndemoTable := dynamodb.NewTable(this, jsii.String(\"DemoTable\"), &TableProps{\n\tPartitionKey: &Attribute{\n\t\tName: jsii.String(\"id\"),\n\t\tType: dynamodb.AttributeType_STRING,\n\t},\n})\n\ndemoDS := api.AddDynamoDbDataSource(jsii.String(\"demoDataSource\"), demoTable)\n\n// Resolver for the Query \"getDemos\" that scans the DynamoDb table and returns the entire list.\ndemoDS.CreateResolver(&BaseResolverProps{\n\tTypeName: jsii.String(\"Query\"),\n\tFieldName: jsii.String(\"getDemos\"),\n\tRequestMappingTemplate: appsync.MappingTemplate_DynamoDbScanTable(),\n\tResponseMappingTemplate: appsync.MappingTemplate_DynamoDbResultList(),\n})\n\n// Resolver for the Mutation \"addDemo\" that puts the item into the DynamoDb table.\ndemoDS.CreateResolver(&BaseResolverProps{\n\tTypeName: jsii.String(\"Mutation\"),\n\tFieldName: jsii.String(\"addDemo\"),\n\tRequestMappingTemplate: appsync.MappingTemplate_DynamoDbPutItem(appsync.PrimaryKey_Partition(jsii.String(\"id\")).Auto(), appsync.Values_Projecting(jsii.String(\"input\"))),\n\tResponseMappingTemplate: appsync.MappingTemplate_DynamoDbResultItem(),\n})","version":"1"},"$":{"source":"const api = new appsync.GraphqlApi(this, 'Api', {\n name: 'demo',\n schema: appsync.Schema.fromAsset(path.join(__dirname, 'schema.graphql')),\n authorizationConfig: {\n defaultAuthorization: {\n authorizationType: appsync.AuthorizationType.IAM,\n },\n },\n xrayEnabled: true,\n});\n\nconst demoTable = new dynamodb.Table(this, 'DemoTable', {\n partitionKey: {\n name: 'id',\n type: dynamodb.AttributeType.STRING,\n },\n});\n\nconst demoDS = api.addDynamoDbDataSource('demoDataSource', demoTable);\n\n// Resolver for the Query \"getDemos\" that scans the DynamoDb table and returns the entire list.\ndemoDS.createResolver({\n typeName: 'Query',\n fieldName: 'getDemos',\n requestMappingTemplate: appsync.MappingTemplate.dynamoDbScanTable(),\n responseMappingTemplate: appsync.MappingTemplate.dynamoDbResultList(),\n});\n\n// Resolver for the Mutation \"addDemo\" that puts the item into the DynamoDb table.\ndemoDS.createResolver({\n typeName: 'Mutation',\n fieldName: 'addDemo',\n requestMappingTemplate: appsync.MappingTemplate.dynamoDbPutItem(\n appsync.PrimaryKey.partition('id').auto(),\n appsync.Values.projecting('input'),\n ),\n responseMappingTemplate: appsync.MappingTemplate.dynamoDbResultItem(),\n});","version":"0"}},"location":{"api":{"api":"moduleReadme","moduleFqn":"@aws-cdk/aws-appsync"},"field":{"field":"markdown","line":53}},"didCompile":true,"fqnsReferenced":["@aws-cdk/aws-appsync.AttributeValues","@aws-cdk/aws-appsync.AuthorizationConfig","@aws-cdk/aws-appsync.AuthorizationMode","@aws-cdk/aws-appsync.AuthorizationType","@aws-cdk/aws-appsync.AuthorizationType#IAM","@aws-cdk/aws-appsync.BaseDataSource#createResolver","@aws-cdk/aws-appsync.BaseResolverProps","@aws-cdk/aws-appsync.DynamoDbDataSource","@aws-cdk/aws-appsync.GraphqlApi","@aws-cdk/aws-appsync.GraphqlApiBase#addDynamoDbDataSource","@aws-cdk/aws-appsync.GraphqlApiProps","@aws-cdk/aws-appsync.MappingTemplate","@aws-cdk/aws-appsync.MappingTemplate#dynamoDbPutItem","@aws-cdk/aws-appsync.MappingTemplate#dynamoDbResultItem","@aws-cdk/aws-appsync.MappingTemplate#dynamoDbResultList","@aws-cdk/aws-appsync.MappingTemplate#dynamoDbScanTable","@aws-cdk/aws-appsync.PartitionKeyStep#auto","@aws-cdk/aws-appsync.PrimaryKey","@aws-cdk/aws-appsync.PrimaryKey#partition","@aws-cdk/aws-appsync.Schema","@aws-cdk/aws-appsync.Schema#fromAsset","@aws-cdk/aws-appsync.Values","@aws-cdk/aws-appsync.Values#projecting","@aws-cdk/aws-dynamodb.Attribute","@aws-cdk/aws-dynamodb.AttributeType","@aws-cdk/aws-dynamodb.AttributeType#STRING","@aws-cdk/aws-dynamodb.ITable","@aws-cdk/aws-dynamodb.Table","@aws-cdk/aws-dynamodb.TableProps","constructs.Construct"],"fullSource":"// Fixture with packages imported, but nothing else\nimport { Construct } from 'constructs';\nimport { RemovalPolicy, Stack } from '@aws-cdk/core';\nimport appsync = require('@aws-cdk/aws-appsync');\nimport ec2 = require('@aws-cdk/aws-ec2');\nimport dynamodb = require('@aws-cdk/aws-dynamodb');\nimport iam = require('@aws-cdk/aws-iam');\nimport rds = require('@aws-cdk/aws-rds');\nimport path = require('path');\n\nclass Fixture extends Stack {\n constructor(scope: Construct, id: string) {\n super(scope, id);\n // Code snippet begins after !show marker below\n/// !show\nconst api = new appsync.GraphqlApi(this, 'Api', {\n name: 'demo',\n schema: appsync.Schema.fromAsset(path.join(__dirname, 'schema.graphql')),\n authorizationConfig: {\n defaultAuthorization: {\n authorizationType: appsync.AuthorizationType.IAM,\n },\n },\n xrayEnabled: true,\n});\n\nconst demoTable = new dynamodb.Table(this, 'DemoTable', {\n partitionKey: {\n name: 'id',\n type: dynamodb.AttributeType.STRING,\n },\n});\n\nconst demoDS = api.addDynamoDbDataSource('demoDataSource', demoTable);\n\n// Resolver for the Query \"getDemos\" that scans the DynamoDb table and returns the entire list.\ndemoDS.createResolver({\n typeName: 'Query',\n fieldName: 'getDemos',\n requestMappingTemplate: appsync.MappingTemplate.dynamoDbScanTable(),\n responseMappingTemplate: appsync.MappingTemplate.dynamoDbResultList(),\n});\n\n// Resolver for the Mutation \"addDemo\" that puts the item into the DynamoDb table.\ndemoDS.createResolver({\n typeName: 'Mutation',\n fieldName: 'addDemo',\n requestMappingTemplate: appsync.MappingTemplate.dynamoDbPutItem(\n appsync.PrimaryKey.partition('id').auto(),\n appsync.Values.projecting('input'),\n ),\n responseMappingTemplate: appsync.MappingTemplate.dynamoDbResultItem(),\n});\n/// !hide\n// Code snippet ended before !hide marker above\n }\n}\n","syntaxKindCounter":{"10":12,"75":62,"104":2,"106":1,"193":7,"194":25,"196":12,"197":2,"225":3,"226":2,"242":3,"243":3,"281":17},"fqnsFingerprint":"5e70d7ba2ab2d468126c46d474cb1c8201cf1abcfcdb9adfd0c3a8c047de1b0e"},"138c8164a8b060e5b0a997558f7a9a9ba4860516795b2c5dfe2b156472a4c602":{"translations":{"python":{"source":"# Build a data source for AppSync to access the database.\n# api: appsync.GraphqlApi\n# Create username and password secret for DB Cluster\nsecret = rds.DatabaseSecret(self, \"AuroraSecret\",\n username=\"clusteradmin\"\n)\n\n# The VPC to place the cluster in\nvpc = ec2.Vpc(self, \"AuroraVpc\")\n\n# Create the serverless cluster, provide all values needed to customise the database.\ncluster = rds.ServerlessCluster(self, \"AuroraCluster\",\n engine=rds.DatabaseClusterEngine.AURORA_MYSQL,\n vpc=vpc,\n credentials={\"username\": \"clusteradmin\"},\n cluster_identifier=\"db-endpoint-test\",\n default_database_name=\"demos\"\n)\nrds_dS = api.add_rds_data_source(\"rds\", cluster, secret, \"demos\")\n\n# Set up a resolver for an RDS query.\nrds_dS.create_resolver(\n type_name=\"Query\",\n field_name=\"getDemosRds\",\n request_mapping_template=appsync.MappingTemplate.from_string(\"\"\"\n {\n \"version\": \"2018-05-29\",\n \"statements\": [\n \"SELECT * FROM demos\"\n ]\n }\n \"\"\"),\n response_mapping_template=appsync.MappingTemplate.from_string(\"\"\"\n $utils.toJson($utils.rds.toJsonObject($ctx.result)[0])\n \"\"\")\n)\n\n# Set up a resolver for an RDS mutation.\nrds_dS.create_resolver(\n type_name=\"Mutation\",\n field_name=\"addDemoRds\",\n request_mapping_template=appsync.MappingTemplate.from_string(\"\"\"\n {\n \"version\": \"2018-05-29\",\n \"statements\": [\n \"INSERT INTO demos VALUES (:id, :version)\",\n \"SELECT * WHERE id = :id\"\n ],\n \"variableMap\": {\n \":id\": $util.toJson($util.autoId()),\n \":version\": $util.toJson($ctx.args.version)\n }\n }\n \"\"\"),\n response_mapping_template=appsync.MappingTemplate.from_string(\"\"\"\n $utils.toJson($utils.rds.toJsonObject($ctx.result)[1][0])\n \"\"\")\n)","version":"2"},"csharp":{"source":"// Build a data source for AppSync to access the database.\nGraphqlApi api;\n// Create username and password secret for DB Cluster\nvar secret = new DatabaseSecret(this, \"AuroraSecret\", new DatabaseSecretProps {\n Username = \"clusteradmin\"\n});\n\n// The VPC to place the cluster in\nvar vpc = new Vpc(this, \"AuroraVpc\");\n\n// Create the serverless cluster, provide all values needed to customise the database.\nvar cluster = new ServerlessCluster(this, \"AuroraCluster\", new ServerlessClusterProps {\n Engine = DatabaseClusterEngine.AURORA_MYSQL,\n Vpc = vpc,\n Credentials = new Dictionary { { \"username\", \"clusteradmin\" } },\n ClusterIdentifier = \"db-endpoint-test\",\n DefaultDatabaseName = \"demos\"\n});\nvar rdsDS = api.AddRdsDataSource(\"rds\", cluster, secret, \"demos\");\n\n// Set up a resolver for an RDS query.\nrdsDS.CreateResolver(new BaseResolverProps {\n TypeName = \"Query\",\n FieldName = \"getDemosRds\",\n RequestMappingTemplate = MappingTemplate.FromString(@\"\n {\n \"\"version\"\": \"\"2018-05-29\"\",\n \"\"statements\"\": [\n \"\"SELECT * FROM demos\"\"\n ]\n }\n \"),\n ResponseMappingTemplate = MappingTemplate.FromString(@\"\n $utils.toJson($utils.rds.toJsonObject($ctx.result)[0])\n \")\n});\n\n// Set up a resolver for an RDS mutation.\nrdsDS.CreateResolver(new BaseResolverProps {\n TypeName = \"Mutation\",\n FieldName = \"addDemoRds\",\n RequestMappingTemplate = MappingTemplate.FromString(@\"\n {\n \"\"version\"\": \"\"2018-05-29\"\",\n \"\"statements\"\": [\n \"\"INSERT INTO demos VALUES (:id, :version)\"\",\n \"\"SELECT * WHERE id = :id\"\"\n ],\n \"\"variableMap\"\": {\n \"\":id\"\": $util.toJson($util.autoId()),\n \"\":version\"\": $util.toJson($ctx.args.version)\n }\n }\n \"),\n ResponseMappingTemplate = MappingTemplate.FromString(@\"\n $utils.toJson($utils.rds.toJsonObject($ctx.result)[1][0])\n \")\n});","version":"1"},"java":{"source":"// Build a data source for AppSync to access the database.\nGraphqlApi api;\n// Create username and password secret for DB Cluster\nDatabaseSecret secret = DatabaseSecret.Builder.create(this, \"AuroraSecret\")\n .username(\"clusteradmin\")\n .build();\n\n// The VPC to place the cluster in\nVpc vpc = new Vpc(this, \"AuroraVpc\");\n\n// Create the serverless cluster, provide all values needed to customise the database.\nServerlessCluster cluster = ServerlessCluster.Builder.create(this, \"AuroraCluster\")\n .engine(DatabaseClusterEngine.AURORA_MYSQL)\n .vpc(vpc)\n .credentials(Map.of(\"username\", \"clusteradmin\"))\n .clusterIdentifier(\"db-endpoint-test\")\n .defaultDatabaseName(\"demos\")\n .build();\nRdsDataSource rdsDS = api.addRdsDataSource(\"rds\", cluster, secret, \"demos\");\n\n// Set up a resolver for an RDS query.\nrdsDS.createResolver(BaseResolverProps.builder()\n .typeName(\"Query\")\n .fieldName(\"getDemosRds\")\n .requestMappingTemplate(MappingTemplate.fromString(\"\\n {\\n \\\"version\\\": \\\"2018-05-29\\\",\\n \\\"statements\\\": [\\n \\\"SELECT * FROM demos\\\"\\n ]\\n }\\n \"))\n .responseMappingTemplate(MappingTemplate.fromString(\"\\n $utils.toJson($utils.rds.toJsonObject($ctx.result)[0])\\n \"))\n .build());\n\n// Set up a resolver for an RDS mutation.\nrdsDS.createResolver(BaseResolverProps.builder()\n .typeName(\"Mutation\")\n .fieldName(\"addDemoRds\")\n .requestMappingTemplate(MappingTemplate.fromString(\"\\n {\\n \\\"version\\\": \\\"2018-05-29\\\",\\n \\\"statements\\\": [\\n \\\"INSERT INTO demos VALUES (:id, :version)\\\",\\n \\\"SELECT * WHERE id = :id\\\"\\n ],\\n \\\"variableMap\\\": {\\n \\\":id\\\": $util.toJson($util.autoId()),\\n \\\":version\\\": $util.toJson($ctx.args.version)\\n }\\n }\\n \"))\n .responseMappingTemplate(MappingTemplate.fromString(\"\\n $utils.toJson($utils.rds.toJsonObject($ctx.result)[1][0])\\n \"))\n .build());","version":"1"},"go":{"source":"// Build a data source for AppSync to access the database.\nvar api graphqlApi\n// Create username and password secret for DB Cluster\nsecret := rds.NewDatabaseSecret(this, jsii.String(\"AuroraSecret\"), &DatabaseSecretProps{\n\tUsername: jsii.String(\"clusteradmin\"),\n})\n\n// The VPC to place the cluster in\nvpc := ec2.NewVpc(this, jsii.String(\"AuroraVpc\"))\n\n// Create the serverless cluster, provide all values needed to customise the database.\ncluster := rds.NewServerlessCluster(this, jsii.String(\"AuroraCluster\"), &ServerlessClusterProps{\n\tEngine: rds.DatabaseClusterEngine_AURORA_MYSQL(),\n\tVpc: Vpc,\n\tCredentials: map[string]*string{\n\t\t\"username\": jsii.String(\"clusteradmin\"),\n\t},\n\tClusterIdentifier: jsii.String(\"db-endpoint-test\"),\n\tDefaultDatabaseName: jsii.String(\"demos\"),\n})\nrdsDS := api.AddRdsDataSource(jsii.String(\"rds\"), cluster, secret, jsii.String(\"demos\"))\n\n// Set up a resolver for an RDS query.\nrdsDS.CreateResolver(&BaseResolverProps{\n\tTypeName: jsii.String(\"Query\"),\n\tFieldName: jsii.String(\"getDemosRds\"),\n\tRequestMappingTemplate: appsync.MappingTemplate_FromString(jsii.String(`\n\t {\n\t \"version\": \"2018-05-29\",\n\t \"statements\": [\n\t \"SELECT * FROM demos\"\n\t ]\n\t }\n\t `)),\n\tResponseMappingTemplate: appsync.MappingTemplate_*FromString(jsii.String(`\n\t $utils.toJson($utils.rds.toJsonObject($ctx.result)[0])\n\t `)),\n})\n\n// Set up a resolver for an RDS mutation.\nrdsDS.CreateResolver(&BaseResolverProps{\n\tTypeName: jsii.String(\"Mutation\"),\n\tFieldName: jsii.String(\"addDemoRds\"),\n\tRequestMappingTemplate: appsync.MappingTemplate_*FromString(jsii.String(`\n\t {\n\t \"version\": \"2018-05-29\",\n\t \"statements\": [\n\t \"INSERT INTO demos VALUES (:id, :version)\",\n\t \"SELECT * WHERE id = :id\"\n\t ],\n\t \"variableMap\": {\n\t \":id\": $util.toJson($util.autoId()),\n\t \":version\": $util.toJson($ctx.args.version)\n\t }\n\t }\n\t `)),\n\tResponseMappingTemplate: appsync.MappingTemplate_*FromString(jsii.String(`\n\t $utils.toJson($utils.rds.toJsonObject($ctx.result)[1][0])\n\t `)),\n})","version":"1"},"$":{"source":"// Create username and password secret for DB Cluster\nconst secret = new rds.DatabaseSecret(this, 'AuroraSecret', {\n username: 'clusteradmin',\n});\n\n// The VPC to place the cluster in\nconst vpc = new ec2.Vpc(this, 'AuroraVpc');\n\n// Create the serverless cluster, provide all values needed to customise the database.\nconst cluster = new rds.ServerlessCluster(this, 'AuroraCluster', {\n engine: rds.DatabaseClusterEngine.AURORA_MYSQL,\n vpc,\n credentials: { username: 'clusteradmin' },\n clusterIdentifier: 'db-endpoint-test',\n defaultDatabaseName: 'demos',\n});\n\n// Build a data source for AppSync to access the database.\ndeclare const api: appsync.GraphqlApi;\nconst rdsDS = api.addRdsDataSource('rds', cluster, secret, 'demos');\n\n// Set up a resolver for an RDS query.\nrdsDS.createResolver({\n typeName: 'Query',\n fieldName: 'getDemosRds',\n requestMappingTemplate: appsync.MappingTemplate.fromString(`\n {\n \"version\": \"2018-05-29\",\n \"statements\": [\n \"SELECT * FROM demos\"\n ]\n }\n `),\n responseMappingTemplate: appsync.MappingTemplate.fromString(`\n $utils.toJson($utils.rds.toJsonObject($ctx.result)[0])\n `),\n});\n\n// Set up a resolver for an RDS mutation.\nrdsDS.createResolver({\n typeName: 'Mutation',\n fieldName: 'addDemoRds',\n requestMappingTemplate: appsync.MappingTemplate.fromString(`\n {\n \"version\": \"2018-05-29\",\n \"statements\": [\n \"INSERT INTO demos VALUES (:id, :version)\",\n \"SELECT * WHERE id = :id\"\n ],\n \"variableMap\": {\n \":id\": $util.toJson($util.autoId()),\n \":version\": $util.toJson($ctx.args.version)\n }\n }\n `),\n responseMappingTemplate: appsync.MappingTemplate.fromString(`\n $utils.toJson($utils.rds.toJsonObject($ctx.result)[1][0])\n `),\n});","version":"0"}},"location":{"api":{"api":"moduleReadme","moduleFqn":"@aws-cdk/aws-appsync"},"field":{"field":"markdown","line":100}},"didCompile":true,"fqnsReferenced":["@aws-cdk/aws-appsync.BaseDataSource#createResolver","@aws-cdk/aws-appsync.BaseResolverProps","@aws-cdk/aws-appsync.GraphqlApiBase#addRdsDataSource","@aws-cdk/aws-appsync.MappingTemplate","@aws-cdk/aws-appsync.MappingTemplate#fromString","@aws-cdk/aws-appsync.RdsDataSource","@aws-cdk/aws-ec2.IVpc","@aws-cdk/aws-ec2.Vpc","@aws-cdk/aws-rds.Credentials","@aws-cdk/aws-rds.DatabaseClusterEngine","@aws-cdk/aws-rds.DatabaseClusterEngine#AURORA_MYSQL","@aws-cdk/aws-rds.DatabaseSecret","@aws-cdk/aws-rds.DatabaseSecretProps","@aws-cdk/aws-rds.IClusterEngine","@aws-cdk/aws-rds.IServerlessCluster","@aws-cdk/aws-rds.ServerlessCluster","@aws-cdk/aws-rds.ServerlessClusterProps","@aws-cdk/aws-secretsmanager.ISecret","constructs.Construct"],"fullSource":"// Hoisted imports begin after !show marker below\n/// !show\n\n\n// Build a data source for AppSync to access the database.\ndeclare const api: appsync.GraphqlApi;\n/// !hide\n// Hoisted imports ended before !hide marker above\n// Fixture with packages imported, but nothing else\nimport { Construct } from 'constructs';\nimport { RemovalPolicy, Stack } from '@aws-cdk/core';\nimport appsync = require('@aws-cdk/aws-appsync');\nimport ec2 = require('@aws-cdk/aws-ec2');\nimport dynamodb = require('@aws-cdk/aws-dynamodb');\nimport iam = require('@aws-cdk/aws-iam');\nimport rds = require('@aws-cdk/aws-rds');\nimport path = require('path');\n\nclass Fixture extends Stack {\n constructor(scope: Construct, id: string) {\n super(scope, id);\n // Code snippet begins after !show marker below\n/// !show\n// Create username and password secret for DB Cluster\nconst secret = new rds.DatabaseSecret(this, 'AuroraSecret', {\n username: 'clusteradmin',\n});\n\n// The VPC to place the cluster in\nconst vpc = new ec2.Vpc(this, 'AuroraVpc');\n\n// Create the serverless cluster, provide all values needed to customise the database.\nconst cluster = new rds.ServerlessCluster(this, 'AuroraCluster', {\n engine: rds.DatabaseClusterEngine.AURORA_MYSQL,\n vpc,\n credentials: { username: 'clusteradmin' },\n clusterIdentifier: 'db-endpoint-test',\n defaultDatabaseName: 'demos',\n});\nconst rdsDS = api.addRdsDataSource('rds', cluster, secret, 'demos');\n\n// Set up a resolver for an RDS query.\nrdsDS.createResolver({\n typeName: 'Query',\n fieldName: 'getDemosRds',\n requestMappingTemplate: appsync.MappingTemplate.fromString(`\n {\n \"version\": \"2018-05-29\",\n \"statements\": [\n \"SELECT * FROM demos\"\n ]\n }\n `),\n responseMappingTemplate: appsync.MappingTemplate.fromString(`\n $utils.toJson($utils.rds.toJsonObject($ctx.result)[0])\n `),\n});\n\n// Set up a resolver for an RDS mutation.\nrdsDS.createResolver({\n typeName: 'Mutation',\n fieldName: 'addDemoRds',\n requestMappingTemplate: appsync.MappingTemplate.fromString(`\n {\n \"version\": \"2018-05-29\",\n \"statements\": [\n \"INSERT INTO demos VALUES (:id, :version)\",\n \"SELECT * WHERE id = :id\"\n ],\n \"variableMap\": {\n \":id\": $util.toJson($util.autoId()),\n \":version\": $util.toJson($ctx.args.version)\n }\n }\n `),\n responseMappingTemplate: appsync.MappingTemplate.fromString(`\n $utils.toJson($utils.rds.toJsonObject($ctx.result)[1][0])\n `),\n});\n/// !hide\n// Code snippet ended before !hide marker above\n }\n}\n","syntaxKindCounter":{"10":13,"14":4,"75":51,"104":3,"130":1,"153":1,"169":1,"193":5,"194":16,"196":7,"197":3,"225":5,"226":2,"242":5,"243":5,"281":14,"282":1,"290":1},"fqnsFingerprint":"8d41eadbaa2333c2e3fededd0444806421aac9db30339899e7cc89d80338bec5"},"a7ffcbaa287692dec8abe099bc21cc8b3237da6d3601723113be95943a9cc7e5":{"translations":{"python":{"source":"api = appsync.GraphqlApi(self, \"api\",\n name=\"api\",\n schema=appsync.Schema.from_asset(path.join(__dirname, \"schema.graphql\"))\n)\n\nhttp_ds = api.add_http_data_source(\"ds\", \"https://states.amazonaws.com\",\n name=\"httpDsWithStepF\",\n description=\"from appsync to StepFunctions Workflow\",\n authorization_config=appsync.AwsIamConfig(\n signing_region=\"us-east-1\",\n signing_service_name=\"states\"\n )\n)\n\nhttp_ds.create_resolver(\n type_name=\"Mutation\",\n field_name=\"callStepFunction\",\n request_mapping_template=appsync.MappingTemplate.from_file(\"request.vtl\"),\n response_mapping_template=appsync.MappingTemplate.from_file(\"response.vtl\")\n)","version":"2"},"csharp":{"source":"var api = new GraphqlApi(this, \"api\", new GraphqlApiProps {\n Name = \"api\",\n Schema = Schema.FromAsset(Join(__dirname, \"schema.graphql\"))\n});\n\nvar httpDs = api.AddHttpDataSource(\"ds\", \"https://states.amazonaws.com\", new HttpDataSourceOptions {\n Name = \"httpDsWithStepF\",\n Description = \"from appsync to StepFunctions Workflow\",\n AuthorizationConfig = new AwsIamConfig {\n SigningRegion = \"us-east-1\",\n SigningServiceName = \"states\"\n }\n});\n\nhttpDs.CreateResolver(new BaseResolverProps {\n TypeName = \"Mutation\",\n FieldName = \"callStepFunction\",\n RequestMappingTemplate = MappingTemplate.FromFile(\"request.vtl\"),\n ResponseMappingTemplate = MappingTemplate.FromFile(\"response.vtl\")\n});","version":"1"},"java":{"source":"GraphqlApi api = GraphqlApi.Builder.create(this, \"api\")\n .name(\"api\")\n .schema(Schema.fromAsset(join(__dirname, \"schema.graphql\")))\n .build();\n\nHttpDataSource httpDs = api.addHttpDataSource(\"ds\", \"https://states.amazonaws.com\", HttpDataSourceOptions.builder()\n .name(\"httpDsWithStepF\")\n .description(\"from appsync to StepFunctions Workflow\")\n .authorizationConfig(AwsIamConfig.builder()\n .signingRegion(\"us-east-1\")\n .signingServiceName(\"states\")\n .build())\n .build());\n\nhttpDs.createResolver(BaseResolverProps.builder()\n .typeName(\"Mutation\")\n .fieldName(\"callStepFunction\")\n .requestMappingTemplate(MappingTemplate.fromFile(\"request.vtl\"))\n .responseMappingTemplate(MappingTemplate.fromFile(\"response.vtl\"))\n .build());","version":"1"},"go":{"source":"api := appsync.NewGraphqlApi(this, jsii.String(\"api\"), &GraphqlApiProps{\n\tName: jsii.String(\"api\"),\n\tSchema: appsync.Schema_FromAsset(path.join(__dirname, jsii.String(\"schema.graphql\"))),\n})\n\nhttpDs := api.AddHttpDataSource(jsii.String(\"ds\"), jsii.String(\"https://states.amazonaws.com\"), &HttpDataSourceOptions{\n\tName: jsii.String(\"httpDsWithStepF\"),\n\tDescription: jsii.String(\"from appsync to StepFunctions Workflow\"),\n\tAuthorizationConfig: &AwsIamConfig{\n\t\tSigningRegion: jsii.String(\"us-east-1\"),\n\t\tSigningServiceName: jsii.String(\"states\"),\n\t},\n})\n\nhttpDs.CreateResolver(&BaseResolverProps{\n\tTypeName: jsii.String(\"Mutation\"),\n\tFieldName: jsii.String(\"callStepFunction\"),\n\tRequestMappingTemplate: appsync.MappingTemplate_FromFile(jsii.String(\"request.vtl\")),\n\tResponseMappingTemplate: appsync.MappingTemplate_*FromFile(jsii.String(\"response.vtl\")),\n})","version":"1"},"$":{"source":"const api = new appsync.GraphqlApi(this, 'api', {\n name: 'api',\n schema: appsync.Schema.fromAsset(path.join(__dirname, 'schema.graphql')),\n});\n\nconst httpDs = api.addHttpDataSource(\n 'ds',\n 'https://states.amazonaws.com',\n {\n name: 'httpDsWithStepF',\n description: 'from appsync to StepFunctions Workflow',\n authorizationConfig: {\n signingRegion: 'us-east-1',\n signingServiceName: 'states',\n }\n }\n);\n\nhttpDs.createResolver({\n typeName: 'Mutation',\n fieldName: 'callStepFunction',\n requestMappingTemplate: appsync.MappingTemplate.fromFile('request.vtl'),\n responseMappingTemplate: appsync.MappingTemplate.fromFile('response.vtl'),\n});","version":"0"}},"location":{"api":{"api":"moduleReadme","moduleFqn":"@aws-cdk/aws-appsync"},"field":{"field":"markdown","line":211}},"didCompile":true,"fqnsReferenced":["@aws-cdk/aws-appsync.AwsIamConfig","@aws-cdk/aws-appsync.BaseDataSource#createResolver","@aws-cdk/aws-appsync.BaseResolverProps","@aws-cdk/aws-appsync.GraphqlApi","@aws-cdk/aws-appsync.GraphqlApiBase#addHttpDataSource","@aws-cdk/aws-appsync.GraphqlApiProps","@aws-cdk/aws-appsync.HttpDataSource","@aws-cdk/aws-appsync.HttpDataSourceOptions","@aws-cdk/aws-appsync.MappingTemplate","@aws-cdk/aws-appsync.MappingTemplate#fromFile","@aws-cdk/aws-appsync.Schema","@aws-cdk/aws-appsync.Schema#fromAsset","constructs.Construct"],"fullSource":"// Fixture with packages imported, but nothing else\nimport { Construct } from 'constructs';\nimport { RemovalPolicy, Stack } from '@aws-cdk/core';\nimport appsync = require('@aws-cdk/aws-appsync');\nimport ec2 = require('@aws-cdk/aws-ec2');\nimport dynamodb = require('@aws-cdk/aws-dynamodb');\nimport iam = require('@aws-cdk/aws-iam');\nimport rds = require('@aws-cdk/aws-rds');\nimport path = require('path');\n\nclass Fixture extends Stack {\n constructor(scope: Construct, id: string) {\n super(scope, id);\n // Code snippet begins after !show marker below\n/// !show\nconst api = new appsync.GraphqlApi(this, 'api', {\n name: 'api',\n schema: appsync.Schema.fromAsset(path.join(__dirname, 'schema.graphql')),\n});\n\nconst httpDs = api.addHttpDataSource(\n 'ds',\n 'https://states.amazonaws.com',\n {\n name: 'httpDsWithStepF',\n description: 'from appsync to StepFunctions Workflow',\n authorizationConfig: {\n signingRegion: 'us-east-1',\n signingServiceName: 'states',\n }\n }\n);\n\nhttpDs.createResolver({\n typeName: 'Mutation',\n fieldName: 'callStepFunction',\n requestMappingTemplate: appsync.MappingTemplate.fromFile('request.vtl'),\n responseMappingTemplate: appsync.MappingTemplate.fromFile('response.vtl'),\n});\n/// !hide\n// Code snippet ended before !hide marker above\n }\n}\n","syntaxKindCounter":{"10":13,"75":31,"104":1,"193":4,"194":10,"196":6,"197":1,"225":2,"226":1,"242":2,"243":2,"281":11},"fqnsFingerprint":"795f1a985c589204be96efdf628b1bcbf6022ec5528223be236f8b56402cd9dc"},"e4b2db3b4148c5faa110d08a44b0b3578bbe3d5a8c73265f910d632da0ca5e81":{"translations":{"python":{"source":"import aws_cdk.aws_opensearchservice as opensearch\n\n# api: appsync.GraphqlApi\n\n\nuser = iam.User(self, \"User\")\ndomain = opensearch.Domain(self, \"Domain\",\n version=opensearch.EngineVersion.OPENSEARCH_1_2,\n removal_policy=RemovalPolicy.DESTROY,\n fine_grained_access_control=opensearch.AdvancedSecurityOptions(master_user_arn=user.user_arn),\n encryption_at_rest=opensearch.EncryptionAtRestOptions(enabled=True),\n node_to_node_encryption=True,\n enforce_https=True\n)\nds = api.add_open_search_data_source(\"ds\", domain)\n\nds.create_resolver(\n type_name=\"Query\",\n field_name=\"getTests\",\n request_mapping_template=appsync.MappingTemplate.from_string(JSON.stringify({\n \"version\": \"2017-02-28\",\n \"operation\": \"GET\",\n \"path\": \"/id/post/_search\",\n \"params\": {\n \"headers\": {},\n \"query_string\": {},\n \"body\": {\"from\": 0, \"size\": 50}\n }\n })),\n response_mapping_template=appsync.MappingTemplate.from_string(\"\"\"[\n #foreach($entry in $context.result.hits.hits)\n #if( $velocityCount > 1 ) , #end\n $utils.toJson($entry.get(\"_source\"))\n #end\n ]\"\"\")\n)","version":"2"},"csharp":{"source":"using Amazon.CDK.AWS.OpenSearchService;\n\nGraphqlApi api;\n\n\nvar user = new User(this, \"User\");\nvar domain = new Domain(this, \"Domain\", new DomainProps {\n Version = EngineVersion.OPENSEARCH_1_2,\n RemovalPolicy = RemovalPolicy.DESTROY,\n FineGrainedAccessControl = new AdvancedSecurityOptions { MasterUserArn = user.UserArn },\n EncryptionAtRest = new EncryptionAtRestOptions { Enabled = true },\n NodeToNodeEncryption = true,\n EnforceHttps = true\n});\nvar ds = api.AddOpenSearchDataSource(\"ds\", domain);\n\nds.CreateResolver(new BaseResolverProps {\n TypeName = \"Query\",\n FieldName = \"getTests\",\n RequestMappingTemplate = MappingTemplate.FromString(JSON.Stringify(new Dictionary {\n { \"version\", \"2017-02-28\" },\n { \"operation\", \"GET\" },\n { \"path\", \"/id/post/_search\" },\n { \"params\", new Struct {\n Headers = new Struct { },\n QueryString = new Struct { },\n Body = new Struct { From = 0, Size = 50 }\n } }\n })),\n ResponseMappingTemplate = MappingTemplate.FromString(@\"[\n #foreach($entry in $context.result.hits.hits)\n #if( $velocityCount > 1 ) , #end\n $utils.toJson($entry.get(\"\"_source\"\"))\n #end\n ]\")\n});","version":"1"},"java":{"source":"import software.amazon.awscdk.services.opensearchservice.*;\n\nGraphqlApi api;\n\n\nUser user = new User(this, \"User\");\nDomain domain = Domain.Builder.create(this, \"Domain\")\n .version(EngineVersion.OPENSEARCH_1_2)\n .removalPolicy(RemovalPolicy.DESTROY)\n .fineGrainedAccessControl(AdvancedSecurityOptions.builder().masterUserArn(user.getUserArn()).build())\n .encryptionAtRest(EncryptionAtRestOptions.builder().enabled(true).build())\n .nodeToNodeEncryption(true)\n .enforceHttps(true)\n .build();\nOpenSearchDataSource ds = api.addOpenSearchDataSource(\"ds\", domain);\n\nds.createResolver(BaseResolverProps.builder()\n .typeName(\"Query\")\n .fieldName(\"getTests\")\n .requestMappingTemplate(MappingTemplate.fromString(JSON.stringify(Map.of(\n \"version\", \"2017-02-28\",\n \"operation\", \"GET\",\n \"path\", \"/id/post/_search\",\n \"params\", Map.of(\n \"headers\", Map.of(),\n \"queryString\", Map.of(),\n \"body\", Map.of(\"from\", 0, \"size\", 50))))))\n .responseMappingTemplate(MappingTemplate.fromString(\"[\\n #foreach($entry in $context.result.hits.hits)\\n #if( $velocityCount > 1 ) , #end\\n $utils.toJson($entry.get(\\\"_source\\\"))\\n #end\\n ]\"))\n .build());","version":"1"},"go":{"source":"import \"github.com/aws-samples/dummy/awscdkawsopensearchservice\"\n\nvar api graphqlApi\n\n\nuser := iam.NewUser(this, jsii.String(\"User\"))\ndomain := opensearch.NewDomain(this, jsii.String(\"Domain\"), &DomainProps{\n\tVersion: opensearch.EngineVersion_OPENSEARCH_1_2(),\n\tRemovalPolicy: awscdkcore.RemovalPolicy_DESTROY,\n\tFineGrainedAccessControl: &AdvancedSecurityOptions{\n\t\tMasterUserArn: user.UserArn,\n\t},\n\tEncryptionAtRest: &EncryptionAtRestOptions{\n\t\tEnabled: jsii.Boolean(true),\n\t},\n\tNodeToNodeEncryption: jsii.Boolean(true),\n\tEnforceHttps: jsii.Boolean(true),\n})\nds := api.AddOpenSearchDataSource(jsii.String(\"ds\"), domain)\n\nds.CreateResolver(&BaseResolverProps{\n\tTypeName: jsii.String(\"Query\"),\n\tFieldName: jsii.String(\"getTests\"),\n\tRequestMappingTemplate: appsync.MappingTemplate_FromString(jSON.stringify(map[string]interface{}{\n\t\t\"version\": jsii.String(\"2017-02-28\"),\n\t\t\"operation\": jsii.String(\"GET\"),\n\t\t\"path\": jsii.String(\"/id/post/_search\"),\n\t\t\"params\": map[string]map[string]interface{}{\n\t\t\t\"headers\": map[string]interface{}{\n\t\t\t},\n\t\t\t\"queryString\": map[string]interface{}{\n\t\t\t},\n\t\t\t\"body\": map[string]*f64{\n\t\t\t\t\"from\": jsii.Number(0),\n\t\t\t\t\"size\": jsii.Number(50),\n\t\t\t},\n\t\t},\n\t})),\n\tResponseMappingTemplate: appsync.MappingTemplate_*FromString(jsii.String(`[\n\t #foreach($entry in $context.result.hits.hits)\n\t #if( $velocityCount > 1 ) , #end\n\t $utils.toJson($entry.get(\"_source\"))\n\t #end\n\t ]`)),\n})","version":"1"},"$":{"source":"import * as opensearch from '@aws-cdk/aws-opensearchservice';\n\nconst user = new iam.User(this, 'User');\nconst domain = new opensearch.Domain(this, 'Domain', {\n version: opensearch.EngineVersion.OPENSEARCH_1_2,\n removalPolicy: RemovalPolicy.DESTROY,\n fineGrainedAccessControl: { masterUserArn: user.userArn },\n encryptionAtRest: { enabled: true },\n nodeToNodeEncryption: true,\n enforceHttps: true,\n});\n\ndeclare const api: appsync.GraphqlApi;\nconst ds = api.addOpenSearchDataSource('ds', domain);\n\nds.createResolver({\n typeName: 'Query',\n fieldName: 'getTests',\n requestMappingTemplate: appsync.MappingTemplate.fromString(JSON.stringify({\n version: '2017-02-28',\n operation: 'GET',\n path: '/id/post/_search',\n params: {\n headers: {},\n queryString: {},\n body: { from: 0, size: 50 },\n },\n })),\n responseMappingTemplate: appsync.MappingTemplate.fromString(`[\n #foreach($entry in $context.result.hits.hits)\n #if( $velocityCount > 1 ) , #end\n $utils.toJson($entry.get(\"_source\"))\n #end\n ]`),\n});","version":"0"}},"location":{"api":{"api":"moduleReadme","moduleFqn":"@aws-cdk/aws-appsync"},"field":{"field":"markdown","line":245}},"didCompile":true,"fqnsReferenced":["@aws-cdk/aws-appsync.BaseDataSource#createResolver","@aws-cdk/aws-appsync.BaseResolverProps","@aws-cdk/aws-appsync.GraphqlApiBase#addOpenSearchDataSource","@aws-cdk/aws-appsync.MappingTemplate","@aws-cdk/aws-appsync.MappingTemplate#fromString","@aws-cdk/aws-appsync.OpenSearchDataSource","@aws-cdk/aws-iam.User","@aws-cdk/aws-iam.User#userArn","@aws-cdk/aws-opensearchservice.AdvancedSecurityOptions","@aws-cdk/aws-opensearchservice.Domain","@aws-cdk/aws-opensearchservice.DomainProps","@aws-cdk/aws-opensearchservice.EncryptionAtRestOptions","@aws-cdk/aws-opensearchservice.EngineVersion","@aws-cdk/aws-opensearchservice.EngineVersion#OPENSEARCH_1_2","@aws-cdk/aws-opensearchservice.IDomain","@aws-cdk/core.RemovalPolicy","@aws-cdk/core.RemovalPolicy#DESTROY","constructs.Construct"],"fullSource":"// Hoisted imports begin after !show marker below\n/// !show\nimport * as opensearch from '@aws-cdk/aws-opensearchservice';\n\ndeclare const api: appsync.GraphqlApi;\n/// !hide\n// Hoisted imports ended before !hide marker above\n// Fixture with packages imported, but nothing else\nimport { Construct } from 'constructs';\nimport { RemovalPolicy, Stack } from '@aws-cdk/core';\nimport appsync = require('@aws-cdk/aws-appsync');\nimport ec2 = require('@aws-cdk/aws-ec2');\nimport dynamodb = require('@aws-cdk/aws-dynamodb');\nimport iam = require('@aws-cdk/aws-iam');\nimport rds = require('@aws-cdk/aws-rds');\nimport path = require('path');\n\nclass Fixture extends Stack {\n constructor(scope: Construct, id: string) {\n super(scope, id);\n // Code snippet begins after !show marker below\n/// !show\n\n\nconst user = new iam.User(this, 'User');\nconst domain = new opensearch.Domain(this, 'Domain', {\n version: opensearch.EngineVersion.OPENSEARCH_1_2,\n removalPolicy: RemovalPolicy.DESTROY,\n fineGrainedAccessControl: { masterUserArn: user.userArn },\n encryptionAtRest: { enabled: true },\n nodeToNodeEncryption: true,\n enforceHttps: true,\n});\nconst ds = api.addOpenSearchDataSource('ds', domain);\n\nds.createResolver({\n typeName: 'Query',\n fieldName: 'getTests',\n requestMappingTemplate: appsync.MappingTemplate.fromString(JSON.stringify({\n version: '2017-02-28',\n operation: 'GET',\n path: '/id/post/_search',\n params: {\n headers: {},\n queryString: {},\n body: { from: 0, size: 50 },\n },\n })),\n responseMappingTemplate: appsync.MappingTemplate.fromString(`[\n #foreach($entry in $context.result.hits.hits)\n #if( $velocityCount > 1 ) , #end\n $utils.toJson($entry.get(\"_source\"))\n #end\n ]`),\n});\n/// !hide\n// Code snippet ended before !hide marker above\n }\n}\n","syntaxKindCounter":{"8":2,"10":9,"14":1,"75":52,"104":2,"106":3,"130":1,"153":1,"169":1,"193":9,"194":13,"196":5,"197":2,"225":4,"226":1,"242":4,"243":4,"254":1,"255":1,"256":1,"281":21,"290":1},"fqnsFingerprint":"cff46d2a228c56bb339affa421a78b22abaa98503d25c489c98b091fe4ce3883"},"78e610459571cedbb760bcd7f3bb587745fbdcc5c5a1643d72ff8c9720e3b1b5":{"translations":{"python":{"source":"import aws_cdk.aws_certificatemanager as acm\nimport aws_cdk.aws_route53 as route53\n\n# hosted zone and route53 features\n# hosted_zone_id: str\nzone_name = \"example.com\"\n\n\nmy_domain_name = \"api.example.com\"\ncertificate = acm.Certificate(self, \"cert\", domain_name=my_domain_name)\napi = appsync.GraphqlApi(self, \"api\",\n name=\"myApi\",\n domain_name=appsync.DomainOptions(\n certificate=certificate,\n domain_name=my_domain_name\n )\n)\n\n# hosted zone for adding appsync domain\nzone = route53.HostedZone.from_hosted_zone_attributes(self, \"HostedZone\",\n hosted_zone_id=hosted_zone_id,\n zone_name=zone_name\n)\n\n# create a cname to the appsync domain. will map to something like xxxx.cloudfront.net\nroute53.CnameRecord(self, \"CnameApiRecord\",\n record_name=\"api\",\n zone=zone,\n domain_name=my_domain_name\n)","version":"2"},"csharp":{"source":"using Amazon.CDK.AWS.CertificateManager;\nusing Amazon.CDK.AWS.Route53;\n\n// hosted zone and route53 features\nstring hostedZoneId;\nvar zoneName = \"example.com\";\n\n\nvar myDomainName = \"api.example.com\";\nvar certificate = new Certificate(this, \"cert\", new CertificateProps { DomainName = myDomainName });\nvar api = new GraphqlApi(this, \"api\", new GraphqlApiProps {\n Name = \"myApi\",\n DomainName = new DomainOptions {\n Certificate = certificate,\n DomainName = myDomainName\n }\n});\n\n// hosted zone for adding appsync domain\nvar zone = HostedZone.FromHostedZoneAttributes(this, \"HostedZone\", new HostedZoneAttributes {\n HostedZoneId = hostedZoneId,\n ZoneName = zoneName\n});\n\n// create a cname to the appsync domain. will map to something like xxxx.cloudfront.net\n// create a cname to the appsync domain. will map to something like xxxx.cloudfront.net\nnew CnameRecord(this, \"CnameApiRecord\", new CnameRecordProps {\n RecordName = \"api\",\n Zone = zone,\n DomainName = myDomainName\n});","version":"1"},"java":{"source":"import software.amazon.awscdk.services.certificatemanager.*;\nimport software.amazon.awscdk.services.route53.*;\n\n// hosted zone and route53 features\nString hostedZoneId;\nString zoneName = \"example.com\";\n\n\nString myDomainName = \"api.example.com\";\nCertificate certificate = Certificate.Builder.create(this, \"cert\").domainName(myDomainName).build();\nGraphqlApi api = GraphqlApi.Builder.create(this, \"api\")\n .name(\"myApi\")\n .domainName(DomainOptions.builder()\n .certificate(certificate)\n .domainName(myDomainName)\n .build())\n .build();\n\n// hosted zone for adding appsync domain\nIHostedZone zone = HostedZone.fromHostedZoneAttributes(this, \"HostedZone\", HostedZoneAttributes.builder()\n .hostedZoneId(hostedZoneId)\n .zoneName(zoneName)\n .build());\n\n// create a cname to the appsync domain. will map to something like xxxx.cloudfront.net\n// create a cname to the appsync domain. will map to something like xxxx.cloudfront.net\nCnameRecord.Builder.create(this, \"CnameApiRecord\")\n .recordName(\"api\")\n .zone(zone)\n .domainName(myDomainName)\n .build();","version":"1"},"go":{"source":"import acm \"github.com/aws-samples/dummy/awscdkawscertificatemanager\"\nimport \"github.com/aws-samples/dummy/awscdkawsroute53\"\n\n// hosted zone and route53 features\nvar hostedZoneId string\nzoneName := \"example.com\"\n\n\nmyDomainName := \"api.example.com\"\ncertificate := acm.NewCertificate(this, jsii.String(\"cert\"), &CertificateProps{\n\tDomainName: myDomainName,\n})\napi := appsync.NewGraphqlApi(this, jsii.String(\"api\"), &GraphqlApiProps{\n\tName: jsii.String(\"myApi\"),\n\tDomainName: &DomainOptions{\n\t\tCertificate: *Certificate,\n\t\tDomainName: myDomainName,\n\t},\n})\n\n// hosted zone for adding appsync domain\nzone := route53.HostedZone_FromHostedZoneAttributes(this, jsii.String(\"HostedZone\"), &HostedZoneAttributes{\n\tHostedZoneId: jsii.String(HostedZoneId),\n\tZoneName: jsii.String(ZoneName),\n})\n\n// create a cname to the appsync domain. will map to something like xxxx.cloudfront.net\n// create a cname to the appsync domain. will map to something like xxxx.cloudfront.net\nroute53.NewCnameRecord(this, jsii.String(\"CnameApiRecord\"), &CnameRecordProps{\n\tRecordName: jsii.String(\"api\"),\n\tZone: Zone,\n\tDomainName: myDomainName,\n})","version":"1"},"$":{"source":"import * as acm from '@aws-cdk/aws-certificatemanager';\nimport * as route53 from '@aws-cdk/aws-route53';\n\nconst myDomainName = 'api.example.com';\nconst certificate = new acm.Certificate(this, 'cert', { domainName: myDomainName });\nconst api = new appsync.GraphqlApi(this, 'api', {\n name: 'myApi',\n domainName: {\n certificate,\n domainName: myDomainName,\n },\n});\n\n// hosted zone and route53 features\ndeclare const hostedZoneId: string;\ndeclare const zoneName = 'example.com';\n\n// hosted zone for adding appsync domain\nconst zone = route53.HostedZone.fromHostedZoneAttributes(this, `HostedZone`, {\n hostedZoneId,\n zoneName,\n});\n\n// create a cname to the appsync domain. will map to something like xxxx.cloudfront.net\nnew route53.CnameRecord(this, `CnameApiRecord`, {\n recordName: 'api',\n zone,\n domainName: myDomainName,\n});","version":"0"}},"location":{"api":{"api":"moduleReadme","moduleFqn":"@aws-cdk/aws-appsync"},"field":{"field":"markdown","line":288}},"didCompile":true,"fqnsReferenced":["@aws-cdk/aws-appsync.DomainOptions","@aws-cdk/aws-appsync.GraphqlApi","@aws-cdk/aws-appsync.GraphqlApiProps","@aws-cdk/aws-certificatemanager.Certificate","@aws-cdk/aws-certificatemanager.CertificateProps","@aws-cdk/aws-certificatemanager.ICertificate","@aws-cdk/aws-route53.CnameRecord","@aws-cdk/aws-route53.CnameRecordProps","@aws-cdk/aws-route53.HostedZone","@aws-cdk/aws-route53.HostedZone#fromHostedZoneAttributes","@aws-cdk/aws-route53.HostedZoneAttributes","@aws-cdk/aws-route53.IHostedZone","constructs.Construct"],"fullSource":"// Hoisted imports begin after !show marker below\n/// !show\nimport * as acm from '@aws-cdk/aws-certificatemanager';\nimport * as route53 from '@aws-cdk/aws-route53';\n\n// hosted zone and route53 features\ndeclare const hostedZoneId: string;\ndeclare const zoneName = 'example.com';\n/// !hide\n// Hoisted imports ended before !hide marker above\n// Fixture with packages imported, but nothing else\nimport { Construct } from 'constructs';\nimport { RemovalPolicy, Stack } from '@aws-cdk/core';\nimport appsync = require('@aws-cdk/aws-appsync');\nimport ec2 = require('@aws-cdk/aws-ec2');\nimport dynamodb = require('@aws-cdk/aws-dynamodb');\nimport iam = require('@aws-cdk/aws-iam');\nimport rds = require('@aws-cdk/aws-rds');\nimport path = require('path');\n\nclass Fixture extends Stack {\n constructor(scope: Construct, id: string) {\n super(scope, id);\n // Code snippet begins after !show marker below\n/// !show\n\n\nconst myDomainName = 'api.example.com';\nconst certificate = new acm.Certificate(this, 'cert', { domainName: myDomainName });\nconst api = new appsync.GraphqlApi(this, 'api', {\n name: 'myApi',\n domainName: {\n certificate,\n domainName: myDomainName,\n },\n});\n\n// hosted zone for adding appsync domain\nconst zone = route53.HostedZone.fromHostedZoneAttributes(this, `HostedZone`, {\n hostedZoneId,\n zoneName,\n});\n\n// create a cname to the appsync domain. will map to something like xxxx.cloudfront.net\nnew route53.CnameRecord(this, `CnameApiRecord`, {\n recordName: 'api',\n zone,\n domainName: myDomainName,\n});\n/// !hide\n// Code snippet ended before !hide marker above\n }\n}\n","syntaxKindCounter":{"10":8,"14":2,"75":30,"104":4,"130":2,"143":1,"193":5,"194":5,"196":1,"197":3,"225":6,"226":1,"242":6,"243":6,"254":2,"255":2,"256":2,"281":6,"282":4,"290":1},"fqnsFingerprint":"e3c16029f5f97fd76fa4ac61d3e0ea2064b49c26bf9238fcc71d3d9a8eb3a48e"},"e68c16792437dda32152a7ddba77566143a63ce1bc7fc014a30c628ddf71413f":{"translations":{"python":{"source":"api = appsync.GraphqlApi(self, \"api\", name=\"myApi\")","version":"2"},"csharp":{"source":"var api = new GraphqlApi(this, \"api\", new GraphqlApiProps { Name = \"myApi\" });","version":"1"},"java":{"source":"GraphqlApi api = GraphqlApi.Builder.create(this, \"api\").name(\"myApi\").build();","version":"1"},"go":{"source":"api := appsync.NewGraphqlApi(this, jsii.String(\"api\"), &GraphqlApiProps{\n\tName: jsii.String(\"myApi\"),\n})","version":"1"},"$":{"source":"const api = new appsync.GraphqlApi(this, 'api', { name: 'myApi' });","version":"0"}},"location":{"api":{"api":"moduleReadme","moduleFqn":"@aws-cdk/aws-appsync"},"field":{"field":"markdown","line":331}},"didCompile":true,"fqnsReferenced":["@aws-cdk/aws-appsync.GraphqlApi","@aws-cdk/aws-appsync.GraphqlApiProps","constructs.Construct"],"fullSource":"// Fixture with packages imported, but nothing else\nimport { Construct } from 'constructs';\nimport { RemovalPolicy, Stack } from '@aws-cdk/core';\nimport appsync = require('@aws-cdk/aws-appsync');\nimport ec2 = require('@aws-cdk/aws-ec2');\nimport dynamodb = require('@aws-cdk/aws-dynamodb');\nimport iam = require('@aws-cdk/aws-iam');\nimport rds = require('@aws-cdk/aws-rds');\nimport path = require('path');\n\nclass Fixture extends Stack {\n constructor(scope: Construct, id: string) {\n super(scope, id);\n // Code snippet begins after !show marker below\n/// !show\nconst api = new appsync.GraphqlApi(this, 'api', { name: 'myApi' });\n/// !hide\n// Code snippet ended before !hide marker above\n }\n}\n","syntaxKindCounter":{"10":2,"75":4,"104":1,"193":1,"194":1,"197":1,"225":1,"242":1,"243":1,"281":1},"fqnsFingerprint":"0190621739993aae81d9b4a85b8809d28e070e22958dda5544402578cb48cae9"},"2723373c79e3f0301bacded27526bcb4a2c51ec69d55105a3543d957d8e2c671":{"translations":{"python":{"source":"schema = appsync.Schema()\nschema.add_type(appsync.ObjectType(\"demo\",\n definition={\"id\": appsync.GraphqlType.id()}\n))\napi = appsync.GraphqlApi(self, \"api\",\n name=\"myApi\",\n schema=schema\n)","version":"2"},"csharp":{"source":"var schema = new Schema();\nschema.AddType(new ObjectType(\"demo\", new ObjectTypeOptions {\n Definition = new Dictionary { { \"id\", GraphqlType.Id() } }\n}));\nvar api = new GraphqlApi(this, \"api\", new GraphqlApiProps {\n Name = \"myApi\",\n Schema = schema\n});","version":"1"},"java":{"source":"Schema schema = new Schema();\nschema.addType(ObjectType.Builder.create(\"demo\")\n .definition(Map.of(\"id\", GraphqlType.id()))\n .build());\nGraphqlApi api = GraphqlApi.Builder.create(this, \"api\")\n .name(\"myApi\")\n .schema(schema)\n .build();","version":"1"},"go":{"source":"schema := appsync.NewSchema()\nschema.AddType(appsync.NewObjectType(jsii.String(\"demo\"), &ObjectTypeOptions{\n\tDefinition: map[string]iField{\n\t\t\"id\": appsync.GraphqlType_id(),\n\t},\n}))\napi := appsync.NewGraphqlApi(this, jsii.String(\"api\"), &GraphqlApiProps{\n\tName: jsii.String(\"myApi\"),\n\tSchema: Schema,\n})","version":"1"},"$":{"source":"const schema = new appsync.Schema();\nschema.addType(new appsync.ObjectType('demo', {\n definition: { id: appsync.GraphqlType.id() },\n}));\nconst api = new appsync.GraphqlApi(this, 'api', {\n name: 'myApi',\n schema,\n});","version":"0"}},"location":{"api":{"api":"moduleReadme","moduleFqn":"@aws-cdk/aws-appsync"},"field":{"field":"markdown","line":341}},"didCompile":true,"fqnsReferenced":["@aws-cdk/aws-appsync.GraphqlApi","@aws-cdk/aws-appsync.GraphqlApiProps","@aws-cdk/aws-appsync.GraphqlType","@aws-cdk/aws-appsync.GraphqlType#id","@aws-cdk/aws-appsync.IField","@aws-cdk/aws-appsync.IIntermediateType","@aws-cdk/aws-appsync.ObjectType","@aws-cdk/aws-appsync.ObjectTypeOptions","@aws-cdk/aws-appsync.Schema","@aws-cdk/aws-appsync.Schema#addType","constructs.Construct"],"fullSource":"// Fixture with packages imported, but nothing else\nimport { Construct } from 'constructs';\nimport { RemovalPolicy, Stack } from '@aws-cdk/core';\nimport appsync = require('@aws-cdk/aws-appsync');\nimport ec2 = require('@aws-cdk/aws-ec2');\nimport dynamodb = require('@aws-cdk/aws-dynamodb');\nimport iam = require('@aws-cdk/aws-iam');\nimport rds = require('@aws-cdk/aws-rds');\nimport path = require('path');\n\nclass Fixture extends Stack {\n constructor(scope: Construct, id: string) {\n super(scope, id);\n // Code snippet begins after !show marker below\n/// !show\nconst schema = new appsync.Schema();\nschema.addType(new appsync.ObjectType('demo', {\n definition: { id: appsync.GraphqlType.id() },\n}));\nconst api = new appsync.GraphqlApi(this, 'api', {\n name: 'myApi',\n schema,\n});\n/// !hide\n// Code snippet ended before !hide marker above\n }\n}\n","syntaxKindCounter":{"10":3,"75":17,"104":1,"193":3,"194":6,"196":2,"197":3,"225":2,"226":1,"242":2,"243":2,"281":3,"282":1},"fqnsFingerprint":"e09aafb60940b7cbb9a15eda765254a223f819aafc57b10230d503b57a6138e5"},"7bfa48ef3b0ca7c84101b5cad0487444279edbe184d98505cfe8778f444f5b51":{"translations":{"python":{"source":"api = appsync.GraphqlApi(self, \"api\",\n name=\"myApi\",\n schema=appsync.Schema.from_asset(path.join(__dirname, \"schema.graphl\"))\n)","version":"2"},"csharp":{"source":"var api = new GraphqlApi(this, \"api\", new GraphqlApiProps {\n Name = \"myApi\",\n Schema = Schema.FromAsset(Join(__dirname, \"schema.graphl\"))\n});","version":"1"},"java":{"source":"GraphqlApi api = GraphqlApi.Builder.create(this, \"api\")\n .name(\"myApi\")\n .schema(Schema.fromAsset(join(__dirname, \"schema.graphl\")))\n .build();","version":"1"},"go":{"source":"api := appsync.NewGraphqlApi(this, jsii.String(\"api\"), &GraphqlApiProps{\n\tName: jsii.String(\"myApi\"),\n\tSchema: appsync.Schema_FromAsset(path.join(__dirname, jsii.String(\"schema.graphl\"))),\n})","version":"1"},"$":{"source":"const api = new appsync.GraphqlApi(this, 'api', {\n name: 'myApi',\n schema: appsync.Schema.fromAsset(path.join(__dirname, 'schema.graphl')),\n});","version":"0"}},"location":{"api":{"api":"moduleReadme","moduleFqn":"@aws-cdk/aws-appsync"},"field":{"field":"markdown","line":359}},"didCompile":true,"fqnsReferenced":["@aws-cdk/aws-appsync.GraphqlApi","@aws-cdk/aws-appsync.GraphqlApiProps","@aws-cdk/aws-appsync.Schema","@aws-cdk/aws-appsync.Schema#fromAsset","constructs.Construct"],"fullSource":"// Fixture with packages imported, but nothing else\nimport { Construct } from 'constructs';\nimport { RemovalPolicy, Stack } from '@aws-cdk/core';\nimport appsync = require('@aws-cdk/aws-appsync');\nimport ec2 = require('@aws-cdk/aws-ec2');\nimport dynamodb = require('@aws-cdk/aws-dynamodb');\nimport iam = require('@aws-cdk/aws-iam');\nimport rds = require('@aws-cdk/aws-rds');\nimport path = require('path');\n\nclass Fixture extends Stack {\n constructor(scope: Construct, id: string) {\n super(scope, id);\n // Code snippet begins after !show marker below\n/// !show\nconst api = new appsync.GraphqlApi(this, 'api', {\n name: 'myApi',\n schema: appsync.Schema.fromAsset(path.join(__dirname, 'schema.graphl')),\n});\n/// !hide\n// Code snippet ended before !hide marker above\n }\n}\n","syntaxKindCounter":{"10":3,"75":11,"104":1,"193":1,"194":4,"196":2,"197":1,"225":1,"242":1,"243":1,"281":2},"fqnsFingerprint":"862c50f19d45052f85bab079746a7100db576b31d810a49bdd448ade62250b8a"},"3035679664fe970343e4365e7bc65a8755bad84a3daaf2920e3283444ef53b12":{"translations":{"python":{"source":"# api: appsync.GraphqlApi\n# table: dynamodb.Table\n\nimported_api = appsync.GraphqlApi.from_graphql_api_attributes(self, \"IApi\",\n graphql_api_id=api.api_id,\n graphql_api_arn=api.arn\n)\nimported_api.add_dynamo_db_data_source(\"TableDataSource\", table)","version":"2"},"csharp":{"source":"GraphqlApi api;\nTable table;\n\nvar importedApi = GraphqlApi.FromGraphqlApiAttributes(this, \"IApi\", new GraphqlApiAttributes {\n GraphqlApiId = api.ApiId,\n GraphqlApiArn = api.Arn\n});\nimportedApi.AddDynamoDbDataSource(\"TableDataSource\", table);","version":"1"},"java":{"source":"GraphqlApi api;\nTable table;\n\nIGraphqlApi importedApi = GraphqlApi.fromGraphqlApiAttributes(this, \"IApi\", GraphqlApiAttributes.builder()\n .graphqlApiId(api.getApiId())\n .graphqlApiArn(api.getArn())\n .build());\nimportedApi.addDynamoDbDataSource(\"TableDataSource\", table);","version":"1"},"go":{"source":"var api graphqlApi\nvar table table\n\nimportedApi := appsync.graphqlApi_FromGraphqlApiAttributes(this, jsii.String(\"IApi\"), &GraphqlApiAttributes{\n\tGraphqlApiId: api.ApiId,\n\tGraphqlApiArn: api.Arn,\n})\nimportedApi.AddDynamoDbDataSource(jsii.String(\"TableDataSource\"), table)","version":"1"},"$":{"source":"declare const api: appsync.GraphqlApi;\ndeclare const table: dynamodb.Table;\nconst importedApi = appsync.GraphqlApi.fromGraphqlApiAttributes(this, 'IApi', {\n graphqlApiId: api.apiId,\n graphqlApiArn: api.arn,\n});\nimportedApi.addDynamoDbDataSource('TableDataSource', table);","version":"0"}},"location":{"api":{"api":"moduleReadme","moduleFqn":"@aws-cdk/aws-appsync"},"field":{"field":"markdown","line":372}},"didCompile":true,"fqnsReferenced":["@aws-cdk/aws-appsync.GraphqlApi","@aws-cdk/aws-appsync.GraphqlApi#apiId","@aws-cdk/aws-appsync.GraphqlApi#arn","@aws-cdk/aws-appsync.GraphqlApi#fromGraphqlApiAttributes","@aws-cdk/aws-appsync.GraphqlApiAttributes","@aws-cdk/aws-appsync.IGraphqlApi","@aws-cdk/aws-appsync.IGraphqlApi#addDynamoDbDataSource","@aws-cdk/aws-dynamodb.ITable","constructs.Construct"],"fullSource":"// Hoisted imports begin after !show marker below\n/// !show\ndeclare const api: appsync.GraphqlApi;\ndeclare const table: dynamodb.Table;\n/// !hide\n// Hoisted imports ended before !hide marker above\n// Fixture with packages imported, but nothing else\nimport { Construct } from 'constructs';\nimport { RemovalPolicy, Stack } from '@aws-cdk/core';\nimport appsync = require('@aws-cdk/aws-appsync');\nimport ec2 = require('@aws-cdk/aws-ec2');\nimport dynamodb = require('@aws-cdk/aws-dynamodb');\nimport iam = require('@aws-cdk/aws-iam');\nimport rds = require('@aws-cdk/aws-rds');\nimport path = require('path');\n\nclass Fixture extends Stack {\n constructor(scope: Construct, id: string) {\n super(scope, id);\n // Code snippet begins after !show marker below\n/// !show\n\nconst importedApi = appsync.GraphqlApi.fromGraphqlApiAttributes(this, 'IApi', {\n graphqlApiId: api.apiId,\n graphqlApiArn: api.arn,\n});\nimportedApi.addDynamoDbDataSource('TableDataSource', table);\n/// !hide\n// Code snippet ended before !hide marker above\n }\n}\n","syntaxKindCounter":{"10":2,"75":19,"104":1,"130":2,"153":2,"169":2,"193":1,"194":5,"196":2,"225":3,"226":1,"242":3,"243":3,"281":2,"290":1},"fqnsFingerprint":"86f7e43e17c9d77ae16481ae83387b53b7e698cdb1178787a886f9bac01fa756"},"f883501a9c107918f8e49ee6395bd580ef63a55887a26c372ad3d48a026ff926":{"translations":{"python":{"source":"import aws_cdk.aws_lambda as lambda_\n# auth_function: lambda.Function\n\n\nappsync.GraphqlApi(self, \"api\",\n name=\"api\",\n schema=appsync.Schema.from_asset(path.join(__dirname, \"appsync.test.graphql\")),\n authorization_config=appsync.AuthorizationConfig(\n default_authorization=appsync.AuthorizationMode(\n authorization_type=appsync.AuthorizationType.LAMBDA,\n lambda_authorizer_config=appsync.LambdaAuthorizerConfig(\n handler=auth_function\n )\n )\n )\n)","version":"2"},"csharp":{"source":"using Amazon.CDK.AWS.Lambda;\nFunction authFunction;\n\n\nnew GraphqlApi(this, \"api\", new GraphqlApiProps {\n Name = \"api\",\n Schema = Schema.FromAsset(Join(__dirname, \"appsync.test.graphql\")),\n AuthorizationConfig = new AuthorizationConfig {\n DefaultAuthorization = new AuthorizationMode {\n AuthorizationType = AuthorizationType.LAMBDA,\n LambdaAuthorizerConfig = new LambdaAuthorizerConfig {\n Handler = authFunction\n }\n }\n }\n});","version":"1"},"java":{"source":"import software.amazon.awscdk.services.lambda.*;\nFunction authFunction;\n\n\nGraphqlApi.Builder.create(this, \"api\")\n .name(\"api\")\n .schema(Schema.fromAsset(join(__dirname, \"appsync.test.graphql\")))\n .authorizationConfig(AuthorizationConfig.builder()\n .defaultAuthorization(AuthorizationMode.builder()\n .authorizationType(AuthorizationType.LAMBDA)\n .lambdaAuthorizerConfig(LambdaAuthorizerConfig.builder()\n .handler(authFunction)\n .build())\n .build())\n .build())\n .build();","version":"1"},"go":{"source":"import lambda \"github.com/aws-samples/dummy/awscdkawslambda\"\nvar authFunction function\n\n\nappsync.NewGraphqlApi(this, jsii.String(\"api\"), &GraphqlApiProps{\n\tName: jsii.String(\"api\"),\n\tSchema: appsync.Schema_FromAsset(path.join(__dirname, jsii.String(\"appsync.test.graphql\"))),\n\tAuthorizationConfig: &AuthorizationConfig{\n\t\tDefaultAuthorization: &AuthorizationMode{\n\t\t\tAuthorizationType: appsync.AuthorizationType_LAMBDA,\n\t\t\tLambdaAuthorizerConfig: &LambdaAuthorizerConfig{\n\t\t\t\tHandler: authFunction,\n\t\t\t},\n\t\t},\n\t},\n})","version":"1"},"$":{"source":"import * as lambda from '@aws-cdk/aws-lambda';\ndeclare const authFunction: lambda.Function;\n\nnew appsync.GraphqlApi(this, 'api', {\n name: 'api',\n schema: appsync.Schema.fromAsset(path.join(__dirname, 'appsync.test.graphql')),\n authorizationConfig: {\n defaultAuthorization: {\n authorizationType: appsync.AuthorizationType.LAMBDA,\n lambdaAuthorizerConfig: {\n handler: authFunction,\n // can also specify `resultsCacheTtl` and `validationRegex`.\n },\n },\n },\n});","version":"0"}},"location":{"api":{"api":"moduleReadme","moduleFqn":"@aws-cdk/aws-appsync"},"field":{"field":"markdown","line":402}},"didCompile":true,"fqnsReferenced":["@aws-cdk/aws-appsync.AuthorizationConfig","@aws-cdk/aws-appsync.AuthorizationMode","@aws-cdk/aws-appsync.AuthorizationType","@aws-cdk/aws-appsync.AuthorizationType#LAMBDA","@aws-cdk/aws-appsync.GraphqlApi","@aws-cdk/aws-appsync.GraphqlApiProps","@aws-cdk/aws-appsync.LambdaAuthorizerConfig","@aws-cdk/aws-appsync.Schema","@aws-cdk/aws-appsync.Schema#fromAsset","@aws-cdk/aws-lambda.IFunction","constructs.Construct"],"fullSource":"// Hoisted imports begin after !show marker below\n/// !show\nimport * as lambda from '@aws-cdk/aws-lambda';\ndeclare const authFunction: lambda.Function;\n/// !hide\n// Hoisted imports ended before !hide marker above\n// Fixture with packages imported, but nothing else\nimport { Construct } from 'constructs';\nimport { RemovalPolicy, Stack } from '@aws-cdk/core';\nimport appsync = require('@aws-cdk/aws-appsync');\nimport ec2 = require('@aws-cdk/aws-ec2');\nimport dynamodb = require('@aws-cdk/aws-dynamodb');\nimport iam = require('@aws-cdk/aws-iam');\nimport rds = require('@aws-cdk/aws-rds');\nimport path = require('path');\n\nclass Fixture extends Stack {\n constructor(scope: Construct, id: string) {\n super(scope, id);\n // Code snippet begins after !show marker below\n/// !show\n\n\nnew appsync.GraphqlApi(this, 'api', {\n name: 'api',\n schema: appsync.Schema.fromAsset(path.join(__dirname, 'appsync.test.graphql')),\n authorizationConfig: {\n defaultAuthorization: {\n authorizationType: appsync.AuthorizationType.LAMBDA,\n lambdaAuthorizerConfig: {\n handler: authFunction,\n // can also specify `resultsCacheTtl` and `validationRegex`.\n },\n },\n },\n});\n/// !hide\n// Code snippet ended before !hide marker above\n }\n}\n","syntaxKindCounter":{"10":4,"75":23,"104":1,"130":1,"153":1,"169":1,"193":4,"194":6,"196":2,"197":1,"225":1,"226":1,"242":1,"243":1,"254":1,"255":1,"256":1,"281":7,"290":1},"fqnsFingerprint":"c512599d425a8a6255a20126df488cd7ac5a7a80e30e5faf34913879386b33a2"},"7fd5ff0a8cc90a5d7cac948f72ad649333e220e430b6fa5881d08d61d5400afe":{"translations":{"python":{"source":"# api: appsync.GraphqlApi\nrole = iam.Role(self, \"Role\",\n assumed_by=iam.ServicePrincipal(\"lambda.amazonaws.com\")\n)\n\napi.grant(role, appsync.IamResource.custom(\"types/Mutation/fields/updateExample\"), \"appsync:GraphQL\")","version":"2"},"csharp":{"source":"GraphqlApi api;\nvar role = new Role(this, \"Role\", new RoleProps {\n AssumedBy = new ServicePrincipal(\"lambda.amazonaws.com\")\n});\n\napi.Grant(role, IamResource.Custom(\"types/Mutation/fields/updateExample\"), \"appsync:GraphQL\");","version":"1"},"java":{"source":"GraphqlApi api;\nRole role = Role.Builder.create(this, \"Role\")\n .assumedBy(new ServicePrincipal(\"lambda.amazonaws.com\"))\n .build();\n\napi.grant(role, IamResource.custom(\"types/Mutation/fields/updateExample\"), \"appsync:GraphQL\");","version":"1"},"go":{"source":"var api graphqlApi\nrole := iam.NewRole(this, jsii.String(\"Role\"), &RoleProps{\n\tAssumedBy: iam.NewServicePrincipal(jsii.String(\"lambda.amazonaws.com\")),\n})\n\napi.Grant(role, appsync.IamResource_Custom(jsii.String(\"types/Mutation/fields/updateExample\")), jsii.String(\"appsync:GraphQL\"))","version":"1"},"$":{"source":"const role = new iam.Role(this, 'Role', {\n assumedBy: new iam.ServicePrincipal('lambda.amazonaws.com'),\n});\ndeclare const api: appsync.GraphqlApi;\n\napi.grant(role, appsync.IamResource.custom('types/Mutation/fields/updateExample'), 'appsync:GraphQL');","version":"0"}},"location":{"api":{"api":"moduleReadme","moduleFqn":"@aws-cdk/aws-appsync"},"field":{"field":"markdown","line":464}},"didCompile":true,"fqnsReferenced":["@aws-cdk/aws-appsync.GraphqlApi#grant","@aws-cdk/aws-appsync.IamResource","@aws-cdk/aws-appsync.IamResource#custom","@aws-cdk/aws-iam.IGrantable","@aws-cdk/aws-iam.IPrincipal","@aws-cdk/aws-iam.Role","@aws-cdk/aws-iam.RoleProps","@aws-cdk/aws-iam.ServicePrincipal","constructs.Construct"],"fullSource":"// Hoisted imports begin after !show marker below\n/// !show\n\ndeclare const api: appsync.GraphqlApi;\n/// !hide\n// Hoisted imports ended before !hide marker above\n// Fixture with packages imported, but nothing else\nimport { Construct } from 'constructs';\nimport { RemovalPolicy, Stack } from '@aws-cdk/core';\nimport appsync = require('@aws-cdk/aws-appsync');\nimport ec2 = require('@aws-cdk/aws-ec2');\nimport dynamodb = require('@aws-cdk/aws-dynamodb');\nimport iam = require('@aws-cdk/aws-iam');\nimport rds = require('@aws-cdk/aws-rds');\nimport path = require('path');\n\nclass Fixture extends Stack {\n constructor(scope: Construct, id: string) {\n super(scope, id);\n // Code snippet begins after !show marker below\n/// !show\nconst role = new iam.Role(this, 'Role', {\n assumedBy: new iam.ServicePrincipal('lambda.amazonaws.com'),\n});\n\napi.grant(role, appsync.IamResource.custom('types/Mutation/fields/updateExample'), 'appsync:GraphQL');\n/// !hide\n// Code snippet ended before !hide marker above\n }\n}\n","syntaxKindCounter":{"10":4,"75":15,"104":1,"130":1,"153":1,"169":1,"193":1,"194":5,"196":2,"197":2,"225":2,"226":1,"242":2,"243":2,"281":1,"290":1},"fqnsFingerprint":"1318c205319495115917d408fa5fa1fb01ee41c9821b0eec0fb2c90f6f01bd71"},"a4db9d7c9a84f4fc3f246a382cf97b1b512aa4a0ff2731b71d0add868ce3d671":{"translations":{"python":{"source":"# api: appsync.GraphqlApi\n# role: iam.Role\n\n\n# For generic types\napi.grant_mutation(role, \"updateExample\")\n\n# For custom types and granular design\napi.grant(role, appsync.IamResource.of_type(\"Mutation\", \"updateExample\"), \"appsync:GraphQL\")","version":"2"},"csharp":{"source":"GraphqlApi api;\nRole role;\n\n\n// For generic types\napi.GrantMutation(role, \"updateExample\");\n\n// For custom types and granular design\napi.Grant(role, IamResource.OfType(\"Mutation\", \"updateExample\"), \"appsync:GraphQL\");","version":"1"},"java":{"source":"GraphqlApi api;\nRole role;\n\n\n// For generic types\napi.grantMutation(role, \"updateExample\");\n\n// For custom types and granular design\napi.grant(role, IamResource.ofType(\"Mutation\", \"updateExample\"), \"appsync:GraphQL\");","version":"1"},"go":{"source":"var api graphqlApi\nvar role role\n\n\n// For generic types\napi.GrantMutation(role, jsii.String(\"updateExample\"))\n\n// For custom types and granular design\napi.Grant(role, appsync.IamResource_OfType(jsii.String(\"Mutation\"), jsii.String(\"updateExample\")), jsii.String(\"appsync:GraphQL\"))","version":"1"},"$":{"source":"declare const api: appsync.GraphqlApi;\ndeclare const role: iam.Role;\n\n// For generic types\napi.grantMutation(role, 'updateExample');\n\n// For custom types and granular design\napi.grant(role, appsync.IamResource.ofType('Mutation', 'updateExample'), 'appsync:GraphQL');","version":"0"}},"location":{"api":{"api":"moduleReadme","moduleFqn":"@aws-cdk/aws-appsync"},"field":{"field":"markdown","line":493}},"didCompile":true,"fqnsReferenced":["@aws-cdk/aws-appsync.GraphqlApi#grant","@aws-cdk/aws-appsync.GraphqlApi#grantMutation","@aws-cdk/aws-appsync.IamResource","@aws-cdk/aws-appsync.IamResource#ofType","@aws-cdk/aws-iam.IGrantable"],"fullSource":"// Hoisted imports begin after !show marker below\n/// !show\ndeclare const api: appsync.GraphqlApi;\ndeclare const role: iam.Role;\n/// !hide\n// Hoisted imports ended before !hide marker above\n// Fixture with packages imported, but nothing else\nimport { Construct } from 'constructs';\nimport { RemovalPolicy, Stack } from '@aws-cdk/core';\nimport appsync = require('@aws-cdk/aws-appsync');\nimport ec2 = require('@aws-cdk/aws-ec2');\nimport dynamodb = require('@aws-cdk/aws-dynamodb');\nimport iam = require('@aws-cdk/aws-iam');\nimport rds = require('@aws-cdk/aws-rds');\nimport path = require('path');\n\nclass Fixture extends Stack {\n constructor(scope: Construct, id: string) {\n super(scope, id);\n // Code snippet begins after !show marker below\n/// !show\n\n\n// For generic types\napi.grantMutation(role, 'updateExample');\n\n// For custom types and granular design\napi.grant(role, appsync.IamResource.ofType('Mutation', 'updateExample'), 'appsync:GraphQL');\n/// !hide\n// Code snippet ended before !hide marker above\n }\n}\n","syntaxKindCounter":{"10":4,"75":15,"130":2,"153":2,"169":2,"194":4,"196":3,"225":2,"226":2,"242":2,"243":2,"290":1},"fqnsFingerprint":"38f95dedc07769aaa47721d46d23fa6df14ba9f5f388eb326f56c982e7bda93c"},"bd627fa53a55d783a291be23d9eb0255bcf588090e0de7fb798035081f2a390b":{"translations":{"python":{"source":"# api: appsync.GraphqlApi\n\n\nappsync_function = appsync.AppsyncFunction(self, \"function\",\n name=\"appsync_function\",\n api=api,\n data_source=api.add_none_data_source(\"none\"),\n request_mapping_template=appsync.MappingTemplate.from_file(\"request.vtl\"),\n response_mapping_template=appsync.MappingTemplate.from_file(\"response.vtl\")\n)","version":"2"},"csharp":{"source":"GraphqlApi api;\n\n\nvar appsyncFunction = new AppsyncFunction(this, \"function\", new AppsyncFunctionProps {\n Name = \"appsync_function\",\n Api = api,\n DataSource = api.AddNoneDataSource(\"none\"),\n RequestMappingTemplate = MappingTemplate.FromFile(\"request.vtl\"),\n ResponseMappingTemplate = MappingTemplate.FromFile(\"response.vtl\")\n});","version":"1"},"java":{"source":"GraphqlApi api;\n\n\nAppsyncFunction appsyncFunction = AppsyncFunction.Builder.create(this, \"function\")\n .name(\"appsync_function\")\n .api(api)\n .dataSource(api.addNoneDataSource(\"none\"))\n .requestMappingTemplate(MappingTemplate.fromFile(\"request.vtl\"))\n .responseMappingTemplate(MappingTemplate.fromFile(\"response.vtl\"))\n .build();","version":"1"},"go":{"source":"var api graphqlApi\n\n\nappsyncFunction := appsync.NewAppsyncFunction(this, jsii.String(\"function\"), &AppsyncFunctionProps{\n\tName: jsii.String(\"appsync_function\"),\n\tApi: Api,\n\tDataSource: api.AddNoneDataSource(jsii.String(\"none\")),\n\tRequestMappingTemplate: appsync.MappingTemplate_FromFile(jsii.String(\"request.vtl\")),\n\tResponseMappingTemplate: appsync.MappingTemplate_*FromFile(jsii.String(\"response.vtl\")),\n})","version":"1"},"$":{"source":"declare const api: appsync.GraphqlApi;\n\nconst appsyncFunction = new appsync.AppsyncFunction(this, 'function', {\n name: 'appsync_function',\n api,\n dataSource: api.addNoneDataSource('none'),\n requestMappingTemplate: appsync.MappingTemplate.fromFile('request.vtl'),\n responseMappingTemplate: appsync.MappingTemplate.fromFile('response.vtl'),\n});","version":"0"}},"location":{"api":{"api":"moduleReadme","moduleFqn":"@aws-cdk/aws-appsync"},"field":{"field":"markdown","line":510}},"didCompile":true,"fqnsReferenced":["@aws-cdk/aws-appsync.AppsyncFunction","@aws-cdk/aws-appsync.AppsyncFunctionProps","@aws-cdk/aws-appsync.BaseDataSource","@aws-cdk/aws-appsync.GraphqlApiBase#addNoneDataSource","@aws-cdk/aws-appsync.IGraphqlApi","@aws-cdk/aws-appsync.MappingTemplate","@aws-cdk/aws-appsync.MappingTemplate#fromFile","constructs.Construct"],"fullSource":"// Hoisted imports begin after !show marker below\n/// !show\ndeclare const api: appsync.GraphqlApi;\n/// !hide\n// Hoisted imports ended before !hide marker above\n// Fixture with packages imported, but nothing else\nimport { Construct } from 'constructs';\nimport { RemovalPolicy, Stack } from '@aws-cdk/core';\nimport appsync = require('@aws-cdk/aws-appsync');\nimport ec2 = require('@aws-cdk/aws-ec2');\nimport dynamodb = require('@aws-cdk/aws-dynamodb');\nimport iam = require('@aws-cdk/aws-iam');\nimport rds = require('@aws-cdk/aws-rds');\nimport path = require('path');\n\nclass Fixture extends Stack {\n constructor(scope: Construct, id: string) {\n super(scope, id);\n // Code snippet begins after !show marker below\n/// !show\n\n\nconst appsyncFunction = new appsync.AppsyncFunction(this, 'function', {\n name: 'appsync_function',\n api,\n dataSource: api.addNoneDataSource('none'),\n requestMappingTemplate: appsync.MappingTemplate.fromFile('request.vtl'),\n responseMappingTemplate: appsync.MappingTemplate.fromFile('response.vtl'),\n});\n/// !hide\n// Code snippet ended before !hide marker above\n }\n}\n","syntaxKindCounter":{"10":5,"75":19,"104":1,"130":1,"153":1,"169":1,"193":1,"194":6,"196":3,"197":1,"225":2,"242":2,"243":2,"281":4,"282":1,"290":1},"fqnsFingerprint":"99bbae50caea99c27cfe35db00f408007e1469299aa2e7cc2281f95423da5d2f"},"5812d23e7ddbb22efee4bb5a91b5230567150c58e8aff210e2b0f2ae498e0767":{"translations":{"python":{"source":"# api: appsync.GraphqlApi\n# appsync_function: appsync.AppsyncFunction\n\n\npipeline_resolver = appsync.Resolver(self, \"pipeline\",\n api=api,\n data_source=api.add_none_data_source(\"none\"),\n type_name=\"typeName\",\n field_name=\"fieldName\",\n request_mapping_template=appsync.MappingTemplate.from_file(\"beforeRequest.vtl\"),\n pipeline_config=[appsync_function],\n response_mapping_template=appsync.MappingTemplate.from_file(\"afterResponse.vtl\")\n)","version":"2"},"csharp":{"source":"GraphqlApi api;\nAppsyncFunction appsyncFunction;\n\n\nvar pipelineResolver = new Resolver(this, \"pipeline\", new ResolverProps {\n Api = api,\n DataSource = api.AddNoneDataSource(\"none\"),\n TypeName = \"typeName\",\n FieldName = \"fieldName\",\n RequestMappingTemplate = MappingTemplate.FromFile(\"beforeRequest.vtl\"),\n PipelineConfig = new [] { appsyncFunction },\n ResponseMappingTemplate = MappingTemplate.FromFile(\"afterResponse.vtl\")\n});","version":"1"},"java":{"source":"GraphqlApi api;\nAppsyncFunction appsyncFunction;\n\n\nResolver pipelineResolver = Resolver.Builder.create(this, \"pipeline\")\n .api(api)\n .dataSource(api.addNoneDataSource(\"none\"))\n .typeName(\"typeName\")\n .fieldName(\"fieldName\")\n .requestMappingTemplate(MappingTemplate.fromFile(\"beforeRequest.vtl\"))\n .pipelineConfig(List.of(appsyncFunction))\n .responseMappingTemplate(MappingTemplate.fromFile(\"afterResponse.vtl\"))\n .build();","version":"1"},"go":{"source":"var api graphqlApi\nvar appsyncFunction appsyncFunction\n\n\npipelineResolver := appsync.NewResolver(this, jsii.String(\"pipeline\"), &ResolverProps{\n\tApi: Api,\n\tDataSource: api.AddNoneDataSource(jsii.String(\"none\")),\n\tTypeName: jsii.String(\"typeName\"),\n\tFieldName: jsii.String(\"fieldName\"),\n\tRequestMappingTemplate: appsync.MappingTemplate_FromFile(jsii.String(\"beforeRequest.vtl\")),\n\tPipelineConfig: []iAppsyncFunction{\n\t\tappsyncFunction,\n\t},\n\tResponseMappingTemplate: appsync.MappingTemplate_*FromFile(jsii.String(\"afterResponse.vtl\")),\n})","version":"1"},"$":{"source":"declare const api: appsync.GraphqlApi;\ndeclare const appsyncFunction: appsync.AppsyncFunction;\n\nconst pipelineResolver = new appsync.Resolver(this, 'pipeline', {\n api,\n dataSource: api.addNoneDataSource('none'),\n typeName: 'typeName',\n fieldName: 'fieldName',\n requestMappingTemplate: appsync.MappingTemplate.fromFile('beforeRequest.vtl'),\n pipelineConfig: [appsyncFunction],\n responseMappingTemplate: appsync.MappingTemplate.fromFile('afterResponse.vtl'),\n});","version":"0"}},"location":{"api":{"api":"moduleReadme","moduleFqn":"@aws-cdk/aws-appsync"},"field":{"field":"markdown","line":525}},"didCompile":true,"fqnsReferenced":["@aws-cdk/aws-appsync.BaseDataSource","@aws-cdk/aws-appsync.GraphqlApiBase#addNoneDataSource","@aws-cdk/aws-appsync.IGraphqlApi","@aws-cdk/aws-appsync.MappingTemplate","@aws-cdk/aws-appsync.MappingTemplate#fromFile","@aws-cdk/aws-appsync.Resolver","@aws-cdk/aws-appsync.ResolverProps","constructs.Construct"],"fullSource":"// Hoisted imports begin after !show marker below\n/// !show\ndeclare const api: appsync.GraphqlApi;\ndeclare const appsyncFunction: appsync.AppsyncFunction;\n/// !hide\n// Hoisted imports ended before !hide marker above\n// Fixture with packages imported, but nothing else\nimport { Construct } from 'constructs';\nimport { RemovalPolicy, Stack } from '@aws-cdk/core';\nimport appsync = require('@aws-cdk/aws-appsync');\nimport ec2 = require('@aws-cdk/aws-ec2');\nimport dynamodb = require('@aws-cdk/aws-dynamodb');\nimport iam = require('@aws-cdk/aws-iam');\nimport rds = require('@aws-cdk/aws-rds');\nimport path = require('path');\n\nclass Fixture extends Stack {\n constructor(scope: Construct, id: string) {\n super(scope, id);\n // Code snippet begins after !show marker below\n/// !show\n\n\nconst pipelineResolver = new appsync.Resolver(this, 'pipeline', {\n api,\n dataSource: api.addNoneDataSource('none'),\n typeName: 'typeName',\n fieldName: 'fieldName',\n requestMappingTemplate: appsync.MappingTemplate.fromFile('beforeRequest.vtl'),\n pipelineConfig: [appsyncFunction],\n responseMappingTemplate: appsync.MappingTemplate.fromFile('afterResponse.vtl'),\n});\n/// !hide\n// Code snippet ended before !hide marker above\n }\n}\n","syntaxKindCounter":{"10":6,"75":25,"104":1,"130":2,"153":2,"169":2,"192":1,"193":1,"194":6,"196":3,"197":1,"225":3,"242":3,"243":3,"281":6,"282":1,"290":1},"fqnsFingerprint":"a1cf2ef9e8d98556f23d17d7177239c82246db86eec5517e48cf160abfcdd5bc"},"f75ad801a7964243ed763e9feca3365a717ae1eebf6af9f04edd0a55fb440945":{"translations":{"python":{"source":"import aws_cdk.aws_appsync as appsync\npluralize = require(\"pluralize\")\n\nargs = {\n \"after\": appsync.GraphqlType.string(),\n \"first\": appsync.GraphqlType.int(),\n \"before\": appsync.GraphqlType.string(),\n \"last\": appsync.GraphqlType.int()\n}\n\nNode = appsync.InterfaceType(\"Node\",\n definition={\"id\": appsync.GraphqlType.string()}\n)\nFilmNode = appsync.ObjectType(\"FilmNode\",\n interface_types=[Node],\n definition={\"film_name\": appsync.GraphqlType.string()}\n)\n\ndef generate_edge_and_connection(base):\n edge = appsync.ObjectType(f\"{base.name}Edge\",\n definition={\"node\": base.attribute(), \"cursor\": appsync.GraphqlType.string()}\n )\n connection = appsync.ObjectType(f\"{base.name}Connection\",\n definition={\n \"edges\": edge.attribute(is_list=True),\n \"pluralize(base.name)\": base.attribute(is_list=True),\n \"total_count\": appsync.GraphqlType.int()\n }\n )\n return {\"edge\": edge, \"connection\": connection}","version":"2"},"csharp":{"source":"using Amazon.CDK.AWS.AppSync;\nvar pluralize = Require(\"pluralize\");\n\nIDictionary args = new Dictionary {\n { \"after\", GraphqlType.String() },\n { \"first\", GraphqlType.Int() },\n { \"before\", GraphqlType.String() },\n { \"last\", GraphqlType.Int() }\n};\n\nvar Node = new InterfaceType(\"Node\", new IntermediateTypeOptions {\n Definition = new Dictionary { { \"id\", GraphqlType.String() } }\n});\nvar FilmNode = new ObjectType(\"FilmNode\", new ObjectTypeOptions {\n InterfaceTypes = new [] { Node },\n Definition = new Dictionary { { \"filmName\", GraphqlType.String() } }\n});\n\npublic IDictionary GenerateEdgeAndConnection(ObjectType base)\n{\n var edge = new ObjectType($\"{base.name}Edge\", new ObjectTypeOptions {\n Definition = new Dictionary { { \"node\", base.Attribute() }, { \"cursor\", GraphqlType.String() } }\n });\n var connection = new ObjectType($\"{base.name}Connection\", new ObjectTypeOptions {\n Definition = new Dictionary {\n { \"edges\", edge.Attribute(new BaseTypeOptions { IsList = true }) },\n { Pluralize(base.Name), base.Attribute(new BaseTypeOptions { IsList = true }) },\n { \"totalCount\", GraphqlType.Int() }\n }\n });\n return new Struct { Edge = edge, Connection = connection };\n}","version":"1"},"java":{"source":"import software.amazon.awscdk.services.appsync.*;\nObject pluralize = require(\"pluralize\");\n\nMap args = Map.of(\n \"after\", GraphqlType.string(),\n \"first\", GraphqlType.int(),\n \"before\", GraphqlType.string(),\n \"last\", GraphqlType.int());\n\nInterfaceType Node = InterfaceType.Builder.create(\"Node\")\n .definition(Map.of(\"id\", GraphqlType.string()))\n .build();\nObjectType FilmNode = ObjectType.Builder.create(\"FilmNode\")\n .interfaceTypes(List.of(Node))\n .definition(Map.of(\"filmName\", GraphqlType.string()))\n .build();\n\npublic Map generateEdgeAndConnection(ObjectType base) {\n ObjectType edge = ObjectType.Builder.create(String.format(\"%sEdge\", base.getName()))\n .definition(Map.of(\"node\", base.attribute(), \"cursor\", GraphqlType.string()))\n .build();\n ObjectType connection = ObjectType.Builder.create(String.format(\"%sConnection\", base.getName()))\n .definition(Map.of(\n \"edges\", edge.attribute(BaseTypeOptions.builder().isList(true).build()),\n pluralize(base.getName()), base.attribute(BaseTypeOptions.builder().isList(true).build()),\n \"totalCount\", GraphqlType.int()))\n .build();\n return Map.of(\"edge\", edge, \"connection\", connection);\n}","version":"1"},"go":{"source":"import \"github.com/aws-samples/dummy/awscdkawsappsync\"\npluralize := require(jsii.String(\"pluralize\"))\n\nargs := map[string]graphqlType{\n\t\"after\": appsync.graphqlType_string(),\n\t\"first\": appsync.graphqlType_int(),\n\t\"before\": appsync.graphqlType_string(),\n\t\"last\": appsync.graphqlType_int(),\n}\n\nnode := appsync.NewInterfaceType(jsii.String(\"Node\"), &IntermediateTypeOptions{\n\tDefinition: map[string]iField{\n\t\t\"id\": appsync.*graphqlType_string(),\n\t},\n})\nfilmNode := appsync.NewObjectType(jsii.String(\"FilmNode\"), &ObjectTypeOptions{\n\tInterfaceTypes: []interfaceType{\n\t\t*node,\n\t},\n\tDefinition: map[string]*iField{\n\t\t\"filmName\": appsync.*graphqlType_string(),\n\t},\n})\n\nfunc GenerateEdgeAndConnection(base *objectType) map[string]objectType {\n\tedge := appsync.NewObjectType(fmt.Sprintf(\"%vEdge\", *base.Name), &ObjectTypeOptions{\n\t\tDefinition: map[string]*iField{\n\t\t\t\"node\": base.attribute(),\n\t\t\t\"cursor\": appsync.*graphqlType_string(),\n\t\t},\n\t})\n\tconnection := appsync.NewObjectType(fmt.Sprintf(\"%vConnection\", *base.Name), &ObjectTypeOptions{\n\t\tDefinition: map[string]*iField{\n\t\t\t\"edges\": edge.attribute(&BaseTypeOptions{\n\t\t\t\t\"isList\": jsii.Boolean(true),\n\t\t\t}),\n\t\t\tpluralize(base.*Name): base.attribute(&BaseTypeOptions{\n\t\t\t\t\"isList\": jsii.Boolean(true),\n\t\t\t}),\n\t\t\t\"totalCount\": appsync.*graphqlType_int(),\n\t\t},\n\t})\n\treturn map[string]objectType{\n\t\t\"edge\": edge,\n\t\t\"connection\": connection,\n\t}\n}","version":"1"},"$":{"source":"import * as appsync from '@aws-cdk/aws-appsync';\nconst pluralize = require('pluralize');\n\nexport const args = {\n after: appsync.GraphqlType.string(),\n first: appsync.GraphqlType.int(),\n before: appsync.GraphqlType.string(),\n last: appsync.GraphqlType.int(),\n};\n\nexport const Node = new appsync.InterfaceType('Node', {\n definition: { id: appsync.GraphqlType.string() }\n});\nexport const FilmNode = new appsync.ObjectType('FilmNode', {\n interfaceTypes: [Node],\n definition: { filmName: appsync.GraphqlType.string() }\n});\n\nexport function generateEdgeAndConnection(base: appsync.ObjectType) {\n const edge = new appsync.ObjectType(`${base.name}Edge`, {\n definition: { node: base.attribute(), cursor: appsync.GraphqlType.string() }\n });\n const connection = new appsync.ObjectType(`${base.name}Connection`, {\n definition: {\n edges: edge.attribute({ isList: true }),\n [pluralize(base.name)]: base.attribute({ isList: true }),\n totalCount: appsync.GraphqlType.int(),\n }\n });\n return { edge: edge, connection: connection };\n}","version":"0"}},"location":{"api":{"api":"moduleReadme","moduleFqn":"@aws-cdk/aws-appsync"},"field":{"field":"markdown","line":590}},"didCompile":true,"fqnsReferenced":["@aws-cdk/aws-appsync.BaseTypeOptions","@aws-cdk/aws-appsync.GraphqlType","@aws-cdk/aws-appsync.GraphqlType#int","@aws-cdk/aws-appsync.GraphqlType#string","@aws-cdk/aws-appsync.IField","@aws-cdk/aws-appsync.InterfaceType","@aws-cdk/aws-appsync.InterfaceType#attribute","@aws-cdk/aws-appsync.InterfaceType#name","@aws-cdk/aws-appsync.IntermediateTypeOptions","@aws-cdk/aws-appsync.ObjectType","@aws-cdk/aws-appsync.ObjectTypeOptions"],"fullSource":"import * as appsync from '@aws-cdk/aws-appsync';\nconst pluralize = require('pluralize');\n\nexport const args = {\n after: appsync.GraphqlType.string(),\n first: appsync.GraphqlType.int(),\n before: appsync.GraphqlType.string(),\n last: appsync.GraphqlType.int(),\n};\n\nexport const Node = new appsync.InterfaceType('Node', {\n definition: { id: appsync.GraphqlType.string() }\n});\nexport const FilmNode = new appsync.ObjectType('FilmNode', {\n interfaceTypes: [Node],\n definition: { filmName: appsync.GraphqlType.string() }\n});\n\nexport function generateEdgeAndConnection(base: appsync.ObjectType) {\n const edge = new appsync.ObjectType(`${base.name}Edge`, {\n definition: { node: base.attribute(), cursor: appsync.GraphqlType.string() }\n });\n const connection = new appsync.ObjectType(`${base.name}Connection`, {\n definition: {\n edges: edge.attribute({ isList: true }),\n [pluralize(base.name)]: base.attribute({ isList: true }),\n totalCount: appsync.GraphqlType.int(),\n }\n });\n return { edge: edge, connection: connection };\n}","syntaxKindCounter":{"10":4,"15":2,"17":2,"75":79,"89":4,"106":2,"153":1,"154":1,"156":1,"169":1,"192":1,"193":12,"194":26,"196":13,"197":4,"211":2,"221":2,"223":1,"225":6,"235":1,"242":6,"243":6,"244":1,"254":1,"255":1,"256":1,"281":20,"290":1},"fqnsFingerprint":"7e8550eac754e99d7c301c88685d39c8797dac97f8270d48e78da1218ebde26f"},"7f982a7d4a9199016cfe272a066aeabe9dadb67cc33d0b35acefaa9652304bc7":{"translations":{"python":{"source":"# dummy_request: appsync.MappingTemplate\n# dummy_response: appsync.MappingTemplate\n\n\napi = appsync.GraphqlApi(self, \"Api\",\n name=\"demo\"\n)\n\nobject_types = [Node, FilmNode]\n\nfilm_connections = generate_edge_and_connection(FilmNode)\n\napi.add_query(\"allFilms\", appsync.ResolvableField(\n return_type=film_connections.connection.attribute(),\n args=args,\n data_source=api.add_none_data_source(\"none\"),\n request_mapping_template=dummy_request,\n response_mapping_template=dummy_response\n))\n\napi.add_type(Node)\napi.add_type(FilmNode)\napi.add_type(film_connections.edge)\napi.add_type(film_connections.connection)","version":"2"},"csharp":{"source":"MappingTemplate dummyRequest;\nMappingTemplate dummyResponse;\n\n\nvar api = new GraphqlApi(this, \"Api\", new GraphqlApiProps {\n Name = \"demo\"\n});\n\nvar objectTypes = new [] { Node, FilmNode };\n\nIDictionary filmConnections = GenerateEdgeAndConnection(FilmNode);\n\napi.AddQuery(\"allFilms\", new ResolvableField(new ResolvableFieldOptions {\n ReturnType = filmConnections.Connection.Attribute(),\n Args = args,\n DataSource = api.AddNoneDataSource(\"none\"),\n RequestMappingTemplate = dummyRequest,\n ResponseMappingTemplate = dummyResponse\n}));\n\napi.AddType(Node);\napi.AddType(FilmNode);\napi.AddType(filmConnections.Edge);\napi.AddType(filmConnections.Connection);","version":"1"},"java":{"source":"MappingTemplate dummyRequest;\nMappingTemplate dummyResponse;\n\n\nGraphqlApi api = GraphqlApi.Builder.create(this, \"Api\")\n .name(\"demo\")\n .build();\n\nInterfaceType[] objectTypes = List.of(Node, FilmNode);\n\nMap filmConnections = generateEdgeAndConnection(FilmNode);\n\napi.addQuery(\"allFilms\", ResolvableField.Builder.create()\n .returnType(filmConnections.connection.attribute())\n .args(args)\n .dataSource(api.addNoneDataSource(\"none\"))\n .requestMappingTemplate(dummyRequest)\n .responseMappingTemplate(dummyResponse)\n .build());\n\napi.addType(Node);\napi.addType(FilmNode);\napi.addType(filmConnections.getEdge());\napi.addType(filmConnections.getConnection());","version":"1"},"go":{"source":"var dummyRequest mappingTemplate\nvar dummyResponse mappingTemplate\n\n\napi := appsync.NewGraphqlApi(this, jsii.String(\"Api\"), &GraphqlApiProps{\n\tName: jsii.String(\"demo\"),\n})\n\nobjectTypes := []interfaceType{\n\tnode,\n\tfilmNode,\n}\n\nfilmConnections := generateEdgeAndConnection(filmNode)\n\napi.AddQuery(jsii.String(\"allFilms\"), appsync.NewResolvableField(&ResolvableFieldOptions{\n\tReturnType: filmConnections.connection.Attribute(),\n\tArgs: args,\n\tDataSource: api.AddNoneDataSource(jsii.String(\"none\")),\n\tRequestMappingTemplate: dummyRequest,\n\tResponseMappingTemplate: dummyResponse,\n}))\n\napi.AddType(node)\napi.AddType(filmNode)\napi.AddType(filmConnections.edge)\napi.AddType(filmConnections.connection)","version":"1"},"$":{"source":"declare const dummyRequest: appsync.MappingTemplate;\ndeclare const dummyResponse: appsync.MappingTemplate;\n\nconst api = new appsync.GraphqlApi(this, 'Api', {\n name: 'demo',\n});\n\nconst objectTypes = [ Node, FilmNode ];\n\nconst filmConnections = generateEdgeAndConnection(FilmNode);\n\napi.addQuery('allFilms', new appsync.ResolvableField({\n returnType: filmConnections.connection.attribute(),\n args: args,\n dataSource: api.addNoneDataSource('none'),\n requestMappingTemplate: dummyRequest,\n responseMappingTemplate: dummyResponse,\n}));\n\napi.addType(Node);\napi.addType(FilmNode);\napi.addType(filmConnections.edge);\napi.addType(filmConnections.connection);","version":"0"}},"location":{"api":{"api":"moduleReadme","moduleFqn":"@aws-cdk/aws-appsync"},"field":{"field":"markdown","line":627}},"didCompile":true,"fqnsReferenced":["@aws-cdk/aws-appsync.BaseDataSource","@aws-cdk/aws-appsync.GraphqlApi","@aws-cdk/aws-appsync.GraphqlApi#addQuery","@aws-cdk/aws-appsync.GraphqlApi#addType","@aws-cdk/aws-appsync.GraphqlApiBase#addNoneDataSource","@aws-cdk/aws-appsync.GraphqlApiProps","@aws-cdk/aws-appsync.GraphqlType","@aws-cdk/aws-appsync.IField","@aws-cdk/aws-appsync.IIntermediateType","@aws-cdk/aws-appsync.InterfaceType#attribute","@aws-cdk/aws-appsync.MappingTemplate","@aws-cdk/aws-appsync.ObjectType","@aws-cdk/aws-appsync.ResolvableField","@aws-cdk/aws-appsync.ResolvableFieldOptions","constructs.Construct"],"fullSource":"// Hoisted imports begin after !show marker below\n/// !show\ndeclare const dummyRequest: appsync.MappingTemplate;\ndeclare const dummyResponse: appsync.MappingTemplate;\n/// !hide\n// Hoisted imports ended before !hide marker above\n// Fixture with packages imported, but nothing else\nimport { Construct } from 'constructs';\nimport { Stack } from '@aws-cdk/core';\nimport appsync = require('@aws-cdk/aws-appsync');\nconst pluralize = require('pluralize');\n\nconst args = {\n after: appsync.GraphqlType.string(),\n first: appsync.GraphqlType.int(),\n before: appsync.GraphqlType.string(),\n last: appsync.GraphqlType.int(),\n};\n\nconst Node = new appsync.InterfaceType('Node', {\n definition: { id: appsync.GraphqlType.string() }\n});\n\nconst FilmNode = new appsync.ObjectType('FilmNode', {\n interfaceTypes: [Node],\n definition: { filmName: appsync.GraphqlType.string() }\n});\n\nfunction generateEdgeAndConnection(base: appsync.ObjectType) {\n const edge = new appsync.ObjectType(`${base.name}Edge`, {\n definition: { node: base.attribute(), cursor: appsync.GraphqlType.string() }\n });\n const connection = new appsync.ObjectType(`${base.name}Connection`, {\n definition: {\n edges: edge.attribute({ isList: true }),\n [pluralize(base.name)]: base.attribute({ isList: true }),\n totalCount: appsync.GraphqlType.int(),\n }\n });\n return { edge: edge, connection: connection };\n}\n\nconst demo = new appsync.ObjectType('Demo', {\n definition: {\n id: appsync.GraphqlType.string({ isRequired: true }),\n version: appsync.GraphqlType.string({ isRequired: true }),\n },\n});\n\nclass Fixture extends Stack {\n constructor(scope: Construct, id: string) {\n super(scope, id);\n\n // Code snippet begins after !show marker below\n/// !show\n\n\nconst api = new appsync.GraphqlApi(this, 'Api', {\n name: 'demo',\n});\n\nconst objectTypes = [ Node, FilmNode ];\n\nconst filmConnections = generateEdgeAndConnection(FilmNode);\n\napi.addQuery('allFilms', new appsync.ResolvableField({\n returnType: filmConnections.connection.attribute(),\n args: args,\n dataSource: api.addNoneDataSource('none'),\n requestMappingTemplate: dummyRequest,\n responseMappingTemplate: dummyResponse,\n}));\n\napi.addType(Node);\napi.addType(FilmNode);\napi.addType(filmConnections.edge);\napi.addType(filmConnections.connection);\n/// !hide\n// Code snippet ended before !hide marker above\n }\n}\n","syntaxKindCounter":{"10":4,"75":47,"104":1,"130":2,"153":2,"169":2,"192":1,"193":2,"194":12,"196":8,"197":2,"225":5,"226":5,"242":5,"243":5,"281":6,"290":1},"fqnsFingerprint":"4ece1908a407a905ce5a3b16d61d5a289224d1e4d6e0de91fd6d70004dd4a3f6"},"31feece0f93e97db7a915d4c3af8c8e7675d2dff36bc48eec8f15dee3efff53e":{"translations":{"python":{"source":"field = appsync.Field(\n return_type=appsync.GraphqlType.string(),\n args={\n \"argument\": appsync.GraphqlType.string()\n }\n)\ntype = appsync.InterfaceType(\"Node\",\n definition={\"test\": field}\n)","version":"2"},"csharp":{"source":"var field = new Field(new FieldOptions {\n ReturnType = GraphqlType.String(),\n Args = new Dictionary {\n { \"argument\", GraphqlType.String() }\n }\n});\nvar type = new InterfaceType(\"Node\", new IntermediateTypeOptions {\n Definition = new Dictionary { { \"test\", field } }\n});","version":"1"},"java":{"source":"Field field = Field.Builder.create()\n .returnType(GraphqlType.string())\n .args(Map.of(\n \"argument\", GraphqlType.string()))\n .build();\nInterfaceType type = InterfaceType.Builder.create(\"Node\")\n .definition(Map.of(\"test\", field))\n .build();","version":"1"},"go":{"source":"field := appsync.NewField(&FieldOptions{\n\tReturnType: appsync.GraphqlType_String(),\n\tArgs: map[string]graphqlType{\n\t\t\"argument\": appsync.*graphqlType_*String(),\n\t},\n})\ntype := appsync.NewInterfaceType(jsii.String(\"Node\"), &IntermediateTypeOptions{\n\tDefinition: map[string]iField{\n\t\t\"test\": field,\n\t},\n})","version":"1"},"$":{"source":"const field = new appsync.Field({\n returnType: appsync.GraphqlType.string(),\n args: {\n argument: appsync.GraphqlType.string(),\n },\n});\nconst type = new appsync.InterfaceType('Node', {\n definition: { test: field },\n});","version":"0"}},"location":{"api":{"api":"moduleReadme","moduleFqn":"@aws-cdk/aws-appsync"},"field":{"field":"markdown","line":712}},"didCompile":true,"fqnsReferenced":["@aws-cdk/aws-appsync.Field","@aws-cdk/aws-appsync.FieldOptions","@aws-cdk/aws-appsync.GraphqlType","@aws-cdk/aws-appsync.GraphqlType#string","@aws-cdk/aws-appsync.IField","@aws-cdk/aws-appsync.InterfaceType","@aws-cdk/aws-appsync.IntermediateTypeOptions"],"fullSource":"// Fixture with packages imported, but nothing else\nimport { Construct } from 'constructs';\nimport { RemovalPolicy, Stack } from '@aws-cdk/core';\nimport appsync = require('@aws-cdk/aws-appsync');\nimport ec2 = require('@aws-cdk/aws-ec2');\nimport dynamodb = require('@aws-cdk/aws-dynamodb');\nimport iam = require('@aws-cdk/aws-iam');\nimport rds = require('@aws-cdk/aws-rds');\nimport path = require('path');\n\nclass Fixture extends Stack {\n constructor(scope: Construct, id: string) {\n super(scope, id);\n // Code snippet begins after !show marker below\n/// !show\nconst field = new appsync.Field({\n returnType: appsync.GraphqlType.string(),\n args: {\n argument: appsync.GraphqlType.string(),\n },\n});\nconst type = new appsync.InterfaceType('Node', {\n definition: { test: field },\n});\n/// !hide\n// Code snippet ended before !hide marker above\n }\n}\n","syntaxKindCounter":{"10":1,"75":18,"193":4,"194":6,"196":2,"197":2,"225":2,"242":2,"243":2,"281":5},"fqnsFingerprint":"689a447780bf905f50587bd20c7a06282f80742220c0d60ad0045ee4785ec834"},"109ddc68d40bbde8cb635b2d0a7d051cc44cd23fa524f55c7ca63715c73b2f5a":{"translations":{"python":{"source":"# api: appsync.GraphqlApi\n# dummy_request: appsync.MappingTemplate\n# dummy_response: appsync.MappingTemplate\n\ninfo = appsync.ObjectType(\"Info\",\n definition={\n \"node\": appsync.ResolvableField(\n return_type=appsync.GraphqlType.string(),\n args={\n \"id\": appsync.GraphqlType.string()\n },\n data_source=api.add_none_data_source(\"none\"),\n request_mapping_template=dummy_request,\n response_mapping_template=dummy_response\n )\n }\n)","version":"2"},"csharp":{"source":"GraphqlApi api;\nMappingTemplate dummyRequest;\nMappingTemplate dummyResponse;\n\nvar info = new ObjectType(\"Info\", new ObjectTypeOptions {\n Definition = new Dictionary {\n { \"node\", new ResolvableField(new ResolvableFieldOptions {\n ReturnType = GraphqlType.String(),\n Args = new Dictionary {\n { \"id\", GraphqlType.String() }\n },\n DataSource = api.AddNoneDataSource(\"none\"),\n RequestMappingTemplate = dummyRequest,\n ResponseMappingTemplate = dummyResponse\n }) }\n }\n});","version":"1"},"java":{"source":"GraphqlApi api;\nMappingTemplate dummyRequest;\nMappingTemplate dummyResponse;\n\nObjectType info = ObjectType.Builder.create(\"Info\")\n .definition(Map.of(\n \"node\", ResolvableField.Builder.create()\n .returnType(GraphqlType.string())\n .args(Map.of(\n \"id\", GraphqlType.string()))\n .dataSource(api.addNoneDataSource(\"none\"))\n .requestMappingTemplate(dummyRequest)\n .responseMappingTemplate(dummyResponse)\n .build()))\n .build();","version":"1"},"go":{"source":"var api graphqlApi\nvar dummyRequest mappingTemplate\nvar dummyResponse mappingTemplate\n\ninfo := appsync.NewObjectType(jsii.String(\"Info\"), &ObjectTypeOptions{\n\tDefinition: map[string]iField{\n\t\t\"node\": appsync.NewResolvableField(&ResolvableFieldOptions{\n\t\t\t\"returnType\": appsync.GraphqlType_string(),\n\t\t\t\"args\": map[string]GraphqlType{\n\t\t\t\t\"id\": appsync.GraphqlType_string(),\n\t\t\t},\n\t\t\t\"dataSource\": api.addNoneDataSource(jsii.String(\"none\")),\n\t\t\t\"requestMappingTemplate\": dummyRequest,\n\t\t\t\"responseMappingTemplate\": dummyResponse,\n\t\t}),\n\t},\n})","version":"1"},"$":{"source":"declare const api: appsync.GraphqlApi;\ndeclare const dummyRequest: appsync.MappingTemplate;\ndeclare const dummyResponse: appsync.MappingTemplate;\nconst info = new appsync.ObjectType('Info', {\n definition: {\n node: new appsync.ResolvableField({\n returnType: appsync.GraphqlType.string(),\n args: {\n id: appsync.GraphqlType.string(),\n },\n dataSource: api.addNoneDataSource('none'),\n requestMappingTemplate: dummyRequest,\n responseMappingTemplate: dummyResponse,\n }),\n },\n});","version":"0"}},"location":{"api":{"api":"moduleReadme","moduleFqn":"@aws-cdk/aws-appsync"},"field":{"field":"markdown","line":740}},"didCompile":true,"fqnsReferenced":["@aws-cdk/aws-appsync.BaseDataSource","@aws-cdk/aws-appsync.GraphqlApiBase#addNoneDataSource","@aws-cdk/aws-appsync.GraphqlType","@aws-cdk/aws-appsync.GraphqlType#string","@aws-cdk/aws-appsync.IField","@aws-cdk/aws-appsync.MappingTemplate","@aws-cdk/aws-appsync.ObjectType","@aws-cdk/aws-appsync.ObjectTypeOptions","@aws-cdk/aws-appsync.ResolvableField","@aws-cdk/aws-appsync.ResolvableFieldOptions"],"fullSource":"// Hoisted imports begin after !show marker below\n/// !show\ndeclare const api: appsync.GraphqlApi;\ndeclare const dummyRequest: appsync.MappingTemplate;\ndeclare const dummyResponse: appsync.MappingTemplate;\n/// !hide\n// Hoisted imports ended before !hide marker above\n// Fixture with packages imported, but nothing else\nimport { Construct } from 'constructs';\nimport { RemovalPolicy, Stack } from '@aws-cdk/core';\nimport appsync = require('@aws-cdk/aws-appsync');\nimport ec2 = require('@aws-cdk/aws-ec2');\nimport dynamodb = require('@aws-cdk/aws-dynamodb');\nimport iam = require('@aws-cdk/aws-iam');\nimport rds = require('@aws-cdk/aws-rds');\nimport path = require('path');\n\nclass Fixture extends Stack {\n constructor(scope: Construct, id: string) {\n super(scope, id);\n // Code snippet begins after !show marker below\n/// !show\n\nconst info = new appsync.ObjectType('Info', {\n definition: {\n node: new appsync.ResolvableField({\n returnType: appsync.GraphqlType.string(),\n args: {\n id: appsync.GraphqlType.string(),\n },\n dataSource: api.addNoneDataSource('none'),\n requestMappingTemplate: dummyRequest,\n responseMappingTemplate: dummyResponse,\n }),\n },\n});\n/// !hide\n// Code snippet ended before !hide marker above\n }\n}\n","syntaxKindCounter":{"10":2,"75":32,"130":3,"153":3,"169":3,"193":4,"194":7,"196":3,"197":2,"225":4,"242":4,"243":4,"281":8,"290":1},"fqnsFingerprint":"3be3ebaf9507fb3aaab596ab869c6b3d2b14b935150f47b1987de9069d6edd8f"},"0a8cbcc31338086338e1b1dca55320bf55757cf007d887493f39265d3a94558e":{"translations":{"python":{"source":"# api: appsync.GraphqlApi\n# dummy_request: appsync.MappingTemplate\n# dummy_response: appsync.MappingTemplate\n\nquery = appsync.ObjectType(\"Query\",\n definition={\n \"get\": appsync.ResolvableField(\n return_type=appsync.GraphqlType.string(),\n args={\n \"argument\": appsync.GraphqlType.string()\n },\n data_source=api.add_none_data_source(\"none\"),\n request_mapping_template=dummy_request,\n response_mapping_template=dummy_response\n )\n }\n)","version":"2"},"csharp":{"source":"GraphqlApi api;\nMappingTemplate dummyRequest;\nMappingTemplate dummyResponse;\n\nvar query = new ObjectType(\"Query\", new ObjectTypeOptions {\n Definition = new Dictionary {\n { \"get\", new ResolvableField(new ResolvableFieldOptions {\n ReturnType = GraphqlType.String(),\n Args = new Dictionary {\n { \"argument\", GraphqlType.String() }\n },\n DataSource = api.AddNoneDataSource(\"none\"),\n RequestMappingTemplate = dummyRequest,\n ResponseMappingTemplate = dummyResponse\n }) }\n }\n});","version":"1"},"java":{"source":"GraphqlApi api;\nMappingTemplate dummyRequest;\nMappingTemplate dummyResponse;\n\nObjectType query = ObjectType.Builder.create(\"Query\")\n .definition(Map.of(\n \"get\", ResolvableField.Builder.create()\n .returnType(GraphqlType.string())\n .args(Map.of(\n \"argument\", GraphqlType.string()))\n .dataSource(api.addNoneDataSource(\"none\"))\n .requestMappingTemplate(dummyRequest)\n .responseMappingTemplate(dummyResponse)\n .build()))\n .build();","version":"1"},"go":{"source":"var api graphqlApi\nvar dummyRequest mappingTemplate\nvar dummyResponse mappingTemplate\n\nquery := appsync.NewObjectType(jsii.String(\"Query\"), &ObjectTypeOptions{\n\tDefinition: map[string]iField{\n\t\t\"get\": appsync.NewResolvableField(&ResolvableFieldOptions{\n\t\t\t\"returnType\": appsync.GraphqlType_string(),\n\t\t\t\"args\": map[string]GraphqlType{\n\t\t\t\t\"argument\": appsync.GraphqlType_string(),\n\t\t\t},\n\t\t\t\"dataSource\": api.addNoneDataSource(jsii.String(\"none\")),\n\t\t\t\"requestMappingTemplate\": dummyRequest,\n\t\t\t\"responseMappingTemplate\": dummyResponse,\n\t\t}),\n\t},\n})","version":"1"},"$":{"source":"declare const api: appsync.GraphqlApi;\ndeclare const dummyRequest: appsync.MappingTemplate;\ndeclare const dummyResponse: appsync.MappingTemplate;\nconst query = new appsync.ObjectType('Query', {\n definition: {\n get: new appsync.ResolvableField({\n returnType: appsync.GraphqlType.string(),\n args: {\n argument: appsync.GraphqlType.string(),\n },\n dataSource: api.addNoneDataSource('none'),\n requestMappingTemplate: dummyRequest,\n responseMappingTemplate: dummyResponse,\n }),\n },\n});","version":"0"}},"location":{"api":{"api":"moduleReadme","moduleFqn":"@aws-cdk/aws-appsync"},"field":{"field":"markdown","line":771}},"didCompile":true,"fqnsReferenced":["@aws-cdk/aws-appsync.BaseDataSource","@aws-cdk/aws-appsync.GraphqlApiBase#addNoneDataSource","@aws-cdk/aws-appsync.GraphqlType","@aws-cdk/aws-appsync.GraphqlType#string","@aws-cdk/aws-appsync.IField","@aws-cdk/aws-appsync.MappingTemplate","@aws-cdk/aws-appsync.ObjectType","@aws-cdk/aws-appsync.ObjectTypeOptions","@aws-cdk/aws-appsync.ResolvableField","@aws-cdk/aws-appsync.ResolvableFieldOptions"],"fullSource":"// Hoisted imports begin after !show marker below\n/// !show\ndeclare const api: appsync.GraphqlApi;\ndeclare const dummyRequest: appsync.MappingTemplate;\ndeclare const dummyResponse: appsync.MappingTemplate;\n/// !hide\n// Hoisted imports ended before !hide marker above\n// Fixture with packages imported, but nothing else\nimport { Construct } from 'constructs';\nimport { RemovalPolicy, Stack } from '@aws-cdk/core';\nimport appsync = require('@aws-cdk/aws-appsync');\nimport ec2 = require('@aws-cdk/aws-ec2');\nimport dynamodb = require('@aws-cdk/aws-dynamodb');\nimport iam = require('@aws-cdk/aws-iam');\nimport rds = require('@aws-cdk/aws-rds');\nimport path = require('path');\n\nclass Fixture extends Stack {\n constructor(scope: Construct, id: string) {\n super(scope, id);\n // Code snippet begins after !show marker below\n/// !show\n\nconst query = new appsync.ObjectType('Query', {\n definition: {\n get: new appsync.ResolvableField({\n returnType: appsync.GraphqlType.string(),\n args: {\n argument: appsync.GraphqlType.string(),\n },\n dataSource: api.addNoneDataSource('none'),\n requestMappingTemplate: dummyRequest,\n responseMappingTemplate: dummyResponse,\n }),\n },\n});\n/// !hide\n// Code snippet ended before !hide marker above\n }\n}\n","syntaxKindCounter":{"10":2,"75":32,"130":3,"153":3,"169":3,"193":4,"194":7,"196":3,"197":2,"225":4,"242":4,"243":4,"281":8,"290":1},"fqnsFingerprint":"3be3ebaf9507fb3aaab596ab869c6b3d2b14b935150f47b1987de9069d6edd8f"},"14f00bb535740e516e5673551e34c0981f4c4c1d883e20d063e7cbd725f9837c":{"translations":{"python":{"source":"node = appsync.InterfaceType(\"Node\",\n definition={\n \"id\": appsync.GraphqlType.string(is_required=True)\n }\n)","version":"2"},"csharp":{"source":"var node = new InterfaceType(\"Node\", new IntermediateTypeOptions {\n Definition = new Dictionary {\n { \"id\", GraphqlType.String(new BaseTypeOptions { IsRequired = true }) }\n }\n});","version":"1"},"java":{"source":"InterfaceType node = InterfaceType.Builder.create(\"Node\")\n .definition(Map.of(\n \"id\", GraphqlType.string(BaseTypeOptions.builder().isRequired(true).build())))\n .build();","version":"1"},"go":{"source":"node := appsync.NewInterfaceType(jsii.String(\"Node\"), &IntermediateTypeOptions{\n\tDefinition: map[string]iField{\n\t\t\"id\": appsync.GraphqlType_string(&BaseTypeOptions{\n\t\t\t\"isRequired\": jsii.Boolean(true),\n\t\t}),\n\t},\n})","version":"1"},"$":{"source":"const node = new appsync.InterfaceType('Node', {\n definition: {\n id: appsync.GraphqlType.string({ isRequired: true }),\n },\n});","version":"0"}},"location":{"api":{"api":"moduleReadme","moduleFqn":"@aws-cdk/aws-appsync"},"field":{"field":"markdown","line":814}},"didCompile":true,"fqnsReferenced":["@aws-cdk/aws-appsync.BaseTypeOptions","@aws-cdk/aws-appsync.GraphqlType","@aws-cdk/aws-appsync.GraphqlType#string","@aws-cdk/aws-appsync.IField","@aws-cdk/aws-appsync.InterfaceType","@aws-cdk/aws-appsync.IntermediateTypeOptions"],"fullSource":"// Fixture with packages imported, but nothing else\nimport { Construct } from 'constructs';\nimport { RemovalPolicy, Stack } from '@aws-cdk/core';\nimport appsync = require('@aws-cdk/aws-appsync');\nimport ec2 = require('@aws-cdk/aws-ec2');\nimport dynamodb = require('@aws-cdk/aws-dynamodb');\nimport iam = require('@aws-cdk/aws-iam');\nimport rds = require('@aws-cdk/aws-rds');\nimport path = require('path');\n\nclass Fixture extends Stack {\n constructor(scope: Construct, id: string) {\n super(scope, id);\n // Code snippet begins after !show marker below\n/// !show\nconst node = new appsync.InterfaceType('Node', {\n definition: {\n id: appsync.GraphqlType.string({ isRequired: true }),\n },\n});\n/// !hide\n// Code snippet ended before !hide marker above\n }\n}\n","syntaxKindCounter":{"10":1,"75":9,"106":1,"193":3,"194":3,"196":1,"197":1,"225":1,"242":1,"243":1,"281":3},"fqnsFingerprint":"ce9d9e9c0f94680d233fd88bd40e4a04845010906c0f688b67c43e95accef2a2"},"080548e11094437697aa2e9a3630f1b340afdac5bf527adf4f4c7566bb643631":{"translations":{"python":{"source":"api = appsync.GraphqlApi(self, \"Api\",\n name=\"demo\"\n)\ndemo = appsync.ObjectType(\"Demo\",\n definition={\n \"id\": appsync.GraphqlType.string(is_required=True),\n \"version\": appsync.GraphqlType.string(is_required=True)\n }\n)\n\napi.add_type(demo)","version":"2"},"csharp":{"source":"var api = new GraphqlApi(this, \"Api\", new GraphqlApiProps {\n Name = \"demo\"\n});\nvar demo = new ObjectType(\"Demo\", new ObjectTypeOptions {\n Definition = new Dictionary {\n { \"id\", GraphqlType.String(new BaseTypeOptions { IsRequired = true }) },\n { \"version\", GraphqlType.String(new BaseTypeOptions { IsRequired = true }) }\n }\n});\n\napi.AddType(demo);","version":"1"},"java":{"source":"GraphqlApi api = GraphqlApi.Builder.create(this, \"Api\")\n .name(\"demo\")\n .build();\nObjectType demo = ObjectType.Builder.create(\"Demo\")\n .definition(Map.of(\n \"id\", GraphqlType.string(BaseTypeOptions.builder().isRequired(true).build()),\n \"version\", GraphqlType.string(BaseTypeOptions.builder().isRequired(true).build())))\n .build();\n\napi.addType(demo);","version":"1"},"go":{"source":"api := appsync.NewGraphqlApi(this, jsii.String(\"Api\"), &GraphqlApiProps{\n\tName: jsii.String(\"demo\"),\n})\ndemo := appsync.NewObjectType(jsii.String(\"Demo\"), &ObjectTypeOptions{\n\tDefinition: map[string]iField{\n\t\t\"id\": appsync.GraphqlType_string(&BaseTypeOptions{\n\t\t\t\"isRequired\": jsii.Boolean(true),\n\t\t}),\n\t\t\"version\": appsync.GraphqlType_string(&BaseTypeOptions{\n\t\t\t\"isRequired\": jsii.Boolean(true),\n\t\t}),\n\t},\n})\n\napi.AddType(demo)","version":"1"},"$":{"source":"const api = new appsync.GraphqlApi(this, 'Api', {\n name: 'demo',\n});\nconst demo = new appsync.ObjectType('Demo', {\n definition: {\n id: appsync.GraphqlType.string({ isRequired: true }),\n version: appsync.GraphqlType.string({ isRequired: true }),\n },\n});\n\napi.addType(demo);","version":"0"}},"location":{"api":{"api":"moduleReadme","moduleFqn":"@aws-cdk/aws-appsync"},"field":{"field":"markdown","line":834}},"didCompile":true,"fqnsReferenced":["@aws-cdk/aws-appsync.BaseTypeOptions","@aws-cdk/aws-appsync.GraphqlApi","@aws-cdk/aws-appsync.GraphqlApi#addType","@aws-cdk/aws-appsync.GraphqlApiProps","@aws-cdk/aws-appsync.GraphqlType","@aws-cdk/aws-appsync.GraphqlType#string","@aws-cdk/aws-appsync.IField","@aws-cdk/aws-appsync.IIntermediateType","@aws-cdk/aws-appsync.ObjectType","@aws-cdk/aws-appsync.ObjectTypeOptions","constructs.Construct"],"fullSource":"// Fixture with packages imported, but nothing else\nimport { Construct } from 'constructs';\nimport { RemovalPolicy, Stack } from '@aws-cdk/core';\nimport appsync = require('@aws-cdk/aws-appsync');\nimport ec2 = require('@aws-cdk/aws-ec2');\nimport dynamodb = require('@aws-cdk/aws-dynamodb');\nimport iam = require('@aws-cdk/aws-iam');\nimport rds = require('@aws-cdk/aws-rds');\nimport path = require('path');\n\nclass Fixture extends Stack {\n constructor(scope: Construct, id: string) {\n super(scope, id);\n // Code snippet begins after !show marker below\n/// !show\nconst api = new appsync.GraphqlApi(this, 'Api', {\n name: 'demo',\n});\nconst demo = new appsync.ObjectType('Demo', {\n definition: {\n id: appsync.GraphqlType.string({ isRequired: true }),\n version: appsync.GraphqlType.string({ isRequired: true }),\n },\n});\n\napi.addType(demo);\n/// !hide\n// Code snippet ended before !hide marker above\n }\n}\n","syntaxKindCounter":{"10":3,"75":21,"104":1,"106":2,"193":5,"194":7,"196":3,"197":2,"225":2,"226":1,"242":2,"243":2,"281":6},"fqnsFingerprint":"132c6bdca9f4c927b0ef0c6be5e65e05310caeec3c1fc813a17fed63547064d6"},"b5963662b4c838d0a9b0f922feadd0ef8b06959c7b7f2d3d2a25ccd10f61e4e9":{"translations":{"python":{"source":"import aws_cdk.aws_appsync as appsync\ndemo = appsync.ObjectType(\"Demo\",\n definition={\n \"id\": appsync.GraphqlType.string(is_required=True),\n \"version\": appsync.GraphqlType.string(is_required=True)\n }\n)","version":"2"},"csharp":{"source":"using Amazon.CDK.AWS.AppSync;\nvar demo = new ObjectType(\"Demo\", new ObjectTypeOptions {\n Definition = new Dictionary {\n { \"id\", GraphqlType.String(new BaseTypeOptions { IsRequired = true }) },\n { \"version\", GraphqlType.String(new BaseTypeOptions { IsRequired = true }) }\n }\n});","version":"1"},"java":{"source":"import software.amazon.awscdk.services.appsync.*;\nObjectType demo = ObjectType.Builder.create(\"Demo\")\n .definition(Map.of(\n \"id\", GraphqlType.string(BaseTypeOptions.builder().isRequired(true).build()),\n \"version\", GraphqlType.string(BaseTypeOptions.builder().isRequired(true).build())))\n .build();","version":"1"},"go":{"source":"import \"github.com/aws-samples/dummy/awscdkawsappsync\"\ndemo := appsync.NewObjectType(jsii.String(\"Demo\"), &ObjectTypeOptions{\n\tDefinition: map[string]iField{\n\t\t\"id\": appsync.GraphqlType_string(&BaseTypeOptions{\n\t\t\t\"isRequired\": jsii.Boolean(true),\n\t\t}),\n\t\t\"version\": appsync.GraphqlType_string(&BaseTypeOptions{\n\t\t\t\"isRequired\": jsii.Boolean(true),\n\t\t}),\n\t},\n})","version":"1"},"$":{"source":"import * as appsync from '@aws-cdk/aws-appsync';\nexport const demo = new appsync.ObjectType('Demo', {\n definition: {\n id: appsync.GraphqlType.string({ isRequired: true }),\n version: appsync.GraphqlType.string({ isRequired: true }),\n },\n});","version":"0"}},"location":{"api":{"api":"moduleReadme","moduleFqn":"@aws-cdk/aws-appsync"},"field":{"field":"markdown","line":853}},"didCompile":true,"fqnsReferenced":["@aws-cdk/aws-appsync.BaseTypeOptions","@aws-cdk/aws-appsync.GraphqlType","@aws-cdk/aws-appsync.GraphqlType#string","@aws-cdk/aws-appsync.IField","@aws-cdk/aws-appsync.ObjectType","@aws-cdk/aws-appsync.ObjectTypeOptions"],"fullSource":"import * as appsync from '@aws-cdk/aws-appsync';\nexport const demo = new appsync.ObjectType('Demo', {\n definition: {\n id: appsync.GraphqlType.string({ isRequired: true }),\n version: appsync.GraphqlType.string({ isRequired: true }),\n },\n});","syntaxKindCounter":{"10":2,"75":15,"89":1,"106":2,"193":4,"194":5,"196":2,"197":1,"225":1,"242":1,"243":1,"254":1,"255":1,"256":1,"281":5,"290":1},"fqnsFingerprint":"5170613eca5929db99f435a35eb641a21107ee022fc776a4245fb69b0566131c"},"a8749e94035a8cb056b6f337564b009f79b09d7a6e925aa20e16c22d471d5f79":{"translations":{"python":{"source":"# api: appsync.GraphqlApi\n\napi.add_type(demo)","version":"2"},"csharp":{"source":"GraphqlApi api;\n\napi.AddType(demo);","version":"1"},"java":{"source":"GraphqlApi api;\n\napi.addType(demo);","version":"1"},"go":{"source":"var api graphqlApi\n\napi.AddType(demo)","version":"1"},"$":{"source":"declare const api: appsync.GraphqlApi;\napi.addType(demo);","version":"0"}},"location":{"api":{"api":"moduleReadme","moduleFqn":"@aws-cdk/aws-appsync"},"field":{"field":"markdown","line":865}},"didCompile":true,"fqnsReferenced":["@aws-cdk/aws-appsync.GraphqlApi#addType","@aws-cdk/aws-appsync.GraphqlType","@aws-cdk/aws-appsync.IField","@aws-cdk/aws-appsync.IIntermediateType","@aws-cdk/aws-appsync.ObjectType"],"fullSource":"// Hoisted imports begin after !show marker below\n/// !show\ndeclare const api: appsync.GraphqlApi;\n/// !hide\n// Hoisted imports ended before !hide marker above\n// Fixture with packages imported, but nothing else\nimport { Construct } from 'constructs';\nimport { Stack } from '@aws-cdk/core';\nimport appsync = require('@aws-cdk/aws-appsync');\nconst pluralize = require('pluralize');\n\nconst args = {\n after: appsync.GraphqlType.string(),\n first: appsync.GraphqlType.int(),\n before: appsync.GraphqlType.string(),\n last: appsync.GraphqlType.int(),\n};\n\nconst Node = new appsync.InterfaceType('Node', {\n definition: { id: appsync.GraphqlType.string() }\n});\n\nconst FilmNode = new appsync.ObjectType('FilmNode', {\n interfaceTypes: [Node],\n definition: { filmName: appsync.GraphqlType.string() }\n});\n\nfunction generateEdgeAndConnection(base: appsync.ObjectType) {\n const edge = new appsync.ObjectType(`${base.name}Edge`, {\n definition: { node: base.attribute(), cursor: appsync.GraphqlType.string() }\n });\n const connection = new appsync.ObjectType(`${base.name}Connection`, {\n definition: {\n edges: edge.attribute({ isList: true }),\n [pluralize(base.name)]: base.attribute({ isList: true }),\n totalCount: appsync.GraphqlType.int(),\n }\n });\n return { edge: edge, connection: connection };\n}\n\nconst demo = new appsync.ObjectType('Demo', {\n definition: {\n id: appsync.GraphqlType.string({ isRequired: true }),\n version: appsync.GraphqlType.string({ isRequired: true }),\n },\n});\n\nclass Fixture extends Stack {\n constructor(scope: Construct, id: string) {\n super(scope, id);\n\n // Code snippet begins after !show marker below\n/// !show\n\napi.addType(demo);\n/// !hide\n// Code snippet ended before !hide marker above\n }\n}\n","syntaxKindCounter":{"75":6,"130":1,"153":1,"169":1,"194":1,"196":1,"225":1,"226":1,"242":1,"243":1,"290":1},"fqnsFingerprint":"5fc437b516d390c82fc8815892063bfb17c930e44d7f78376cb9c3e0e80a7402"},"cdac80e85fa956611d746f8d11d65a503e09f3adabe2ed374661ffbd1ee36c0c":{"translations":{"python":{"source":"node = appsync.InterfaceType(\"Node\",\n definition={\n \"id\": appsync.GraphqlType.string(is_required=True)\n }\n)\ndemo = appsync.ObjectType(\"Demo\",\n interface_types=[node],\n definition={\n \"version\": appsync.GraphqlType.string(is_required=True)\n }\n)","version":"2"},"csharp":{"source":"var node = new InterfaceType(\"Node\", new IntermediateTypeOptions {\n Definition = new Dictionary {\n { \"id\", GraphqlType.String(new BaseTypeOptions { IsRequired = true }) }\n }\n});\nvar demo = new ObjectType(\"Demo\", new ObjectTypeOptions {\n InterfaceTypes = new [] { node },\n Definition = new Dictionary {\n { \"version\", GraphqlType.String(new BaseTypeOptions { IsRequired = true }) }\n }\n});","version":"1"},"java":{"source":"InterfaceType node = InterfaceType.Builder.create(\"Node\")\n .definition(Map.of(\n \"id\", GraphqlType.string(BaseTypeOptions.builder().isRequired(true).build())))\n .build();\nObjectType demo = ObjectType.Builder.create(\"Demo\")\n .interfaceTypes(List.of(node))\n .definition(Map.of(\n \"version\", GraphqlType.string(BaseTypeOptions.builder().isRequired(true).build())))\n .build();","version":"1"},"go":{"source":"node := appsync.NewInterfaceType(jsii.String(\"Node\"), &IntermediateTypeOptions{\n\tDefinition: map[string]iField{\n\t\t\"id\": appsync.GraphqlType_string(&BaseTypeOptions{\n\t\t\t\"isRequired\": jsii.Boolean(true),\n\t\t}),\n\t},\n})\ndemo := appsync.NewObjectType(jsii.String(\"Demo\"), &ObjectTypeOptions{\n\tInterfaceTypes: []interfaceType{\n\t\tnode,\n\t},\n\tDefinition: map[string]*iField{\n\t\t\"version\": appsync.GraphqlType_string(&BaseTypeOptions{\n\t\t\t\"isRequired\": jsii.Boolean(true),\n\t\t}),\n\t},\n})","version":"1"},"$":{"source":"const node = new appsync.InterfaceType('Node', {\n definition: {\n id: appsync.GraphqlType.string({ isRequired: true }),\n },\n});\nconst demo = new appsync.ObjectType('Demo', {\n interfaceTypes: [ node ],\n definition: {\n version: appsync.GraphqlType.string({ isRequired: true }),\n },\n});","version":"0"}},"location":{"api":{"api":"moduleReadme","moduleFqn":"@aws-cdk/aws-appsync"},"field":{"field":"markdown","line":872}},"didCompile":true,"fqnsReferenced":["@aws-cdk/aws-appsync.BaseTypeOptions","@aws-cdk/aws-appsync.GraphqlType","@aws-cdk/aws-appsync.GraphqlType#string","@aws-cdk/aws-appsync.IField","@aws-cdk/aws-appsync.InterfaceType","@aws-cdk/aws-appsync.IntermediateTypeOptions","@aws-cdk/aws-appsync.ObjectType","@aws-cdk/aws-appsync.ObjectTypeOptions"],"fullSource":"// Fixture with packages imported, but nothing else\nimport { Construct } from 'constructs';\nimport { RemovalPolicy, Stack } from '@aws-cdk/core';\nimport appsync = require('@aws-cdk/aws-appsync');\nimport ec2 = require('@aws-cdk/aws-ec2');\nimport dynamodb = require('@aws-cdk/aws-dynamodb');\nimport iam = require('@aws-cdk/aws-iam');\nimport rds = require('@aws-cdk/aws-rds');\nimport path = require('path');\n\nclass Fixture extends Stack {\n constructor(scope: Construct, id: string) {\n super(scope, id);\n // Code snippet begins after !show marker below\n/// !show\nconst node = new appsync.InterfaceType('Node', {\n definition: {\n id: appsync.GraphqlType.string({ isRequired: true }),\n },\n});\nconst demo = new appsync.ObjectType('Demo', {\n interfaceTypes: [ node ],\n definition: {\n version: appsync.GraphqlType.string({ isRequired: true }),\n },\n});\n/// !hide\n// Code snippet ended before !hide marker above\n }\n}\n","syntaxKindCounter":{"10":2,"75":20,"106":2,"192":1,"193":6,"194":6,"196":2,"197":2,"225":2,"242":2,"243":2,"281":7},"fqnsFingerprint":"7feab7ba7c19c73e0b1aea4e9bf2773c306762044c0f29d4d010462b4fe8b938"},"14f93888ca2a881d4f26492d880d7d77fa1a4bccb8a972ea0fca9535c3047732":{"translations":{"python":{"source":"# api: appsync.GraphqlApi\n\nepisode = appsync.EnumType(\"Episode\",\n definition=[\"NEWHOPE\", \"EMPIRE\", \"JEDI\"\n ]\n)\napi.add_type(episode)","version":"2"},"csharp":{"source":"GraphqlApi api;\n\nvar episode = new EnumType(\"Episode\", new EnumTypeOptions {\n Definition = new [] { \"NEWHOPE\", \"EMPIRE\", \"JEDI\" }\n});\napi.AddType(episode);","version":"1"},"java":{"source":"GraphqlApi api;\n\nEnumType episode = EnumType.Builder.create(\"Episode\")\n .definition(List.of(\"NEWHOPE\", \"EMPIRE\", \"JEDI\"))\n .build();\napi.addType(episode);","version":"1"},"go":{"source":"var api graphqlApi\n\nepisode := appsync.NewEnumType(jsii.String(\"Episode\"), &EnumTypeOptions{\n\tDefinition: []*string{\n\t\tjsii.String(\"NEWHOPE\"),\n\t\tjsii.String(\"EMPIRE\"),\n\t\tjsii.String(\"JEDI\"),\n\t},\n})\napi.AddType(episode)","version":"1"},"$":{"source":"declare const api: appsync.GraphqlApi;\nconst episode = new appsync.EnumType('Episode', {\n definition: [\n 'NEWHOPE',\n 'EMPIRE',\n 'JEDI',\n ],\n});\napi.addType(episode);","version":"0"}},"location":{"api":{"api":"moduleReadme","moduleFqn":"@aws-cdk/aws-appsync"},"field":{"field":"markdown","line":908}},"didCompile":true,"fqnsReferenced":["@aws-cdk/aws-appsync.EnumType","@aws-cdk/aws-appsync.EnumTypeOptions","@aws-cdk/aws-appsync.GraphqlApi#addType","@aws-cdk/aws-appsync.IIntermediateType"],"fullSource":"// Hoisted imports begin after !show marker below\n/// !show\ndeclare const api: appsync.GraphqlApi;\n/// !hide\n// Hoisted imports ended before !hide marker above\n// Fixture with packages imported, but nothing else\nimport { Construct } from 'constructs';\nimport { RemovalPolicy, Stack } from '@aws-cdk/core';\nimport appsync = require('@aws-cdk/aws-appsync');\nimport ec2 = require('@aws-cdk/aws-ec2');\nimport dynamodb = require('@aws-cdk/aws-dynamodb');\nimport iam = require('@aws-cdk/aws-iam');\nimport rds = require('@aws-cdk/aws-rds');\nimport path = require('path');\n\nclass Fixture extends Stack {\n constructor(scope: Construct, id: string) {\n super(scope, id);\n // Code snippet begins after !show marker below\n/// !show\n\nconst episode = new appsync.EnumType('Episode', {\n definition: [\n 'NEWHOPE',\n 'EMPIRE',\n 'JEDI',\n ],\n});\napi.addType(episode);\n/// !hide\n// Code snippet ended before !hide marker above\n }\n}\n","syntaxKindCounter":{"10":4,"75":10,"130":1,"153":1,"169":1,"192":1,"193":1,"194":2,"196":1,"197":1,"225":2,"226":1,"242":2,"243":2,"281":1,"290":1},"fqnsFingerprint":"2cce42ceb3888054ae118fb309e1df385a67c59416f9dc198c4503aaef49871f"},"95a1396afe2d5efa5b8c77c465fef1ca6a917db066e45bf590d207fe65e085b4":{"translations":{"python":{"source":"# api: appsync.GraphqlApi\n\nreview = appsync.InputType(\"Review\",\n definition={\n \"stars\": appsync.GraphqlType.int(is_required=True),\n \"commentary\": appsync.GraphqlType.string()\n }\n)\napi.add_type(review)","version":"2"},"csharp":{"source":"GraphqlApi api;\n\nvar review = new InputType(\"Review\", new IntermediateTypeOptions {\n Definition = new Dictionary {\n { \"stars\", GraphqlType.Int(new BaseTypeOptions { IsRequired = true }) },\n { \"commentary\", GraphqlType.String() }\n }\n});\napi.AddType(review);","version":"1"},"java":{"source":"GraphqlApi api;\n\nInputType review = InputType.Builder.create(\"Review\")\n .definition(Map.of(\n \"stars\", GraphqlType.int(BaseTypeOptions.builder().isRequired(true).build()),\n \"commentary\", GraphqlType.string()))\n .build();\napi.addType(review);","version":"1"},"go":{"source":"var api graphqlApi\n\nreview := appsync.NewInputType(jsii.String(\"Review\"), &IntermediateTypeOptions{\n\tDefinition: map[string]iField{\n\t\t\"stars\": appsync.GraphqlType_int(&BaseTypeOptions{\n\t\t\t\"isRequired\": jsii.Boolean(true),\n\t\t}),\n\t\t\"commentary\": appsync.GraphqlType_string(),\n\t},\n})\napi.AddType(review)","version":"1"},"$":{"source":"declare const api: appsync.GraphqlApi;\nconst review = new appsync.InputType('Review', {\n definition: {\n stars: appsync.GraphqlType.int({ isRequired: true }),\n commentary: appsync.GraphqlType.string(),\n },\n});\napi.addType(review);","version":"0"}},"location":{"api":{"api":"moduleReadme","moduleFqn":"@aws-cdk/aws-appsync"},"field":{"field":"markdown","line":936}},"didCompile":true,"fqnsReferenced":["@aws-cdk/aws-appsync.BaseTypeOptions","@aws-cdk/aws-appsync.GraphqlApi#addType","@aws-cdk/aws-appsync.GraphqlType","@aws-cdk/aws-appsync.GraphqlType#int","@aws-cdk/aws-appsync.GraphqlType#string","@aws-cdk/aws-appsync.IField","@aws-cdk/aws-appsync.IIntermediateType","@aws-cdk/aws-appsync.InputType","@aws-cdk/aws-appsync.IntermediateTypeOptions"],"fullSource":"// Hoisted imports begin after !show marker below\n/// !show\ndeclare const api: appsync.GraphqlApi;\n/// !hide\n// Hoisted imports ended before !hide marker above\n// Fixture with packages imported, but nothing else\nimport { Construct } from 'constructs';\nimport { RemovalPolicy, Stack } from '@aws-cdk/core';\nimport appsync = require('@aws-cdk/aws-appsync');\nimport ec2 = require('@aws-cdk/aws-ec2');\nimport dynamodb = require('@aws-cdk/aws-dynamodb');\nimport iam = require('@aws-cdk/aws-iam');\nimport rds = require('@aws-cdk/aws-rds');\nimport path = require('path');\n\nclass Fixture extends Stack {\n constructor(scope: Construct, id: string) {\n super(scope, id);\n // Code snippet begins after !show marker below\n/// !show\n\nconst review = new appsync.InputType('Review', {\n definition: {\n stars: appsync.GraphqlType.int({ isRequired: true }),\n commentary: appsync.GraphqlType.string(),\n },\n});\napi.addType(review);\n/// !hide\n// Code snippet ended before !hide marker above\n }\n}\n","syntaxKindCounter":{"10":1,"75":19,"106":1,"130":1,"153":1,"169":1,"193":3,"194":6,"196":3,"197":1,"225":2,"226":1,"242":2,"243":2,"281":4,"290":1},"fqnsFingerprint":"aac52d4f130f5e71ccf8150ec132ddf7f790f201aec5b2f0f67ccf1f95c8020f"},"89660383eee0205bcd477067a6c92a3f637950959f0794db46ee452a59ea4bed":{"translations":{"python":{"source":"# api: appsync.GraphqlApi\n\nstring = appsync.GraphqlType.string()\nhuman = appsync.ObjectType(\"Human\", definition={\"name\": string})\ndroid = appsync.ObjectType(\"Droid\", definition={\"name\": string})\nstarship = appsync.ObjectType(\"Starship\", definition={\"name\": string})\nsearch = appsync.UnionType(\"Search\",\n definition=[human, droid, starship]\n)\napi.add_type(search)","version":"2"},"csharp":{"source":"GraphqlApi api;\n\nvar string = GraphqlType.String();\nvar human = new ObjectType(\"Human\", new ObjectTypeOptions { Definition = new Dictionary { { \"name\", string } } });\nvar droid = new ObjectType(\"Droid\", new ObjectTypeOptions { Definition = new Dictionary { { \"name\", string } } });\nvar starship = new ObjectType(\"Starship\", new ObjectTypeOptions { Definition = new Dictionary { { \"name\", string } } });\nvar search = new UnionType(\"Search\", new UnionTypeOptions {\n Definition = new [] { human, droid, starship }\n});\napi.AddType(search);","version":"1"},"java":{"source":"GraphqlApi api;\n\nGraphqlType string = GraphqlType.string();\nObjectType human = ObjectType.Builder.create(\"Human\").definition(Map.of(\"name\", string)).build();\nObjectType droid = ObjectType.Builder.create(\"Droid\").definition(Map.of(\"name\", string)).build();\nObjectType starship = ObjectType.Builder.create(\"Starship\").definition(Map.of(\"name\", string)).build();\nUnionType search = UnionType.Builder.create(\"Search\")\n .definition(List.of(human, droid, starship))\n .build();\napi.addType(search);","version":"1"},"go":{"source":"var api graphqlApi\n\nstring := appsync.GraphqlType_String()\nhuman := appsync.NewObjectType(jsii.String(\"Human\"), &ObjectTypeOptions{\n\tDefinition: map[string]iField{\n\t\t\"name\": string,\n\t},\n})\ndroid := appsync.NewObjectType(jsii.String(\"Droid\"), &ObjectTypeOptions{\n\tDefinition: map[string]*iField{\n\t\t\"name\": string,\n\t},\n})\nstarship := appsync.NewObjectType(jsii.String(\"Starship\"), &ObjectTypeOptions{\n\tDefinition: map[string]*iField{\n\t\t\"name\": string,\n\t},\n})\nsearch := appsync.NewUnionType(jsii.String(\"Search\"), &UnionTypeOptions{\n\tDefinition: []iIntermediateType{\n\t\thuman,\n\t\tdroid,\n\t\tstarship,\n\t},\n})\napi.AddType(search)","version":"1"},"$":{"source":"declare const api: appsync.GraphqlApi;\nconst string = appsync.GraphqlType.string();\nconst human = new appsync.ObjectType('Human', { definition: { name: string } });\nconst droid = new appsync.ObjectType('Droid', { definition: { name: string } });\nconst starship = new appsync.ObjectType('Starship', { definition: { name: string } }););\nconst search = new appsync.UnionType('Search', {\n definition: [ human, droid, starship ],\n});\napi.addType(search);","version":"0"}},"location":{"api":{"api":"moduleReadme","moduleFqn":"@aws-cdk/aws-appsync"},"field":{"field":"markdown","line":964}},"didCompile":true,"fqnsReferenced":["@aws-cdk/aws-appsync.GraphqlApi#addType","@aws-cdk/aws-appsync.GraphqlType","@aws-cdk/aws-appsync.GraphqlType#string","@aws-cdk/aws-appsync.IField","@aws-cdk/aws-appsync.IIntermediateType","@aws-cdk/aws-appsync.ObjectType","@aws-cdk/aws-appsync.ObjectTypeOptions","@aws-cdk/aws-appsync.UnionType","@aws-cdk/aws-appsync.UnionTypeOptions"],"fullSource":"// Hoisted imports begin after !show marker below\n/// !show\ndeclare const api: appsync.GraphqlApi;\n/// !hide\n// Hoisted imports ended before !hide marker above\n// Fixture with packages imported, but nothing else\nimport { Construct } from 'constructs';\nimport { RemovalPolicy, Stack } from '@aws-cdk/core';\nimport appsync = require('@aws-cdk/aws-appsync');\nimport ec2 = require('@aws-cdk/aws-ec2');\nimport dynamodb = require('@aws-cdk/aws-dynamodb');\nimport iam = require('@aws-cdk/aws-iam');\nimport rds = require('@aws-cdk/aws-rds');\nimport path = require('path');\n\nclass Fixture extends Stack {\n constructor(scope: Construct, id: string) {\n super(scope, id);\n // Code snippet begins after !show marker below\n/// !show\n\nconst string = appsync.GraphqlType.string();\nconst human = new appsync.ObjectType('Human', { definition: { name: string } });\nconst droid = new appsync.ObjectType('Droid', { definition: { name: string } });\nconst starship = new appsync.ObjectType('Starship', { definition: { name: string } });;\nconst search = new appsync.UnionType('Search', {\n definition: [ human, droid, starship ],\n});\napi.addType(search);\n/// !hide\n// Code snippet ended before !hide marker above\n }\n}\n","syntaxKindCounter":{"10":4,"75":35,"130":1,"153":1,"169":1,"192":1,"193":7,"194":7,"196":2,"197":4,"224":1,"225":6,"226":1,"242":6,"243":6,"281":7,"290":1},"fqnsFingerprint":"27af74f4f6b056f2255095d0153b070790029de36afc1dcbac576154cfe45ee0"},"4b6dbe2c3e0c2a9a1edaded721a3376993b5a5b111614e83fd1a6aae4bd55381":{"translations":{"python":{"source":"# api: appsync.GraphqlApi\n# film_connection: appsync.InterfaceType\n# dummy_request: appsync.MappingTemplate\n# dummy_response: appsync.MappingTemplate\n\n\nstring = appsync.GraphqlType.string()\nint = appsync.GraphqlType.int()\napi.add_query(\"allFilms\", appsync.ResolvableField(\n return_type=film_connection.attribute(),\n args={\"after\": string, \"first\": int, \"before\": string, \"last\": int},\n data_source=api.add_none_data_source(\"none\"),\n request_mapping_template=dummy_request,\n response_mapping_template=dummy_response\n))","version":"2"},"csharp":{"source":"GraphqlApi api;\nInterfaceType filmConnection;\nMappingTemplate dummyRequest;\nMappingTemplate dummyResponse;\n\n\nvar string = GraphqlType.String();\nvar int = GraphqlType.Int();\napi.AddQuery(\"allFilms\", new ResolvableField(new ResolvableFieldOptions {\n ReturnType = filmConnection.Attribute(),\n Args = new Dictionary { { \"after\", string }, { \"first\", int }, { \"before\", string }, { \"last\", int } },\n DataSource = api.AddNoneDataSource(\"none\"),\n RequestMappingTemplate = dummyRequest,\n ResponseMappingTemplate = dummyResponse\n}));","version":"1"},"java":{"source":"GraphqlApi api;\nInterfaceType filmConnection;\nMappingTemplate dummyRequest;\nMappingTemplate dummyResponse;\n\n\nGraphqlType string = GraphqlType.string();\nGraphqlType int = GraphqlType.int();\napi.addQuery(\"allFilms\", ResolvableField.Builder.create()\n .returnType(filmConnection.attribute())\n .args(Map.of(\"after\", string, \"first\", int, \"before\", string, \"last\", int))\n .dataSource(api.addNoneDataSource(\"none\"))\n .requestMappingTemplate(dummyRequest)\n .responseMappingTemplate(dummyResponse)\n .build());","version":"1"},"go":{"source":"var api graphqlApi\nvar filmConnection interfaceType\nvar dummyRequest mappingTemplate\nvar dummyResponse mappingTemplate\n\n\nstring := appsync.GraphqlType_String()\nint := appsync.GraphqlType_Int()\napi.AddQuery(jsii.String(\"allFilms\"), appsync.NewResolvableField(&ResolvableFieldOptions{\n\tReturnType: filmConnection.Attribute(),\n\tArgs: map[string]graphqlType{\n\t\t\"after\": string,\n\t\t\"first\": int,\n\t\t\"before\": string,\n\t\t\"last\": int,\n\t},\n\tDataSource: api.AddNoneDataSource(jsii.String(\"none\")),\n\tRequestMappingTemplate: dummyRequest,\n\tResponseMappingTemplate: dummyResponse,\n}))","version":"1"},"$":{"source":"declare const api: appsync.GraphqlApi;\ndeclare const filmConnection: appsync.InterfaceType;\ndeclare const dummyRequest: appsync.MappingTemplate;\ndeclare const dummyResponse: appsync.MappingTemplate;\n\nconst string = appsync.GraphqlType.string();\nconst int = appsync.GraphqlType.int();\napi.addQuery('allFilms', new appsync.ResolvableField({\n returnType: filmConnection.attribute(),\n args: { after: string, first: int, before: string, last: int},\n dataSource: api.addNoneDataSource('none'),\n requestMappingTemplate: dummyRequest,\n responseMappingTemplate: dummyResponse,\n}));","version":"0"}},"location":{"api":{"api":"moduleReadme","moduleFqn":"@aws-cdk/aws-appsync"},"field":{"field":"markdown","line":987}},"didCompile":true,"fqnsReferenced":["@aws-cdk/aws-appsync.BaseDataSource","@aws-cdk/aws-appsync.GraphqlApi#addQuery","@aws-cdk/aws-appsync.GraphqlApiBase#addNoneDataSource","@aws-cdk/aws-appsync.GraphqlType","@aws-cdk/aws-appsync.GraphqlType#int","@aws-cdk/aws-appsync.GraphqlType#string","@aws-cdk/aws-appsync.InterfaceType#attribute","@aws-cdk/aws-appsync.MappingTemplate","@aws-cdk/aws-appsync.ResolvableField","@aws-cdk/aws-appsync.ResolvableFieldOptions"],"fullSource":"// Hoisted imports begin after !show marker below\n/// !show\ndeclare const api: appsync.GraphqlApi;\ndeclare const filmConnection: appsync.InterfaceType;\ndeclare const dummyRequest: appsync.MappingTemplate;\ndeclare const dummyResponse: appsync.MappingTemplate;\n/// !hide\n// Hoisted imports ended before !hide marker above\n// Fixture with packages imported, but nothing else\nimport { Construct } from 'constructs';\nimport { RemovalPolicy, Stack } from '@aws-cdk/core';\nimport appsync = require('@aws-cdk/aws-appsync');\nimport ec2 = require('@aws-cdk/aws-ec2');\nimport dynamodb = require('@aws-cdk/aws-dynamodb');\nimport iam = require('@aws-cdk/aws-iam');\nimport rds = require('@aws-cdk/aws-rds');\nimport path = require('path');\n\nclass Fixture extends Stack {\n constructor(scope: Construct, id: string) {\n super(scope, id);\n // Code snippet begins after !show marker below\n/// !show\n\n\nconst string = appsync.GraphqlType.string();\nconst int = appsync.GraphqlType.int();\napi.addQuery('allFilms', new appsync.ResolvableField({\n returnType: filmConnection.attribute(),\n args: { after: string, first: int, before: string, last: int},\n dataSource: api.addNoneDataSource('none'),\n requestMappingTemplate: dummyRequest,\n responseMappingTemplate: dummyResponse,\n}));\n/// !hide\n// Code snippet ended before !hide marker above\n }\n}\n","syntaxKindCounter":{"10":2,"75":43,"130":4,"153":4,"169":4,"193":2,"194":8,"196":5,"197":1,"225":6,"226":1,"242":6,"243":6,"281":9,"290":1},"fqnsFingerprint":"5a45a6efe003b66b7b40206e284f2f485eabdd9d7846e3be92f66e66f86c6375"},"a75c8ca04757ea4871132859502bf7268e18d820d7b8122e131027c03ed3e25b":{"translations":{"python":{"source":"# api: appsync.GraphqlApi\n# film_node: appsync.ObjectType\n# dummy_request: appsync.MappingTemplate\n# dummy_response: appsync.MappingTemplate\n\n\nstring = appsync.GraphqlType.string()\nint = appsync.GraphqlType.int()\napi.add_mutation(\"addFilm\", appsync.ResolvableField(\n return_type=film_node.attribute(),\n args={\"name\": string, \"film_number\": int},\n data_source=api.add_none_data_source(\"none\"),\n request_mapping_template=dummy_request,\n response_mapping_template=dummy_response\n))","version":"2"},"csharp":{"source":"GraphqlApi api;\nObjectType filmNode;\nMappingTemplate dummyRequest;\nMappingTemplate dummyResponse;\n\n\nvar string = GraphqlType.String();\nvar int = GraphqlType.Int();\napi.AddMutation(\"addFilm\", new ResolvableField(new ResolvableFieldOptions {\n ReturnType = filmNode.Attribute(),\n Args = new Dictionary { { \"name\", string }, { \"film_number\", int } },\n DataSource = api.AddNoneDataSource(\"none\"),\n RequestMappingTemplate = dummyRequest,\n ResponseMappingTemplate = dummyResponse\n}));","version":"1"},"java":{"source":"GraphqlApi api;\nObjectType filmNode;\nMappingTemplate dummyRequest;\nMappingTemplate dummyResponse;\n\n\nGraphqlType string = GraphqlType.string();\nGraphqlType int = GraphqlType.int();\napi.addMutation(\"addFilm\", ResolvableField.Builder.create()\n .returnType(filmNode.attribute())\n .args(Map.of(\"name\", string, \"film_number\", int))\n .dataSource(api.addNoneDataSource(\"none\"))\n .requestMappingTemplate(dummyRequest)\n .responseMappingTemplate(dummyResponse)\n .build());","version":"1"},"go":{"source":"var api graphqlApi\nvar filmNode objectType\nvar dummyRequest mappingTemplate\nvar dummyResponse mappingTemplate\n\n\nstring := appsync.GraphqlType_String()\nint := appsync.GraphqlType_Int()\napi.AddMutation(jsii.String(\"addFilm\"), appsync.NewResolvableField(&ResolvableFieldOptions{\n\tReturnType: filmNode.Attribute(),\n\tArgs: map[string]graphqlType{\n\t\t\"name\": string,\n\t\t\"film_number\": int,\n\t},\n\tDataSource: api.AddNoneDataSource(jsii.String(\"none\")),\n\tRequestMappingTemplate: dummyRequest,\n\tResponseMappingTemplate: dummyResponse,\n}))","version":"1"},"$":{"source":"declare const api: appsync.GraphqlApi;\ndeclare const filmNode: appsync.ObjectType;\ndeclare const dummyRequest: appsync.MappingTemplate;\ndeclare const dummyResponse: appsync.MappingTemplate;\n\nconst string = appsync.GraphqlType.string();\nconst int = appsync.GraphqlType.int();\napi.addMutation('addFilm', new appsync.ResolvableField({\n returnType: filmNode.attribute(),\n args: { name: string, film_number: int },\n dataSource: api.addNoneDataSource('none'),\n requestMappingTemplate: dummyRequest,\n responseMappingTemplate: dummyResponse,\n}));","version":"0"}},"location":{"api":{"api":"moduleReadme","moduleFqn":"@aws-cdk/aws-appsync"},"field":{"field":"markdown","line":1015}},"didCompile":true,"fqnsReferenced":["@aws-cdk/aws-appsync.BaseDataSource","@aws-cdk/aws-appsync.GraphqlApi#addMutation","@aws-cdk/aws-appsync.GraphqlApiBase#addNoneDataSource","@aws-cdk/aws-appsync.GraphqlType","@aws-cdk/aws-appsync.GraphqlType#int","@aws-cdk/aws-appsync.GraphqlType#string","@aws-cdk/aws-appsync.InterfaceType#attribute","@aws-cdk/aws-appsync.MappingTemplate","@aws-cdk/aws-appsync.ResolvableField","@aws-cdk/aws-appsync.ResolvableFieldOptions"],"fullSource":"// Hoisted imports begin after !show marker below\n/// !show\ndeclare const api: appsync.GraphqlApi;\ndeclare const filmNode: appsync.ObjectType;\ndeclare const dummyRequest: appsync.MappingTemplate;\ndeclare const dummyResponse: appsync.MappingTemplate;\n/// !hide\n// Hoisted imports ended before !hide marker above\n// Fixture with packages imported, but nothing else\nimport { Construct } from 'constructs';\nimport { RemovalPolicy, Stack } from '@aws-cdk/core';\nimport appsync = require('@aws-cdk/aws-appsync');\nimport ec2 = require('@aws-cdk/aws-ec2');\nimport dynamodb = require('@aws-cdk/aws-dynamodb');\nimport iam = require('@aws-cdk/aws-iam');\nimport rds = require('@aws-cdk/aws-rds');\nimport path = require('path');\n\nclass Fixture extends Stack {\n constructor(scope: Construct, id: string) {\n super(scope, id);\n // Code snippet begins after !show marker below\n/// !show\n\n\nconst string = appsync.GraphqlType.string();\nconst int = appsync.GraphqlType.int();\napi.addMutation('addFilm', new appsync.ResolvableField({\n returnType: filmNode.attribute(),\n args: { name: string, film_number: int },\n dataSource: api.addNoneDataSource('none'),\n requestMappingTemplate: dummyRequest,\n responseMappingTemplate: dummyResponse,\n}));\n/// !hide\n// Code snippet ended before !hide marker above\n }\n}\n","syntaxKindCounter":{"10":2,"75":39,"130":4,"153":4,"169":4,"193":2,"194":8,"196":5,"197":1,"225":6,"226":1,"242":6,"243":6,"281":7,"290":1},"fqnsFingerprint":"4ad35cc55fa2f9e3d5add55930d3862f793f8b6d074918ee45825366f1bec58b"},"313f79fe791d65256e52604238171baf8c050c57302706717670addcddcf9950":{"translations":{"python":{"source":"# api: appsync.GraphqlApi\n# film: appsync.InterfaceType\n\n\napi.add_subscription(\"addedFilm\", appsync.Field(\n return_type=film.attribute(),\n args={\"id\": appsync.GraphqlType.id(is_required=True)},\n directives=[appsync.Directive.subscribe(\"addFilm\")]\n))","version":"2"},"csharp":{"source":"GraphqlApi api;\nInterfaceType film;\n\n\napi.AddSubscription(\"addedFilm\", new Field(new FieldOptions {\n ReturnType = film.Attribute(),\n Args = new Dictionary { { \"id\", GraphqlType.Id(new BaseTypeOptions { IsRequired = true }) } },\n Directives = new [] { Directive.Subscribe(\"addFilm\") }\n}));","version":"1"},"java":{"source":"GraphqlApi api;\nInterfaceType film;\n\n\napi.addSubscription(\"addedFilm\", Field.Builder.create()\n .returnType(film.attribute())\n .args(Map.of(\"id\", GraphqlType.id(BaseTypeOptions.builder().isRequired(true).build())))\n .directives(List.of(Directive.subscribe(\"addFilm\")))\n .build());","version":"1"},"go":{"source":"var api graphqlApi\nvar film interfaceType\n\n\napi.AddSubscription(jsii.String(\"addedFilm\"), appsync.NewField(&FieldOptions{\n\tReturnType: film.Attribute(),\n\tArgs: map[string]graphqlType{\n\t\t\"id\": appsync.*graphqlType_id(&BaseTypeOptions{\n\t\t\t\"isRequired\": jsii.Boolean(true),\n\t\t}),\n\t},\n\tDirectives: []directive{\n\t\tappsync.*directive_Subscribe(jsii.String(\"addFilm\")),\n\t},\n}))","version":"1"},"$":{"source":"declare const api: appsync.GraphqlApi;\ndeclare const film: appsync.InterfaceType;\n\napi.addSubscription('addedFilm', new appsync.Field({\n returnType: film.attribute(),\n args: { id: appsync.GraphqlType.id({ isRequired: true }) },\n directives: [appsync.Directive.subscribe('addFilm')],\n}));","version":"0"}},"location":{"api":{"api":"moduleReadme","moduleFqn":"@aws-cdk/aws-appsync"},"field":{"field":"markdown","line":1046}},"didCompile":true,"fqnsReferenced":["@aws-cdk/aws-appsync.BaseTypeOptions","@aws-cdk/aws-appsync.Directive","@aws-cdk/aws-appsync.Directive#subscribe","@aws-cdk/aws-appsync.Field","@aws-cdk/aws-appsync.FieldOptions","@aws-cdk/aws-appsync.GraphqlApi#addSubscription","@aws-cdk/aws-appsync.GraphqlType","@aws-cdk/aws-appsync.GraphqlType#id","@aws-cdk/aws-appsync.InterfaceType#attribute","@aws-cdk/aws-appsync.ResolvableField"],"fullSource":"// Hoisted imports begin after !show marker below\n/// !show\ndeclare const api: appsync.GraphqlApi;\ndeclare const film: appsync.InterfaceType;\n/// !hide\n// Hoisted imports ended before !hide marker above\n// Fixture with packages imported, but nothing else\nimport { Construct } from 'constructs';\nimport { RemovalPolicy, Stack } from '@aws-cdk/core';\nimport appsync = require('@aws-cdk/aws-appsync');\nimport ec2 = require('@aws-cdk/aws-ec2');\nimport dynamodb = require('@aws-cdk/aws-dynamodb');\nimport iam = require('@aws-cdk/aws-iam');\nimport rds = require('@aws-cdk/aws-rds');\nimport path = require('path');\n\nclass Fixture extends Stack {\n constructor(scope: Construct, id: string) {\n super(scope, id);\n // Code snippet begins after !show marker below\n/// !show\n\n\napi.addSubscription('addedFilm', new appsync.Field({\n returnType: film.attribute(),\n args: { id: appsync.GraphqlType.id({ isRequired: true }) },\n directives: [appsync.Directive.subscribe('addFilm')],\n}));\n/// !hide\n// Code snippet ended before !hide marker above\n }\n}\n","syntaxKindCounter":{"10":2,"75":23,"106":1,"130":2,"153":2,"169":2,"192":1,"193":3,"194":7,"196":4,"197":1,"225":2,"226":1,"242":2,"243":2,"281":5,"290":1},"fqnsFingerprint":"f506898ebe178cf57f89ac1cb637990c2a1fc3c0e2a078674058027fee18c217"},"58857fa7d5e41557e49390fea0fa93ee1ec02a41a7bb2a07bf42c341c85d0320":{"translations":{"python":{"source":"# The code below shows an example of how to instantiate this type.\n# The values are placeholders you should change.\nimport aws_cdk.aws_appsync as appsync\n\n# field: appsync.Field\n\nadd_field_options = appsync.AddFieldOptions(\n field=field,\n field_name=\"fieldName\"\n)","version":"2"},"csharp":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nusing Amazon.CDK.AWS.AppSync;\n\nField field;\n\nvar addFieldOptions = new AddFieldOptions {\n Field = field,\n FieldName = \"fieldName\"\n};","version":"1"},"java":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport software.amazon.awscdk.services.appsync.*;\n\nField field;\n\nAddFieldOptions addFieldOptions = AddFieldOptions.builder()\n .field(field)\n .fieldName(\"fieldName\")\n .build();","version":"1"},"go":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport appsync \"github.com/aws-samples/dummy/awscdkawsappsync\"\n\nvar field field\n\naddFieldOptions := &AddFieldOptions{\n\tField: field,\n\tFieldName: jsii.String(\"fieldName\"),\n}","version":"1"},"$":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as appsync from '@aws-cdk/aws-appsync';\n\ndeclare const field: appsync.Field;\nconst addFieldOptions: appsync.AddFieldOptions = {\n field: field,\n fieldName: 'fieldName',\n};","version":"0"}},"location":{"api":{"api":"type","fqn":"@aws-cdk/aws-appsync.AddFieldOptions"},"field":{"field":"example"}},"didCompile":true,"fqnsReferenced":["@aws-cdk/aws-appsync.AddFieldOptions","@aws-cdk/aws-appsync.IField"],"fullSource":"// Hoisted imports begin after !show marker below\n/// !show\n// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as appsync from '@aws-cdk/aws-appsync';\n\ndeclare const field: appsync.Field;\n/// !hide\n// Hoisted imports ended before !hide marker above\nimport { Construct } from \"@aws-cdk/core\";\nclass MyConstruct extends Construct {\nconstructor(scope: Construct, id: string) {\nsuper(scope, id);\n// Code snippet begins after !show marker below\n/// !show\n\nconst addFieldOptions: appsync.AddFieldOptions = {\n field: field,\n fieldName: 'fieldName',\n};\n/// !hide\n// Code snippet ended before !hide marker above\n} }","syntaxKindCounter":{"10":2,"75":10,"130":1,"153":2,"169":2,"193":1,"225":2,"242":2,"243":2,"254":1,"255":1,"256":1,"281":2,"290":1},"fqnsFingerprint":"f0aa7881944d8024741f31cbe3b5841ec240eaecd78b89ed96fe585ee4226274"},"fdaa47ed653ec73b6c78d676c73044af7ac83760596701de21f7b1522fadb197":{"translations":{"python":{"source":"# The code below shows an example of how to instantiate this type.\n# The values are placeholders you should change.\nimport aws_cdk.aws_appsync as appsync\nimport aws_cdk.core as cdk\n\n# expiration: cdk.Expiration\n\napi_key_config = appsync.ApiKeyConfig(\n description=\"description\",\n expires=expiration,\n name=\"name\"\n)","version":"2"},"csharp":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nusing Amazon.CDK.AWS.AppSync;\nusing Amazon.CDK;\n\nExpiration expiration;\nvar apiKeyConfig = new ApiKeyConfig {\n Description = \"description\",\n Expires = expiration,\n Name = \"name\"\n};","version":"1"},"java":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport software.amazon.awscdk.services.appsync.*;\nimport software.amazon.awscdk.core.*;\n\nExpiration expiration;\n\nApiKeyConfig apiKeyConfig = ApiKeyConfig.builder()\n .description(\"description\")\n .expires(expiration)\n .name(\"name\")\n .build();","version":"1"},"go":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport appsync \"github.com/aws-samples/dummy/awscdkawsappsync\"\nimport cdk \"github.com/aws-samples/dummy/awscdkcore\"\n\nvar expiration expiration\n\napiKeyConfig := &ApiKeyConfig{\n\tDescription: jsii.String(\"description\"),\n\tExpires: expiration,\n\tName: jsii.String(\"name\"),\n}","version":"1"},"$":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as appsync from '@aws-cdk/aws-appsync';\nimport * as cdk from '@aws-cdk/core';\n\ndeclare const expiration: cdk.Expiration;\nconst apiKeyConfig: appsync.ApiKeyConfig = {\n description: 'description',\n expires: expiration,\n name: 'name',\n};","version":"0"}},"location":{"api":{"api":"type","fqn":"@aws-cdk/aws-appsync.ApiKeyConfig"},"field":{"field":"example"}},"didCompile":true,"fqnsReferenced":["@aws-cdk/aws-appsync.ApiKeyConfig","@aws-cdk/core.Expiration"],"fullSource":"// Hoisted imports begin after !show marker below\n/// !show\n// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as appsync from '@aws-cdk/aws-appsync';\nimport * as cdk from '@aws-cdk/core';\n\ndeclare const expiration: cdk.Expiration;\n/// !hide\n// Hoisted imports ended before !hide marker above\nimport { Construct } from \"@aws-cdk/core\";\nclass MyConstruct extends Construct {\nconstructor(scope: Construct, id: string) {\nsuper(scope, id);\n// Code snippet begins after !show marker below\n/// !show\n\nconst apiKeyConfig: appsync.ApiKeyConfig = {\n description: 'description',\n expires: expiration,\n name: 'name',\n};\n/// !hide\n// Code snippet ended before !hide marker above\n} }","syntaxKindCounter":{"10":4,"75":12,"130":1,"153":2,"169":2,"193":1,"225":2,"242":2,"243":2,"254":2,"255":2,"256":2,"281":3,"290":1},"fqnsFingerprint":"bcb3bd8d93e0d75242c79194ff7cc60032d70d598bba2b91be4f5505a6898f90"},"a1deec016d5b2ec9f2148ba2c5af9193f96e421eaa29807db250a734d1dae106":{"translations":{"python":{"source":"# api: appsync.GraphqlApi\n\n\nappsync_function = appsync.AppsyncFunction(self, \"function\",\n name=\"appsync_function\",\n api=api,\n data_source=api.add_none_data_source(\"none\"),\n request_mapping_template=appsync.MappingTemplate.from_file(\"request.vtl\"),\n response_mapping_template=appsync.MappingTemplate.from_file(\"response.vtl\")\n)","version":"2"},"csharp":{"source":"GraphqlApi api;\n\n\nvar appsyncFunction = new AppsyncFunction(this, \"function\", new AppsyncFunctionProps {\n Name = \"appsync_function\",\n Api = api,\n DataSource = api.AddNoneDataSource(\"none\"),\n RequestMappingTemplate = MappingTemplate.FromFile(\"request.vtl\"),\n ResponseMappingTemplate = MappingTemplate.FromFile(\"response.vtl\")\n});","version":"1"},"java":{"source":"GraphqlApi api;\n\n\nAppsyncFunction appsyncFunction = AppsyncFunction.Builder.create(this, \"function\")\n .name(\"appsync_function\")\n .api(api)\n .dataSource(api.addNoneDataSource(\"none\"))\n .requestMappingTemplate(MappingTemplate.fromFile(\"request.vtl\"))\n .responseMappingTemplate(MappingTemplate.fromFile(\"response.vtl\"))\n .build();","version":"1"},"go":{"source":"var api graphqlApi\n\n\nappsyncFunction := appsync.NewAppsyncFunction(this, jsii.String(\"function\"), &AppsyncFunctionProps{\n\tName: jsii.String(\"appsync_function\"),\n\tApi: Api,\n\tDataSource: api.AddNoneDataSource(jsii.String(\"none\")),\n\tRequestMappingTemplate: appsync.MappingTemplate_FromFile(jsii.String(\"request.vtl\")),\n\tResponseMappingTemplate: appsync.MappingTemplate_*FromFile(jsii.String(\"response.vtl\")),\n})","version":"1"},"$":{"source":"declare const api: appsync.GraphqlApi;\n\nconst appsyncFunction = new appsync.AppsyncFunction(this, 'function', {\n name: 'appsync_function',\n api,\n dataSource: api.addNoneDataSource('none'),\n requestMappingTemplate: appsync.MappingTemplate.fromFile('request.vtl'),\n responseMappingTemplate: appsync.MappingTemplate.fromFile('response.vtl'),\n});","version":"0"}},"location":{"api":{"api":"type","fqn":"@aws-cdk/aws-appsync.AppsyncFunction"},"field":{"field":"example"}},"didCompile":true,"fqnsReferenced":["@aws-cdk/aws-appsync.AppsyncFunction","@aws-cdk/aws-appsync.AppsyncFunctionProps","@aws-cdk/aws-appsync.BaseDataSource","@aws-cdk/aws-appsync.GraphqlApiBase#addNoneDataSource","@aws-cdk/aws-appsync.IGraphqlApi","@aws-cdk/aws-appsync.MappingTemplate","@aws-cdk/aws-appsync.MappingTemplate#fromFile","constructs.Construct"],"fullSource":"// Hoisted imports begin after !show marker below\n/// !show\ndeclare const api: appsync.GraphqlApi;\n/// !hide\n// Hoisted imports ended before !hide marker above\n// Fixture with packages imported, but nothing else\nimport { Construct } from 'constructs';\nimport { RemovalPolicy, Stack } from '@aws-cdk/core';\nimport appsync = require('@aws-cdk/aws-appsync');\nimport ec2 = require('@aws-cdk/aws-ec2');\nimport dynamodb = require('@aws-cdk/aws-dynamodb');\nimport iam = require('@aws-cdk/aws-iam');\nimport rds = require('@aws-cdk/aws-rds');\nimport path = require('path');\n\nclass Fixture extends Stack {\n constructor(scope: Construct, id: string) {\n super(scope, id);\n // Code snippet begins after !show marker below\n/// !show\n\n\nconst appsyncFunction = new appsync.AppsyncFunction(this, 'function', {\n name: 'appsync_function',\n api,\n dataSource: api.addNoneDataSource('none'),\n requestMappingTemplate: appsync.MappingTemplate.fromFile('request.vtl'),\n responseMappingTemplate: appsync.MappingTemplate.fromFile('response.vtl'),\n});\n/// !hide\n// Code snippet ended before !hide marker above\n }\n}\n","syntaxKindCounter":{"10":5,"75":19,"104":1,"130":1,"153":1,"169":1,"193":1,"194":6,"196":3,"197":1,"225":2,"242":2,"243":2,"281":4,"282":1,"290":1},"fqnsFingerprint":"99bbae50caea99c27cfe35db00f408007e1469299aa2e7cc2281f95423da5d2f"},"1c3a9019bbadae43466d0a42ad5f974f3b8f2843556626222d27638948923537":{"translations":{"python":{"source":"# The code below shows an example of how to instantiate this type.\n# The values are placeholders you should change.\nimport aws_cdk.aws_appsync as appsync\n\nappsync_function_attributes = appsync.AppsyncFunctionAttributes(\n function_arn=\"functionArn\"\n)","version":"2"},"csharp":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nusing Amazon.CDK.AWS.AppSync;\n\nvar appsyncFunctionAttributes = new AppsyncFunctionAttributes {\n FunctionArn = \"functionArn\"\n};","version":"1"},"java":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport software.amazon.awscdk.services.appsync.*;\n\nAppsyncFunctionAttributes appsyncFunctionAttributes = AppsyncFunctionAttributes.builder()\n .functionArn(\"functionArn\")\n .build();","version":"1"},"go":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport appsync \"github.com/aws-samples/dummy/awscdkawsappsync\"\n\nappsyncFunctionAttributes := &AppsyncFunctionAttributes{\n\tFunctionArn: jsii.String(\"functionArn\"),\n}","version":"1"},"$":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as appsync from '@aws-cdk/aws-appsync';\nconst appsyncFunctionAttributes: appsync.AppsyncFunctionAttributes = {\n functionArn: 'functionArn',\n};","version":"0"}},"location":{"api":{"api":"type","fqn":"@aws-cdk/aws-appsync.AppsyncFunctionAttributes"},"field":{"field":"example"}},"didCompile":true,"fqnsReferenced":["@aws-cdk/aws-appsync.AppsyncFunctionAttributes"],"fullSource":"// Hoisted imports begin after !show marker below\n/// !show\n// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as appsync from '@aws-cdk/aws-appsync';\n/// !hide\n// Hoisted imports ended before !hide marker above\nimport { Construct } from \"@aws-cdk/core\";\nclass MyConstruct extends Construct {\nconstructor(scope: Construct, id: string) {\nsuper(scope, id);\n// Code snippet begins after !show marker below\n/// !show\n\nconst appsyncFunctionAttributes: appsync.AppsyncFunctionAttributes = {\n functionArn: 'functionArn',\n};\n/// !hide\n// Code snippet ended before !hide marker above\n} }","syntaxKindCounter":{"10":2,"75":5,"153":1,"169":1,"193":1,"225":1,"242":1,"243":1,"254":1,"255":1,"256":1,"281":1,"290":1},"fqnsFingerprint":"fe332a774a4ea79533d723ba6a87fcacfdb1c9e00beb1c130488a54e789c6fb0"},"3f9cab12f60994cf006980105d5f9311c7f74f9fab0755539f3a696650994766":{"translations":{"python":{"source":"# api: appsync.GraphqlApi\n\n\nappsync_function = appsync.AppsyncFunction(self, \"function\",\n name=\"appsync_function\",\n api=api,\n data_source=api.add_none_data_source(\"none\"),\n request_mapping_template=appsync.MappingTemplate.from_file(\"request.vtl\"),\n response_mapping_template=appsync.MappingTemplate.from_file(\"response.vtl\")\n)","version":"2"},"csharp":{"source":"GraphqlApi api;\n\n\nvar appsyncFunction = new AppsyncFunction(this, \"function\", new AppsyncFunctionProps {\n Name = \"appsync_function\",\n Api = api,\n DataSource = api.AddNoneDataSource(\"none\"),\n RequestMappingTemplate = MappingTemplate.FromFile(\"request.vtl\"),\n ResponseMappingTemplate = MappingTemplate.FromFile(\"response.vtl\")\n});","version":"1"},"java":{"source":"GraphqlApi api;\n\n\nAppsyncFunction appsyncFunction = AppsyncFunction.Builder.create(this, \"function\")\n .name(\"appsync_function\")\n .api(api)\n .dataSource(api.addNoneDataSource(\"none\"))\n .requestMappingTemplate(MappingTemplate.fromFile(\"request.vtl\"))\n .responseMappingTemplate(MappingTemplate.fromFile(\"response.vtl\"))\n .build();","version":"1"},"go":{"source":"var api graphqlApi\n\n\nappsyncFunction := appsync.NewAppsyncFunction(this, jsii.String(\"function\"), &AppsyncFunctionProps{\n\tName: jsii.String(\"appsync_function\"),\n\tApi: Api,\n\tDataSource: api.AddNoneDataSource(jsii.String(\"none\")),\n\tRequestMappingTemplate: appsync.MappingTemplate_FromFile(jsii.String(\"request.vtl\")),\n\tResponseMappingTemplate: appsync.MappingTemplate_*FromFile(jsii.String(\"response.vtl\")),\n})","version":"1"},"$":{"source":"declare const api: appsync.GraphqlApi;\n\nconst appsyncFunction = new appsync.AppsyncFunction(this, 'function', {\n name: 'appsync_function',\n api,\n dataSource: api.addNoneDataSource('none'),\n requestMappingTemplate: appsync.MappingTemplate.fromFile('request.vtl'),\n responseMappingTemplate: appsync.MappingTemplate.fromFile('response.vtl'),\n});","version":"0"}},"location":{"api":{"api":"type","fqn":"@aws-cdk/aws-appsync.AppsyncFunctionProps"},"field":{"field":"example"}},"didCompile":true,"fqnsReferenced":["@aws-cdk/aws-appsync.AppsyncFunction","@aws-cdk/aws-appsync.AppsyncFunctionProps","@aws-cdk/aws-appsync.BaseDataSource","@aws-cdk/aws-appsync.GraphqlApiBase#addNoneDataSource","@aws-cdk/aws-appsync.IGraphqlApi","@aws-cdk/aws-appsync.MappingTemplate","@aws-cdk/aws-appsync.MappingTemplate#fromFile","constructs.Construct"],"fullSource":"// Hoisted imports begin after !show marker below\n/// !show\ndeclare const api: appsync.GraphqlApi;\n/// !hide\n// Hoisted imports ended before !hide marker above\n// Fixture with packages imported, but nothing else\nimport { Construct } from 'constructs';\nimport { RemovalPolicy, Stack } from '@aws-cdk/core';\nimport appsync = require('@aws-cdk/aws-appsync');\nimport ec2 = require('@aws-cdk/aws-ec2');\nimport dynamodb = require('@aws-cdk/aws-dynamodb');\nimport iam = require('@aws-cdk/aws-iam');\nimport rds = require('@aws-cdk/aws-rds');\nimport path = require('path');\n\nclass Fixture extends Stack {\n constructor(scope: Construct, id: string) {\n super(scope, id);\n // Code snippet begins after !show marker below\n/// !show\n\n\nconst appsyncFunction = new appsync.AppsyncFunction(this, 'function', {\n name: 'appsync_function',\n api,\n dataSource: api.addNoneDataSource('none'),\n requestMappingTemplate: appsync.MappingTemplate.fromFile('request.vtl'),\n responseMappingTemplate: appsync.MappingTemplate.fromFile('response.vtl'),\n});\n/// !hide\n// Code snippet ended before !hide marker above\n }\n}\n","syntaxKindCounter":{"10":5,"75":19,"104":1,"130":1,"153":1,"169":1,"193":1,"194":6,"196":3,"197":1,"225":2,"242":2,"243":2,"281":4,"282":1,"290":1},"fqnsFingerprint":"99bbae50caea99c27cfe35db00f408007e1469299aa2e7cc2281f95423da5d2f"},"a923c9df49d72ce0d6ab24a9020334c7e8c35006e67c8ef61000b74ad702db97":{"translations":{"python":{"source":"# The code below shows an example of how to instantiate this type.\n# The values are placeholders you should change.\nimport aws_cdk.aws_appsync as appsync\n\nassign = appsync.Assign(\"attr\", \"arg\")","version":"2"},"csharp":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nusing Amazon.CDK.AWS.AppSync;\n\nvar assign = new Assign(\"attr\", \"arg\");","version":"1"},"java":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport software.amazon.awscdk.services.appsync.*;\n\nAssign assign = new Assign(\"attr\", \"arg\");","version":"1"},"go":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport appsync \"github.com/aws-samples/dummy/awscdkawsappsync\"\n\nassign := appsync.NewAssign(jsii.String(\"attr\"), jsii.String(\"arg\"))","version":"1"},"$":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as appsync from '@aws-cdk/aws-appsync';\nconst assign = new appsync.Assign('attr', 'arg');","version":"0"}},"location":{"api":{"api":"type","fqn":"@aws-cdk/aws-appsync.Assign"},"field":{"field":"example"}},"didCompile":true,"fqnsReferenced":["@aws-cdk/aws-appsync.Assign"],"fullSource":"// Hoisted imports begin after !show marker below\n/// !show\n// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as appsync from '@aws-cdk/aws-appsync';\n/// !hide\n// Hoisted imports ended before !hide marker above\nimport { Construct } from \"@aws-cdk/core\";\nclass MyConstruct extends Construct {\nconstructor(scope: Construct, id: string) {\nsuper(scope, id);\n// Code snippet begins after !show marker below\n/// !show\n\nconst assign = new appsync.Assign('attr', 'arg');\n/// !hide\n// Code snippet ended before !hide marker above\n} }","syntaxKindCounter":{"10":3,"75":4,"194":1,"197":1,"225":1,"242":1,"243":1,"254":1,"255":1,"256":1,"290":1},"fqnsFingerprint":"57445a044ee25ea0dfba11fcd4fa80f939fded915392d66a2f400e363a2c08f0"},"1e81fb31f13d84f87293153c24701c8ed6a316981bb16694388d27d04579d2a4":{"translations":{"python":{"source":"api = appsync.GraphqlApi(self, \"Api\",\n name=\"demo\",\n schema=appsync.Schema.from_asset(path.join(__dirname, \"schema.graphql\")),\n authorization_config=appsync.AuthorizationConfig(\n default_authorization=appsync.AuthorizationMode(\n authorization_type=appsync.AuthorizationType.IAM\n )\n ),\n xray_enabled=True\n)\n\ndemo_table = dynamodb.Table(self, \"DemoTable\",\n partition_key=dynamodb.Attribute(\n name=\"id\",\n type=dynamodb.AttributeType.STRING\n )\n)\n\ndemo_dS = api.add_dynamo_db_data_source(\"demoDataSource\", demo_table)\n\n# Resolver for the Query \"getDemos\" that scans the DynamoDb table and returns the entire list.\ndemo_dS.create_resolver(\n type_name=\"Query\",\n field_name=\"getDemos\",\n request_mapping_template=appsync.MappingTemplate.dynamo_db_scan_table(),\n response_mapping_template=appsync.MappingTemplate.dynamo_db_result_list()\n)\n\n# Resolver for the Mutation \"addDemo\" that puts the item into the DynamoDb table.\ndemo_dS.create_resolver(\n type_name=\"Mutation\",\n field_name=\"addDemo\",\n request_mapping_template=appsync.MappingTemplate.dynamo_db_put_item(\n appsync.PrimaryKey.partition(\"id\").auto(),\n appsync.Values.projecting(\"input\")),\n response_mapping_template=appsync.MappingTemplate.dynamo_db_result_item()\n)","version":"2"},"csharp":{"source":"var api = new GraphqlApi(this, \"Api\", new GraphqlApiProps {\n Name = \"demo\",\n Schema = Schema.FromAsset(Join(__dirname, \"schema.graphql\")),\n AuthorizationConfig = new AuthorizationConfig {\n DefaultAuthorization = new AuthorizationMode {\n AuthorizationType = AuthorizationType.IAM\n }\n },\n XrayEnabled = true\n});\n\nvar demoTable = new Table(this, \"DemoTable\", new TableProps {\n PartitionKey = new Attribute {\n Name = \"id\",\n Type = AttributeType.STRING\n }\n});\n\nvar demoDS = api.AddDynamoDbDataSource(\"demoDataSource\", demoTable);\n\n// Resolver for the Query \"getDemos\" that scans the DynamoDb table and returns the entire list.\ndemoDS.CreateResolver(new BaseResolverProps {\n TypeName = \"Query\",\n FieldName = \"getDemos\",\n RequestMappingTemplate = MappingTemplate.DynamoDbScanTable(),\n ResponseMappingTemplate = MappingTemplate.DynamoDbResultList()\n});\n\n// Resolver for the Mutation \"addDemo\" that puts the item into the DynamoDb table.\ndemoDS.CreateResolver(new BaseResolverProps {\n TypeName = \"Mutation\",\n FieldName = \"addDemo\",\n RequestMappingTemplate = MappingTemplate.DynamoDbPutItem(PrimaryKey.Partition(\"id\").Auto(), Values.Projecting(\"input\")),\n ResponseMappingTemplate = MappingTemplate.DynamoDbResultItem()\n});","version":"1"},"java":{"source":"GraphqlApi api = GraphqlApi.Builder.create(this, \"Api\")\n .name(\"demo\")\n .schema(Schema.fromAsset(join(__dirname, \"schema.graphql\")))\n .authorizationConfig(AuthorizationConfig.builder()\n .defaultAuthorization(AuthorizationMode.builder()\n .authorizationType(AuthorizationType.IAM)\n .build())\n .build())\n .xrayEnabled(true)\n .build();\n\nTable demoTable = Table.Builder.create(this, \"DemoTable\")\n .partitionKey(Attribute.builder()\n .name(\"id\")\n .type(AttributeType.STRING)\n .build())\n .build();\n\nDynamoDbDataSource demoDS = api.addDynamoDbDataSource(\"demoDataSource\", demoTable);\n\n// Resolver for the Query \"getDemos\" that scans the DynamoDb table and returns the entire list.\ndemoDS.createResolver(BaseResolverProps.builder()\n .typeName(\"Query\")\n .fieldName(\"getDemos\")\n .requestMappingTemplate(MappingTemplate.dynamoDbScanTable())\n .responseMappingTemplate(MappingTemplate.dynamoDbResultList())\n .build());\n\n// Resolver for the Mutation \"addDemo\" that puts the item into the DynamoDb table.\ndemoDS.createResolver(BaseResolverProps.builder()\n .typeName(\"Mutation\")\n .fieldName(\"addDemo\")\n .requestMappingTemplate(MappingTemplate.dynamoDbPutItem(PrimaryKey.partition(\"id\").auto(), Values.projecting(\"input\")))\n .responseMappingTemplate(MappingTemplate.dynamoDbResultItem())\n .build());","version":"1"},"go":{"source":"api := appsync.NewGraphqlApi(this, jsii.String(\"Api\"), &GraphqlApiProps{\n\tName: jsii.String(\"demo\"),\n\tSchema: appsync.Schema_FromAsset(path.join(__dirname, jsii.String(\"schema.graphql\"))),\n\tAuthorizationConfig: &AuthorizationConfig{\n\t\tDefaultAuthorization: &AuthorizationMode{\n\t\t\tAuthorizationType: appsync.AuthorizationType_IAM,\n\t\t},\n\t},\n\tXrayEnabled: jsii.Boolean(true),\n})\n\ndemoTable := dynamodb.NewTable(this, jsii.String(\"DemoTable\"), &TableProps{\n\tPartitionKey: &Attribute{\n\t\tName: jsii.String(\"id\"),\n\t\tType: dynamodb.AttributeType_STRING,\n\t},\n})\n\ndemoDS := api.AddDynamoDbDataSource(jsii.String(\"demoDataSource\"), demoTable)\n\n// Resolver for the Query \"getDemos\" that scans the DynamoDb table and returns the entire list.\ndemoDS.CreateResolver(&BaseResolverProps{\n\tTypeName: jsii.String(\"Query\"),\n\tFieldName: jsii.String(\"getDemos\"),\n\tRequestMappingTemplate: appsync.MappingTemplate_DynamoDbScanTable(),\n\tResponseMappingTemplate: appsync.MappingTemplate_DynamoDbResultList(),\n})\n\n// Resolver for the Mutation \"addDemo\" that puts the item into the DynamoDb table.\ndemoDS.CreateResolver(&BaseResolverProps{\n\tTypeName: jsii.String(\"Mutation\"),\n\tFieldName: jsii.String(\"addDemo\"),\n\tRequestMappingTemplate: appsync.MappingTemplate_DynamoDbPutItem(appsync.PrimaryKey_Partition(jsii.String(\"id\")).Auto(), appsync.Values_Projecting(jsii.String(\"input\"))),\n\tResponseMappingTemplate: appsync.MappingTemplate_DynamoDbResultItem(),\n})","version":"1"},"$":{"source":"const api = new appsync.GraphqlApi(this, 'Api', {\n name: 'demo',\n schema: appsync.Schema.fromAsset(path.join(__dirname, 'schema.graphql')),\n authorizationConfig: {\n defaultAuthorization: {\n authorizationType: appsync.AuthorizationType.IAM,\n },\n },\n xrayEnabled: true,\n});\n\nconst demoTable = new dynamodb.Table(this, 'DemoTable', {\n partitionKey: {\n name: 'id',\n type: dynamodb.AttributeType.STRING,\n },\n});\n\nconst demoDS = api.addDynamoDbDataSource('demoDataSource', demoTable);\n\n// Resolver for the Query \"getDemos\" that scans the DynamoDb table and returns the entire list.\ndemoDS.createResolver({\n typeName: 'Query',\n fieldName: 'getDemos',\n requestMappingTemplate: appsync.MappingTemplate.dynamoDbScanTable(),\n responseMappingTemplate: appsync.MappingTemplate.dynamoDbResultList(),\n});\n\n// Resolver for the Mutation \"addDemo\" that puts the item into the DynamoDb table.\ndemoDS.createResolver({\n typeName: 'Mutation',\n fieldName: 'addDemo',\n requestMappingTemplate: appsync.MappingTemplate.dynamoDbPutItem(\n appsync.PrimaryKey.partition('id').auto(),\n appsync.Values.projecting('input'),\n ),\n responseMappingTemplate: appsync.MappingTemplate.dynamoDbResultItem(),\n});","version":"0"}},"location":{"api":{"api":"type","fqn":"@aws-cdk/aws-appsync.AttributeValues"},"field":{"field":"example"}},"didCompile":true,"fqnsReferenced":["@aws-cdk/aws-appsync.AttributeValues","@aws-cdk/aws-appsync.AuthorizationConfig","@aws-cdk/aws-appsync.AuthorizationMode","@aws-cdk/aws-appsync.AuthorizationType","@aws-cdk/aws-appsync.AuthorizationType#IAM","@aws-cdk/aws-appsync.BaseDataSource#createResolver","@aws-cdk/aws-appsync.BaseResolverProps","@aws-cdk/aws-appsync.DynamoDbDataSource","@aws-cdk/aws-appsync.GraphqlApi","@aws-cdk/aws-appsync.GraphqlApiBase#addDynamoDbDataSource","@aws-cdk/aws-appsync.GraphqlApiProps","@aws-cdk/aws-appsync.MappingTemplate","@aws-cdk/aws-appsync.MappingTemplate#dynamoDbPutItem","@aws-cdk/aws-appsync.MappingTemplate#dynamoDbResultItem","@aws-cdk/aws-appsync.MappingTemplate#dynamoDbResultList","@aws-cdk/aws-appsync.MappingTemplate#dynamoDbScanTable","@aws-cdk/aws-appsync.PartitionKeyStep#auto","@aws-cdk/aws-appsync.PrimaryKey","@aws-cdk/aws-appsync.PrimaryKey#partition","@aws-cdk/aws-appsync.Schema","@aws-cdk/aws-appsync.Schema#fromAsset","@aws-cdk/aws-appsync.Values","@aws-cdk/aws-appsync.Values#projecting","@aws-cdk/aws-dynamodb.Attribute","@aws-cdk/aws-dynamodb.AttributeType","@aws-cdk/aws-dynamodb.AttributeType#STRING","@aws-cdk/aws-dynamodb.ITable","@aws-cdk/aws-dynamodb.Table","@aws-cdk/aws-dynamodb.TableProps","constructs.Construct"],"fullSource":"// Fixture with packages imported, but nothing else\nimport { Construct } from 'constructs';\nimport { RemovalPolicy, Stack } from '@aws-cdk/core';\nimport appsync = require('@aws-cdk/aws-appsync');\nimport ec2 = require('@aws-cdk/aws-ec2');\nimport dynamodb = require('@aws-cdk/aws-dynamodb');\nimport iam = require('@aws-cdk/aws-iam');\nimport rds = require('@aws-cdk/aws-rds');\nimport path = require('path');\n\nclass Fixture extends Stack {\n constructor(scope: Construct, id: string) {\n super(scope, id);\n // Code snippet begins after !show marker below\n/// !show\nconst api = new appsync.GraphqlApi(this, 'Api', {\n name: 'demo',\n schema: appsync.Schema.fromAsset(path.join(__dirname, 'schema.graphql')),\n authorizationConfig: {\n defaultAuthorization: {\n authorizationType: appsync.AuthorizationType.IAM,\n },\n },\n xrayEnabled: true,\n});\n\nconst demoTable = new dynamodb.Table(this, 'DemoTable', {\n partitionKey: {\n name: 'id',\n type: dynamodb.AttributeType.STRING,\n },\n});\n\nconst demoDS = api.addDynamoDbDataSource('demoDataSource', demoTable);\n\n// Resolver for the Query \"getDemos\" that scans the DynamoDb table and returns the entire list.\ndemoDS.createResolver({\n typeName: 'Query',\n fieldName: 'getDemos',\n requestMappingTemplate: appsync.MappingTemplate.dynamoDbScanTable(),\n responseMappingTemplate: appsync.MappingTemplate.dynamoDbResultList(),\n});\n\n// Resolver for the Mutation \"addDemo\" that puts the item into the DynamoDb table.\ndemoDS.createResolver({\n typeName: 'Mutation',\n fieldName: 'addDemo',\n requestMappingTemplate: appsync.MappingTemplate.dynamoDbPutItem(\n appsync.PrimaryKey.partition('id').auto(),\n appsync.Values.projecting('input'),\n ),\n responseMappingTemplate: appsync.MappingTemplate.dynamoDbResultItem(),\n});\n/// !hide\n// Code snippet ended before !hide marker above\n }\n}\n","syntaxKindCounter":{"10":12,"75":62,"104":2,"106":1,"193":7,"194":25,"196":12,"197":2,"225":3,"226":2,"242":3,"243":3,"281":17},"fqnsFingerprint":"5e70d7ba2ab2d468126c46d474cb1c8201cf1abcfcdb9adfd0c3a8c047de1b0e"},"f81b12d4c51b39019fec39f85cc306a760fe2d1ebacaddadf8c28ea8e24b07af":{"translations":{"python":{"source":"# The code below shows an example of how to instantiate this type.\n# The values are placeholders you should change.\nimport aws_cdk.aws_appsync as appsync\n\n# assign: appsync.Assign\n\nattribute_values_step = appsync.AttributeValuesStep(\"attr\", \"container\", [assign])","version":"2"},"csharp":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nusing Amazon.CDK.AWS.AppSync;\n\nAssign assign;\n\nvar attributeValuesStep = new AttributeValuesStep(\"attr\", \"container\", new [] { assign });","version":"1"},"java":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport software.amazon.awscdk.services.appsync.*;\n\nAssign assign;\n\nAttributeValuesStep attributeValuesStep = new AttributeValuesStep(\"attr\", \"container\", List.of(assign));","version":"1"},"go":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport appsync \"github.com/aws-samples/dummy/awscdkawsappsync\"\n\nvar assign assign\n\nattributeValuesStep := appsync.NewAttributeValuesStep(jsii.String(\"attr\"), jsii.String(\"container\"), []assign{\n\tassign,\n})","version":"1"},"$":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as appsync from '@aws-cdk/aws-appsync';\n\ndeclare const assign: appsync.Assign;\nconst attributeValuesStep = new appsync.AttributeValuesStep('attr', 'container', [assign]);","version":"0"}},"location":{"api":{"api":"type","fqn":"@aws-cdk/aws-appsync.AttributeValuesStep"},"field":{"field":"example"}},"didCompile":true,"fqnsReferenced":["@aws-cdk/aws-appsync.AttributeValuesStep"],"fullSource":"// Hoisted imports begin after !show marker below\n/// !show\n// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as appsync from '@aws-cdk/aws-appsync';\n\ndeclare const assign: appsync.Assign;\n/// !hide\n// Hoisted imports ended before !hide marker above\nimport { Construct } from \"@aws-cdk/core\";\nclass MyConstruct extends Construct {\nconstructor(scope: Construct, id: string) {\nsuper(scope, id);\n// Code snippet begins after !show marker below\n/// !show\n\nconst attributeValuesStep = new appsync.AttributeValuesStep('attr', 'container', [assign]);\n/// !hide\n// Code snippet ended before !hide marker above\n} }","syntaxKindCounter":{"10":3,"75":8,"130":1,"153":1,"169":1,"192":1,"194":1,"197":1,"225":2,"242":2,"243":2,"254":1,"255":1,"256":1,"290":1},"fqnsFingerprint":"bf7f4d0acb3bd22e5c32139ca5a96a3a174def662a4d9c567ab7a24af2643f82"},"6adbb24aec4f8c0adc9d9b60d069cc0b7573d9b0e1a6d3a6663a917463d5d8bc":{"translations":{"python":{"source":"api = appsync.GraphqlApi(self, \"Api\",\n name=\"demo\",\n schema=appsync.Schema.from_asset(path.join(__dirname, \"schema.graphql\")),\n authorization_config=appsync.AuthorizationConfig(\n default_authorization=appsync.AuthorizationMode(\n authorization_type=appsync.AuthorizationType.IAM\n )\n ),\n xray_enabled=True\n)\n\ndemo_table = dynamodb.Table(self, \"DemoTable\",\n partition_key=dynamodb.Attribute(\n name=\"id\",\n type=dynamodb.AttributeType.STRING\n )\n)\n\ndemo_dS = api.add_dynamo_db_data_source(\"demoDataSource\", demo_table)\n\n# Resolver for the Query \"getDemos\" that scans the DynamoDb table and returns the entire list.\ndemo_dS.create_resolver(\n type_name=\"Query\",\n field_name=\"getDemos\",\n request_mapping_template=appsync.MappingTemplate.dynamo_db_scan_table(),\n response_mapping_template=appsync.MappingTemplate.dynamo_db_result_list()\n)\n\n# Resolver for the Mutation \"addDemo\" that puts the item into the DynamoDb table.\ndemo_dS.create_resolver(\n type_name=\"Mutation\",\n field_name=\"addDemo\",\n request_mapping_template=appsync.MappingTemplate.dynamo_db_put_item(\n appsync.PrimaryKey.partition(\"id\").auto(),\n appsync.Values.projecting(\"input\")),\n response_mapping_template=appsync.MappingTemplate.dynamo_db_result_item()\n)","version":"2"},"csharp":{"source":"var api = new GraphqlApi(this, \"Api\", new GraphqlApiProps {\n Name = \"demo\",\n Schema = Schema.FromAsset(Join(__dirname, \"schema.graphql\")),\n AuthorizationConfig = new AuthorizationConfig {\n DefaultAuthorization = new AuthorizationMode {\n AuthorizationType = AuthorizationType.IAM\n }\n },\n XrayEnabled = true\n});\n\nvar demoTable = new Table(this, \"DemoTable\", new TableProps {\n PartitionKey = new Attribute {\n Name = \"id\",\n Type = AttributeType.STRING\n }\n});\n\nvar demoDS = api.AddDynamoDbDataSource(\"demoDataSource\", demoTable);\n\n// Resolver for the Query \"getDemos\" that scans the DynamoDb table and returns the entire list.\ndemoDS.CreateResolver(new BaseResolverProps {\n TypeName = \"Query\",\n FieldName = \"getDemos\",\n RequestMappingTemplate = MappingTemplate.DynamoDbScanTable(),\n ResponseMappingTemplate = MappingTemplate.DynamoDbResultList()\n});\n\n// Resolver for the Mutation \"addDemo\" that puts the item into the DynamoDb table.\ndemoDS.CreateResolver(new BaseResolverProps {\n TypeName = \"Mutation\",\n FieldName = \"addDemo\",\n RequestMappingTemplate = MappingTemplate.DynamoDbPutItem(PrimaryKey.Partition(\"id\").Auto(), Values.Projecting(\"input\")),\n ResponseMappingTemplate = MappingTemplate.DynamoDbResultItem()\n});","version":"1"},"java":{"source":"GraphqlApi api = GraphqlApi.Builder.create(this, \"Api\")\n .name(\"demo\")\n .schema(Schema.fromAsset(join(__dirname, \"schema.graphql\")))\n .authorizationConfig(AuthorizationConfig.builder()\n .defaultAuthorization(AuthorizationMode.builder()\n .authorizationType(AuthorizationType.IAM)\n .build())\n .build())\n .xrayEnabled(true)\n .build();\n\nTable demoTable = Table.Builder.create(this, \"DemoTable\")\n .partitionKey(Attribute.builder()\n .name(\"id\")\n .type(AttributeType.STRING)\n .build())\n .build();\n\nDynamoDbDataSource demoDS = api.addDynamoDbDataSource(\"demoDataSource\", demoTable);\n\n// Resolver for the Query \"getDemos\" that scans the DynamoDb table and returns the entire list.\ndemoDS.createResolver(BaseResolverProps.builder()\n .typeName(\"Query\")\n .fieldName(\"getDemos\")\n .requestMappingTemplate(MappingTemplate.dynamoDbScanTable())\n .responseMappingTemplate(MappingTemplate.dynamoDbResultList())\n .build());\n\n// Resolver for the Mutation \"addDemo\" that puts the item into the DynamoDb table.\ndemoDS.createResolver(BaseResolverProps.builder()\n .typeName(\"Mutation\")\n .fieldName(\"addDemo\")\n .requestMappingTemplate(MappingTemplate.dynamoDbPutItem(PrimaryKey.partition(\"id\").auto(), Values.projecting(\"input\")))\n .responseMappingTemplate(MappingTemplate.dynamoDbResultItem())\n .build());","version":"1"},"go":{"source":"api := appsync.NewGraphqlApi(this, jsii.String(\"Api\"), &GraphqlApiProps{\n\tName: jsii.String(\"demo\"),\n\tSchema: appsync.Schema_FromAsset(path.join(__dirname, jsii.String(\"schema.graphql\"))),\n\tAuthorizationConfig: &AuthorizationConfig{\n\t\tDefaultAuthorization: &AuthorizationMode{\n\t\t\tAuthorizationType: appsync.AuthorizationType_IAM,\n\t\t},\n\t},\n\tXrayEnabled: jsii.Boolean(true),\n})\n\ndemoTable := dynamodb.NewTable(this, jsii.String(\"DemoTable\"), &TableProps{\n\tPartitionKey: &Attribute{\n\t\tName: jsii.String(\"id\"),\n\t\tType: dynamodb.AttributeType_STRING,\n\t},\n})\n\ndemoDS := api.AddDynamoDbDataSource(jsii.String(\"demoDataSource\"), demoTable)\n\n// Resolver for the Query \"getDemos\" that scans the DynamoDb table and returns the entire list.\ndemoDS.CreateResolver(&BaseResolverProps{\n\tTypeName: jsii.String(\"Query\"),\n\tFieldName: jsii.String(\"getDemos\"),\n\tRequestMappingTemplate: appsync.MappingTemplate_DynamoDbScanTable(),\n\tResponseMappingTemplate: appsync.MappingTemplate_DynamoDbResultList(),\n})\n\n// Resolver for the Mutation \"addDemo\" that puts the item into the DynamoDb table.\ndemoDS.CreateResolver(&BaseResolverProps{\n\tTypeName: jsii.String(\"Mutation\"),\n\tFieldName: jsii.String(\"addDemo\"),\n\tRequestMappingTemplate: appsync.MappingTemplate_DynamoDbPutItem(appsync.PrimaryKey_Partition(jsii.String(\"id\")).Auto(), appsync.Values_Projecting(jsii.String(\"input\"))),\n\tResponseMappingTemplate: appsync.MappingTemplate_DynamoDbResultItem(),\n})","version":"1"},"$":{"source":"const api = new appsync.GraphqlApi(this, 'Api', {\n name: 'demo',\n schema: appsync.Schema.fromAsset(path.join(__dirname, 'schema.graphql')),\n authorizationConfig: {\n defaultAuthorization: {\n authorizationType: appsync.AuthorizationType.IAM,\n },\n },\n xrayEnabled: true,\n});\n\nconst demoTable = new dynamodb.Table(this, 'DemoTable', {\n partitionKey: {\n name: 'id',\n type: dynamodb.AttributeType.STRING,\n },\n});\n\nconst demoDS = api.addDynamoDbDataSource('demoDataSource', demoTable);\n\n// Resolver for the Query \"getDemos\" that scans the DynamoDb table and returns the entire list.\ndemoDS.createResolver({\n typeName: 'Query',\n fieldName: 'getDemos',\n requestMappingTemplate: appsync.MappingTemplate.dynamoDbScanTable(),\n responseMappingTemplate: appsync.MappingTemplate.dynamoDbResultList(),\n});\n\n// Resolver for the Mutation \"addDemo\" that puts the item into the DynamoDb table.\ndemoDS.createResolver({\n typeName: 'Mutation',\n fieldName: 'addDemo',\n requestMappingTemplate: appsync.MappingTemplate.dynamoDbPutItem(\n appsync.PrimaryKey.partition('id').auto(),\n appsync.Values.projecting('input'),\n ),\n responseMappingTemplate: appsync.MappingTemplate.dynamoDbResultItem(),\n});","version":"0"}},"location":{"api":{"api":"type","fqn":"@aws-cdk/aws-appsync.AuthorizationConfig"},"field":{"field":"example"}},"didCompile":true,"fqnsReferenced":["@aws-cdk/aws-appsync.AttributeValues","@aws-cdk/aws-appsync.AuthorizationConfig","@aws-cdk/aws-appsync.AuthorizationMode","@aws-cdk/aws-appsync.AuthorizationType","@aws-cdk/aws-appsync.AuthorizationType#IAM","@aws-cdk/aws-appsync.BaseDataSource#createResolver","@aws-cdk/aws-appsync.BaseResolverProps","@aws-cdk/aws-appsync.DynamoDbDataSource","@aws-cdk/aws-appsync.GraphqlApi","@aws-cdk/aws-appsync.GraphqlApiBase#addDynamoDbDataSource","@aws-cdk/aws-appsync.GraphqlApiProps","@aws-cdk/aws-appsync.MappingTemplate","@aws-cdk/aws-appsync.MappingTemplate#dynamoDbPutItem","@aws-cdk/aws-appsync.MappingTemplate#dynamoDbResultItem","@aws-cdk/aws-appsync.MappingTemplate#dynamoDbResultList","@aws-cdk/aws-appsync.MappingTemplate#dynamoDbScanTable","@aws-cdk/aws-appsync.PartitionKeyStep#auto","@aws-cdk/aws-appsync.PrimaryKey","@aws-cdk/aws-appsync.PrimaryKey#partition","@aws-cdk/aws-appsync.Schema","@aws-cdk/aws-appsync.Schema#fromAsset","@aws-cdk/aws-appsync.Values","@aws-cdk/aws-appsync.Values#projecting","@aws-cdk/aws-dynamodb.Attribute","@aws-cdk/aws-dynamodb.AttributeType","@aws-cdk/aws-dynamodb.AttributeType#STRING","@aws-cdk/aws-dynamodb.ITable","@aws-cdk/aws-dynamodb.Table","@aws-cdk/aws-dynamodb.TableProps","constructs.Construct"],"fullSource":"// Fixture with packages imported, but nothing else\nimport { Construct } from 'constructs';\nimport { RemovalPolicy, Stack } from '@aws-cdk/core';\nimport appsync = require('@aws-cdk/aws-appsync');\nimport ec2 = require('@aws-cdk/aws-ec2');\nimport dynamodb = require('@aws-cdk/aws-dynamodb');\nimport iam = require('@aws-cdk/aws-iam');\nimport rds = require('@aws-cdk/aws-rds');\nimport path = require('path');\n\nclass Fixture extends Stack {\n constructor(scope: Construct, id: string) {\n super(scope, id);\n // Code snippet begins after !show marker below\n/// !show\nconst api = new appsync.GraphqlApi(this, 'Api', {\n name: 'demo',\n schema: appsync.Schema.fromAsset(path.join(__dirname, 'schema.graphql')),\n authorizationConfig: {\n defaultAuthorization: {\n authorizationType: appsync.AuthorizationType.IAM,\n },\n },\n xrayEnabled: true,\n});\n\nconst demoTable = new dynamodb.Table(this, 'DemoTable', {\n partitionKey: {\n name: 'id',\n type: dynamodb.AttributeType.STRING,\n },\n});\n\nconst demoDS = api.addDynamoDbDataSource('demoDataSource', demoTable);\n\n// Resolver for the Query \"getDemos\" that scans the DynamoDb table and returns the entire list.\ndemoDS.createResolver({\n typeName: 'Query',\n fieldName: 'getDemos',\n requestMappingTemplate: appsync.MappingTemplate.dynamoDbScanTable(),\n responseMappingTemplate: appsync.MappingTemplate.dynamoDbResultList(),\n});\n\n// Resolver for the Mutation \"addDemo\" that puts the item into the DynamoDb table.\ndemoDS.createResolver({\n typeName: 'Mutation',\n fieldName: 'addDemo',\n requestMappingTemplate: appsync.MappingTemplate.dynamoDbPutItem(\n appsync.PrimaryKey.partition('id').auto(),\n appsync.Values.projecting('input'),\n ),\n responseMappingTemplate: appsync.MappingTemplate.dynamoDbResultItem(),\n});\n/// !hide\n// Code snippet ended before !hide marker above\n }\n}\n","syntaxKindCounter":{"10":12,"75":62,"104":2,"106":1,"193":7,"194":25,"196":12,"197":2,"225":3,"226":2,"242":3,"243":3,"281":17},"fqnsFingerprint":"5e70d7ba2ab2d468126c46d474cb1c8201cf1abcfcdb9adfd0c3a8c047de1b0e"},"615a6d24b9c08e07de97a3e2eb5b77fc44da9760f175a26b6e99a094897a6dff":{"translations":{"python":{"source":"api = appsync.GraphqlApi(self, \"Api\",\n name=\"demo\",\n schema=appsync.Schema.from_asset(path.join(__dirname, \"schema.graphql\")),\n authorization_config=appsync.AuthorizationConfig(\n default_authorization=appsync.AuthorizationMode(\n authorization_type=appsync.AuthorizationType.IAM\n )\n ),\n xray_enabled=True\n)\n\ndemo_table = dynamodb.Table(self, \"DemoTable\",\n partition_key=dynamodb.Attribute(\n name=\"id\",\n type=dynamodb.AttributeType.STRING\n )\n)\n\ndemo_dS = api.add_dynamo_db_data_source(\"demoDataSource\", demo_table)\n\n# Resolver for the Query \"getDemos\" that scans the DynamoDb table and returns the entire list.\ndemo_dS.create_resolver(\n type_name=\"Query\",\n field_name=\"getDemos\",\n request_mapping_template=appsync.MappingTemplate.dynamo_db_scan_table(),\n response_mapping_template=appsync.MappingTemplate.dynamo_db_result_list()\n)\n\n# Resolver for the Mutation \"addDemo\" that puts the item into the DynamoDb table.\ndemo_dS.create_resolver(\n type_name=\"Mutation\",\n field_name=\"addDemo\",\n request_mapping_template=appsync.MappingTemplate.dynamo_db_put_item(\n appsync.PrimaryKey.partition(\"id\").auto(),\n appsync.Values.projecting(\"input\")),\n response_mapping_template=appsync.MappingTemplate.dynamo_db_result_item()\n)","version":"2"},"csharp":{"source":"var api = new GraphqlApi(this, \"Api\", new GraphqlApiProps {\n Name = \"demo\",\n Schema = Schema.FromAsset(Join(__dirname, \"schema.graphql\")),\n AuthorizationConfig = new AuthorizationConfig {\n DefaultAuthorization = new AuthorizationMode {\n AuthorizationType = AuthorizationType.IAM\n }\n },\n XrayEnabled = true\n});\n\nvar demoTable = new Table(this, \"DemoTable\", new TableProps {\n PartitionKey = new Attribute {\n Name = \"id\",\n Type = AttributeType.STRING\n }\n});\n\nvar demoDS = api.AddDynamoDbDataSource(\"demoDataSource\", demoTable);\n\n// Resolver for the Query \"getDemos\" that scans the DynamoDb table and returns the entire list.\ndemoDS.CreateResolver(new BaseResolverProps {\n TypeName = \"Query\",\n FieldName = \"getDemos\",\n RequestMappingTemplate = MappingTemplate.DynamoDbScanTable(),\n ResponseMappingTemplate = MappingTemplate.DynamoDbResultList()\n});\n\n// Resolver for the Mutation \"addDemo\" that puts the item into the DynamoDb table.\ndemoDS.CreateResolver(new BaseResolverProps {\n TypeName = \"Mutation\",\n FieldName = \"addDemo\",\n RequestMappingTemplate = MappingTemplate.DynamoDbPutItem(PrimaryKey.Partition(\"id\").Auto(), Values.Projecting(\"input\")),\n ResponseMappingTemplate = MappingTemplate.DynamoDbResultItem()\n});","version":"1"},"java":{"source":"GraphqlApi api = GraphqlApi.Builder.create(this, \"Api\")\n .name(\"demo\")\n .schema(Schema.fromAsset(join(__dirname, \"schema.graphql\")))\n .authorizationConfig(AuthorizationConfig.builder()\n .defaultAuthorization(AuthorizationMode.builder()\n .authorizationType(AuthorizationType.IAM)\n .build())\n .build())\n .xrayEnabled(true)\n .build();\n\nTable demoTable = Table.Builder.create(this, \"DemoTable\")\n .partitionKey(Attribute.builder()\n .name(\"id\")\n .type(AttributeType.STRING)\n .build())\n .build();\n\nDynamoDbDataSource demoDS = api.addDynamoDbDataSource(\"demoDataSource\", demoTable);\n\n// Resolver for the Query \"getDemos\" that scans the DynamoDb table and returns the entire list.\ndemoDS.createResolver(BaseResolverProps.builder()\n .typeName(\"Query\")\n .fieldName(\"getDemos\")\n .requestMappingTemplate(MappingTemplate.dynamoDbScanTable())\n .responseMappingTemplate(MappingTemplate.dynamoDbResultList())\n .build());\n\n// Resolver for the Mutation \"addDemo\" that puts the item into the DynamoDb table.\ndemoDS.createResolver(BaseResolverProps.builder()\n .typeName(\"Mutation\")\n .fieldName(\"addDemo\")\n .requestMappingTemplate(MappingTemplate.dynamoDbPutItem(PrimaryKey.partition(\"id\").auto(), Values.projecting(\"input\")))\n .responseMappingTemplate(MappingTemplate.dynamoDbResultItem())\n .build());","version":"1"},"go":{"source":"api := appsync.NewGraphqlApi(this, jsii.String(\"Api\"), &GraphqlApiProps{\n\tName: jsii.String(\"demo\"),\n\tSchema: appsync.Schema_FromAsset(path.join(__dirname, jsii.String(\"schema.graphql\"))),\n\tAuthorizationConfig: &AuthorizationConfig{\n\t\tDefaultAuthorization: &AuthorizationMode{\n\t\t\tAuthorizationType: appsync.AuthorizationType_IAM,\n\t\t},\n\t},\n\tXrayEnabled: jsii.Boolean(true),\n})\n\ndemoTable := dynamodb.NewTable(this, jsii.String(\"DemoTable\"), &TableProps{\n\tPartitionKey: &Attribute{\n\t\tName: jsii.String(\"id\"),\n\t\tType: dynamodb.AttributeType_STRING,\n\t},\n})\n\ndemoDS := api.AddDynamoDbDataSource(jsii.String(\"demoDataSource\"), demoTable)\n\n// Resolver for the Query \"getDemos\" that scans the DynamoDb table and returns the entire list.\ndemoDS.CreateResolver(&BaseResolverProps{\n\tTypeName: jsii.String(\"Query\"),\n\tFieldName: jsii.String(\"getDemos\"),\n\tRequestMappingTemplate: appsync.MappingTemplate_DynamoDbScanTable(),\n\tResponseMappingTemplate: appsync.MappingTemplate_DynamoDbResultList(),\n})\n\n// Resolver for the Mutation \"addDemo\" that puts the item into the DynamoDb table.\ndemoDS.CreateResolver(&BaseResolverProps{\n\tTypeName: jsii.String(\"Mutation\"),\n\tFieldName: jsii.String(\"addDemo\"),\n\tRequestMappingTemplate: appsync.MappingTemplate_DynamoDbPutItem(appsync.PrimaryKey_Partition(jsii.String(\"id\")).Auto(), appsync.Values_Projecting(jsii.String(\"input\"))),\n\tResponseMappingTemplate: appsync.MappingTemplate_DynamoDbResultItem(),\n})","version":"1"},"$":{"source":"const api = new appsync.GraphqlApi(this, 'Api', {\n name: 'demo',\n schema: appsync.Schema.fromAsset(path.join(__dirname, 'schema.graphql')),\n authorizationConfig: {\n defaultAuthorization: {\n authorizationType: appsync.AuthorizationType.IAM,\n },\n },\n xrayEnabled: true,\n});\n\nconst demoTable = new dynamodb.Table(this, 'DemoTable', {\n partitionKey: {\n name: 'id',\n type: dynamodb.AttributeType.STRING,\n },\n});\n\nconst demoDS = api.addDynamoDbDataSource('demoDataSource', demoTable);\n\n// Resolver for the Query \"getDemos\" that scans the DynamoDb table and returns the entire list.\ndemoDS.createResolver({\n typeName: 'Query',\n fieldName: 'getDemos',\n requestMappingTemplate: appsync.MappingTemplate.dynamoDbScanTable(),\n responseMappingTemplate: appsync.MappingTemplate.dynamoDbResultList(),\n});\n\n// Resolver for the Mutation \"addDemo\" that puts the item into the DynamoDb table.\ndemoDS.createResolver({\n typeName: 'Mutation',\n fieldName: 'addDemo',\n requestMappingTemplate: appsync.MappingTemplate.dynamoDbPutItem(\n appsync.PrimaryKey.partition('id').auto(),\n appsync.Values.projecting('input'),\n ),\n responseMappingTemplate: appsync.MappingTemplate.dynamoDbResultItem(),\n});","version":"0"}},"location":{"api":{"api":"type","fqn":"@aws-cdk/aws-appsync.AuthorizationMode"},"field":{"field":"example"}},"didCompile":true,"fqnsReferenced":["@aws-cdk/aws-appsync.AttributeValues","@aws-cdk/aws-appsync.AuthorizationConfig","@aws-cdk/aws-appsync.AuthorizationMode","@aws-cdk/aws-appsync.AuthorizationType","@aws-cdk/aws-appsync.AuthorizationType#IAM","@aws-cdk/aws-appsync.BaseDataSource#createResolver","@aws-cdk/aws-appsync.BaseResolverProps","@aws-cdk/aws-appsync.DynamoDbDataSource","@aws-cdk/aws-appsync.GraphqlApi","@aws-cdk/aws-appsync.GraphqlApiBase#addDynamoDbDataSource","@aws-cdk/aws-appsync.GraphqlApiProps","@aws-cdk/aws-appsync.MappingTemplate","@aws-cdk/aws-appsync.MappingTemplate#dynamoDbPutItem","@aws-cdk/aws-appsync.MappingTemplate#dynamoDbResultItem","@aws-cdk/aws-appsync.MappingTemplate#dynamoDbResultList","@aws-cdk/aws-appsync.MappingTemplate#dynamoDbScanTable","@aws-cdk/aws-appsync.PartitionKeyStep#auto","@aws-cdk/aws-appsync.PrimaryKey","@aws-cdk/aws-appsync.PrimaryKey#partition","@aws-cdk/aws-appsync.Schema","@aws-cdk/aws-appsync.Schema#fromAsset","@aws-cdk/aws-appsync.Values","@aws-cdk/aws-appsync.Values#projecting","@aws-cdk/aws-dynamodb.Attribute","@aws-cdk/aws-dynamodb.AttributeType","@aws-cdk/aws-dynamodb.AttributeType#STRING","@aws-cdk/aws-dynamodb.ITable","@aws-cdk/aws-dynamodb.Table","@aws-cdk/aws-dynamodb.TableProps","constructs.Construct"],"fullSource":"// Fixture with packages imported, but nothing else\nimport { Construct } from 'constructs';\nimport { RemovalPolicy, Stack } from '@aws-cdk/core';\nimport appsync = require('@aws-cdk/aws-appsync');\nimport ec2 = require('@aws-cdk/aws-ec2');\nimport dynamodb = require('@aws-cdk/aws-dynamodb');\nimport iam = require('@aws-cdk/aws-iam');\nimport rds = require('@aws-cdk/aws-rds');\nimport path = require('path');\n\nclass Fixture extends Stack {\n constructor(scope: Construct, id: string) {\n super(scope, id);\n // Code snippet begins after !show marker below\n/// !show\nconst api = new appsync.GraphqlApi(this, 'Api', {\n name: 'demo',\n schema: appsync.Schema.fromAsset(path.join(__dirname, 'schema.graphql')),\n authorizationConfig: {\n defaultAuthorization: {\n authorizationType: appsync.AuthorizationType.IAM,\n },\n },\n xrayEnabled: true,\n});\n\nconst demoTable = new dynamodb.Table(this, 'DemoTable', {\n partitionKey: {\n name: 'id',\n type: dynamodb.AttributeType.STRING,\n },\n});\n\nconst demoDS = api.addDynamoDbDataSource('demoDataSource', demoTable);\n\n// Resolver for the Query \"getDemos\" that scans the DynamoDb table and returns the entire list.\ndemoDS.createResolver({\n typeName: 'Query',\n fieldName: 'getDemos',\n requestMappingTemplate: appsync.MappingTemplate.dynamoDbScanTable(),\n responseMappingTemplate: appsync.MappingTemplate.dynamoDbResultList(),\n});\n\n// Resolver for the Mutation \"addDemo\" that puts the item into the DynamoDb table.\ndemoDS.createResolver({\n typeName: 'Mutation',\n fieldName: 'addDemo',\n requestMappingTemplate: appsync.MappingTemplate.dynamoDbPutItem(\n appsync.PrimaryKey.partition('id').auto(),\n appsync.Values.projecting('input'),\n ),\n responseMappingTemplate: appsync.MappingTemplate.dynamoDbResultItem(),\n});\n/// !hide\n// Code snippet ended before !hide marker above\n }\n}\n","syntaxKindCounter":{"10":12,"75":62,"104":2,"106":1,"193":7,"194":25,"196":12,"197":2,"225":3,"226":2,"242":3,"243":3,"281":17},"fqnsFingerprint":"5e70d7ba2ab2d468126c46d474cb1c8201cf1abcfcdb9adfd0c3a8c047de1b0e"},"f88041cec316bbe48b4dcba96f342637ff752b17ef94ab7b381a7f362d695983":{"translations":{"python":{"source":"api = appsync.GraphqlApi(self, \"Api\",\n name=\"demo\",\n schema=appsync.Schema.from_asset(path.join(__dirname, \"schema.graphql\")),\n authorization_config=appsync.AuthorizationConfig(\n default_authorization=appsync.AuthorizationMode(\n authorization_type=appsync.AuthorizationType.IAM\n )\n ),\n xray_enabled=True\n)\n\ndemo_table = dynamodb.Table(self, \"DemoTable\",\n partition_key=dynamodb.Attribute(\n name=\"id\",\n type=dynamodb.AttributeType.STRING\n )\n)\n\ndemo_dS = api.add_dynamo_db_data_source(\"demoDataSource\", demo_table)\n\n# Resolver for the Query \"getDemos\" that scans the DynamoDb table and returns the entire list.\ndemo_dS.create_resolver(\n type_name=\"Query\",\n field_name=\"getDemos\",\n request_mapping_template=appsync.MappingTemplate.dynamo_db_scan_table(),\n response_mapping_template=appsync.MappingTemplate.dynamo_db_result_list()\n)\n\n# Resolver for the Mutation \"addDemo\" that puts the item into the DynamoDb table.\ndemo_dS.create_resolver(\n type_name=\"Mutation\",\n field_name=\"addDemo\",\n request_mapping_template=appsync.MappingTemplate.dynamo_db_put_item(\n appsync.PrimaryKey.partition(\"id\").auto(),\n appsync.Values.projecting(\"input\")),\n response_mapping_template=appsync.MappingTemplate.dynamo_db_result_item()\n)","version":"2"},"csharp":{"source":"var api = new GraphqlApi(this, \"Api\", new GraphqlApiProps {\n Name = \"demo\",\n Schema = Schema.FromAsset(Join(__dirname, \"schema.graphql\")),\n AuthorizationConfig = new AuthorizationConfig {\n DefaultAuthorization = new AuthorizationMode {\n AuthorizationType = AuthorizationType.IAM\n }\n },\n XrayEnabled = true\n});\n\nvar demoTable = new Table(this, \"DemoTable\", new TableProps {\n PartitionKey = new Attribute {\n Name = \"id\",\n Type = AttributeType.STRING\n }\n});\n\nvar demoDS = api.AddDynamoDbDataSource(\"demoDataSource\", demoTable);\n\n// Resolver for the Query \"getDemos\" that scans the DynamoDb table and returns the entire list.\ndemoDS.CreateResolver(new BaseResolverProps {\n TypeName = \"Query\",\n FieldName = \"getDemos\",\n RequestMappingTemplate = MappingTemplate.DynamoDbScanTable(),\n ResponseMappingTemplate = MappingTemplate.DynamoDbResultList()\n});\n\n// Resolver for the Mutation \"addDemo\" that puts the item into the DynamoDb table.\ndemoDS.CreateResolver(new BaseResolverProps {\n TypeName = \"Mutation\",\n FieldName = \"addDemo\",\n RequestMappingTemplate = MappingTemplate.DynamoDbPutItem(PrimaryKey.Partition(\"id\").Auto(), Values.Projecting(\"input\")),\n ResponseMappingTemplate = MappingTemplate.DynamoDbResultItem()\n});","version":"1"},"java":{"source":"GraphqlApi api = GraphqlApi.Builder.create(this, \"Api\")\n .name(\"demo\")\n .schema(Schema.fromAsset(join(__dirname, \"schema.graphql\")))\n .authorizationConfig(AuthorizationConfig.builder()\n .defaultAuthorization(AuthorizationMode.builder()\n .authorizationType(AuthorizationType.IAM)\n .build())\n .build())\n .xrayEnabled(true)\n .build();\n\nTable demoTable = Table.Builder.create(this, \"DemoTable\")\n .partitionKey(Attribute.builder()\n .name(\"id\")\n .type(AttributeType.STRING)\n .build())\n .build();\n\nDynamoDbDataSource demoDS = api.addDynamoDbDataSource(\"demoDataSource\", demoTable);\n\n// Resolver for the Query \"getDemos\" that scans the DynamoDb table and returns the entire list.\ndemoDS.createResolver(BaseResolverProps.builder()\n .typeName(\"Query\")\n .fieldName(\"getDemos\")\n .requestMappingTemplate(MappingTemplate.dynamoDbScanTable())\n .responseMappingTemplate(MappingTemplate.dynamoDbResultList())\n .build());\n\n// Resolver for the Mutation \"addDemo\" that puts the item into the DynamoDb table.\ndemoDS.createResolver(BaseResolverProps.builder()\n .typeName(\"Mutation\")\n .fieldName(\"addDemo\")\n .requestMappingTemplate(MappingTemplate.dynamoDbPutItem(PrimaryKey.partition(\"id\").auto(), Values.projecting(\"input\")))\n .responseMappingTemplate(MappingTemplate.dynamoDbResultItem())\n .build());","version":"1"},"go":{"source":"api := appsync.NewGraphqlApi(this, jsii.String(\"Api\"), &GraphqlApiProps{\n\tName: jsii.String(\"demo\"),\n\tSchema: appsync.Schema_FromAsset(path.join(__dirname, jsii.String(\"schema.graphql\"))),\n\tAuthorizationConfig: &AuthorizationConfig{\n\t\tDefaultAuthorization: &AuthorizationMode{\n\t\t\tAuthorizationType: appsync.AuthorizationType_IAM,\n\t\t},\n\t},\n\tXrayEnabled: jsii.Boolean(true),\n})\n\ndemoTable := dynamodb.NewTable(this, jsii.String(\"DemoTable\"), &TableProps{\n\tPartitionKey: &Attribute{\n\t\tName: jsii.String(\"id\"),\n\t\tType: dynamodb.AttributeType_STRING,\n\t},\n})\n\ndemoDS := api.AddDynamoDbDataSource(jsii.String(\"demoDataSource\"), demoTable)\n\n// Resolver for the Query \"getDemos\" that scans the DynamoDb table and returns the entire list.\ndemoDS.CreateResolver(&BaseResolverProps{\n\tTypeName: jsii.String(\"Query\"),\n\tFieldName: jsii.String(\"getDemos\"),\n\tRequestMappingTemplate: appsync.MappingTemplate_DynamoDbScanTable(),\n\tResponseMappingTemplate: appsync.MappingTemplate_DynamoDbResultList(),\n})\n\n// Resolver for the Mutation \"addDemo\" that puts the item into the DynamoDb table.\ndemoDS.CreateResolver(&BaseResolverProps{\n\tTypeName: jsii.String(\"Mutation\"),\n\tFieldName: jsii.String(\"addDemo\"),\n\tRequestMappingTemplate: appsync.MappingTemplate_DynamoDbPutItem(appsync.PrimaryKey_Partition(jsii.String(\"id\")).Auto(), appsync.Values_Projecting(jsii.String(\"input\"))),\n\tResponseMappingTemplate: appsync.MappingTemplate_DynamoDbResultItem(),\n})","version":"1"},"$":{"source":"const api = new appsync.GraphqlApi(this, 'Api', {\n name: 'demo',\n schema: appsync.Schema.fromAsset(path.join(__dirname, 'schema.graphql')),\n authorizationConfig: {\n defaultAuthorization: {\n authorizationType: appsync.AuthorizationType.IAM,\n },\n },\n xrayEnabled: true,\n});\n\nconst demoTable = new dynamodb.Table(this, 'DemoTable', {\n partitionKey: {\n name: 'id',\n type: dynamodb.AttributeType.STRING,\n },\n});\n\nconst demoDS = api.addDynamoDbDataSource('demoDataSource', demoTable);\n\n// Resolver for the Query \"getDemos\" that scans the DynamoDb table and returns the entire list.\ndemoDS.createResolver({\n typeName: 'Query',\n fieldName: 'getDemos',\n requestMappingTemplate: appsync.MappingTemplate.dynamoDbScanTable(),\n responseMappingTemplate: appsync.MappingTemplate.dynamoDbResultList(),\n});\n\n// Resolver for the Mutation \"addDemo\" that puts the item into the DynamoDb table.\ndemoDS.createResolver({\n typeName: 'Mutation',\n fieldName: 'addDemo',\n requestMappingTemplate: appsync.MappingTemplate.dynamoDbPutItem(\n appsync.PrimaryKey.partition('id').auto(),\n appsync.Values.projecting('input'),\n ),\n responseMappingTemplate: appsync.MappingTemplate.dynamoDbResultItem(),\n});","version":"0"}},"location":{"api":{"api":"type","fqn":"@aws-cdk/aws-appsync.AuthorizationType"},"field":{"field":"example"}},"didCompile":true,"fqnsReferenced":["@aws-cdk/aws-appsync.AttributeValues","@aws-cdk/aws-appsync.AuthorizationConfig","@aws-cdk/aws-appsync.AuthorizationMode","@aws-cdk/aws-appsync.AuthorizationType","@aws-cdk/aws-appsync.AuthorizationType#IAM","@aws-cdk/aws-appsync.BaseDataSource#createResolver","@aws-cdk/aws-appsync.BaseResolverProps","@aws-cdk/aws-appsync.DynamoDbDataSource","@aws-cdk/aws-appsync.GraphqlApi","@aws-cdk/aws-appsync.GraphqlApiBase#addDynamoDbDataSource","@aws-cdk/aws-appsync.GraphqlApiProps","@aws-cdk/aws-appsync.MappingTemplate","@aws-cdk/aws-appsync.MappingTemplate#dynamoDbPutItem","@aws-cdk/aws-appsync.MappingTemplate#dynamoDbResultItem","@aws-cdk/aws-appsync.MappingTemplate#dynamoDbResultList","@aws-cdk/aws-appsync.MappingTemplate#dynamoDbScanTable","@aws-cdk/aws-appsync.PartitionKeyStep#auto","@aws-cdk/aws-appsync.PrimaryKey","@aws-cdk/aws-appsync.PrimaryKey#partition","@aws-cdk/aws-appsync.Schema","@aws-cdk/aws-appsync.Schema#fromAsset","@aws-cdk/aws-appsync.Values","@aws-cdk/aws-appsync.Values#projecting","@aws-cdk/aws-dynamodb.Attribute","@aws-cdk/aws-dynamodb.AttributeType","@aws-cdk/aws-dynamodb.AttributeType#STRING","@aws-cdk/aws-dynamodb.ITable","@aws-cdk/aws-dynamodb.Table","@aws-cdk/aws-dynamodb.TableProps","constructs.Construct"],"fullSource":"// Fixture with packages imported, but nothing else\nimport { Construct } from 'constructs';\nimport { RemovalPolicy, Stack } from '@aws-cdk/core';\nimport appsync = require('@aws-cdk/aws-appsync');\nimport ec2 = require('@aws-cdk/aws-ec2');\nimport dynamodb = require('@aws-cdk/aws-dynamodb');\nimport iam = require('@aws-cdk/aws-iam');\nimport rds = require('@aws-cdk/aws-rds');\nimport path = require('path');\n\nclass Fixture extends Stack {\n constructor(scope: Construct, id: string) {\n super(scope, id);\n // Code snippet begins after !show marker below\n/// !show\nconst api = new appsync.GraphqlApi(this, 'Api', {\n name: 'demo',\n schema: appsync.Schema.fromAsset(path.join(__dirname, 'schema.graphql')),\n authorizationConfig: {\n defaultAuthorization: {\n authorizationType: appsync.AuthorizationType.IAM,\n },\n },\n xrayEnabled: true,\n});\n\nconst demoTable = new dynamodb.Table(this, 'DemoTable', {\n partitionKey: {\n name: 'id',\n type: dynamodb.AttributeType.STRING,\n },\n});\n\nconst demoDS = api.addDynamoDbDataSource('demoDataSource', demoTable);\n\n// Resolver for the Query \"getDemos\" that scans the DynamoDb table and returns the entire list.\ndemoDS.createResolver({\n typeName: 'Query',\n fieldName: 'getDemos',\n requestMappingTemplate: appsync.MappingTemplate.dynamoDbScanTable(),\n responseMappingTemplate: appsync.MappingTemplate.dynamoDbResultList(),\n});\n\n// Resolver for the Mutation \"addDemo\" that puts the item into the DynamoDb table.\ndemoDS.createResolver({\n typeName: 'Mutation',\n fieldName: 'addDemo',\n requestMappingTemplate: appsync.MappingTemplate.dynamoDbPutItem(\n appsync.PrimaryKey.partition('id').auto(),\n appsync.Values.projecting('input'),\n ),\n responseMappingTemplate: appsync.MappingTemplate.dynamoDbResultItem(),\n});\n/// !hide\n// Code snippet ended before !hide marker above\n }\n}\n","syntaxKindCounter":{"10":12,"75":62,"104":2,"106":1,"193":7,"194":25,"196":12,"197":2,"225":3,"226":2,"242":3,"243":3,"281":17},"fqnsFingerprint":"5e70d7ba2ab2d468126c46d474cb1c8201cf1abcfcdb9adfd0c3a8c047de1b0e"},"d79a1f95803ca1cc7186cd72dddbaab8db51de27a0d251f840ff8d9f76b0bdf3":{"translations":{"python":{"source":"api = appsync.GraphqlApi(self, \"api\",\n name=\"api\",\n schema=appsync.Schema.from_asset(path.join(__dirname, \"schema.graphql\"))\n)\n\nhttp_ds = api.add_http_data_source(\"ds\", \"https://states.amazonaws.com\",\n name=\"httpDsWithStepF\",\n description=\"from appsync to StepFunctions Workflow\",\n authorization_config=appsync.AwsIamConfig(\n signing_region=\"us-east-1\",\n signing_service_name=\"states\"\n )\n)\n\nhttp_ds.create_resolver(\n type_name=\"Mutation\",\n field_name=\"callStepFunction\",\n request_mapping_template=appsync.MappingTemplate.from_file(\"request.vtl\"),\n response_mapping_template=appsync.MappingTemplate.from_file(\"response.vtl\")\n)","version":"2"},"csharp":{"source":"var api = new GraphqlApi(this, \"api\", new GraphqlApiProps {\n Name = \"api\",\n Schema = Schema.FromAsset(Join(__dirname, \"schema.graphql\"))\n});\n\nvar httpDs = api.AddHttpDataSource(\"ds\", \"https://states.amazonaws.com\", new HttpDataSourceOptions {\n Name = \"httpDsWithStepF\",\n Description = \"from appsync to StepFunctions Workflow\",\n AuthorizationConfig = new AwsIamConfig {\n SigningRegion = \"us-east-1\",\n SigningServiceName = \"states\"\n }\n});\n\nhttpDs.CreateResolver(new BaseResolverProps {\n TypeName = \"Mutation\",\n FieldName = \"callStepFunction\",\n RequestMappingTemplate = MappingTemplate.FromFile(\"request.vtl\"),\n ResponseMappingTemplate = MappingTemplate.FromFile(\"response.vtl\")\n});","version":"1"},"java":{"source":"GraphqlApi api = GraphqlApi.Builder.create(this, \"api\")\n .name(\"api\")\n .schema(Schema.fromAsset(join(__dirname, \"schema.graphql\")))\n .build();\n\nHttpDataSource httpDs = api.addHttpDataSource(\"ds\", \"https://states.amazonaws.com\", HttpDataSourceOptions.builder()\n .name(\"httpDsWithStepF\")\n .description(\"from appsync to StepFunctions Workflow\")\n .authorizationConfig(AwsIamConfig.builder()\n .signingRegion(\"us-east-1\")\n .signingServiceName(\"states\")\n .build())\n .build());\n\nhttpDs.createResolver(BaseResolverProps.builder()\n .typeName(\"Mutation\")\n .fieldName(\"callStepFunction\")\n .requestMappingTemplate(MappingTemplate.fromFile(\"request.vtl\"))\n .responseMappingTemplate(MappingTemplate.fromFile(\"response.vtl\"))\n .build());","version":"1"},"go":{"source":"api := appsync.NewGraphqlApi(this, jsii.String(\"api\"), &GraphqlApiProps{\n\tName: jsii.String(\"api\"),\n\tSchema: appsync.Schema_FromAsset(path.join(__dirname, jsii.String(\"schema.graphql\"))),\n})\n\nhttpDs := api.AddHttpDataSource(jsii.String(\"ds\"), jsii.String(\"https://states.amazonaws.com\"), &HttpDataSourceOptions{\n\tName: jsii.String(\"httpDsWithStepF\"),\n\tDescription: jsii.String(\"from appsync to StepFunctions Workflow\"),\n\tAuthorizationConfig: &AwsIamConfig{\n\t\tSigningRegion: jsii.String(\"us-east-1\"),\n\t\tSigningServiceName: jsii.String(\"states\"),\n\t},\n})\n\nhttpDs.CreateResolver(&BaseResolverProps{\n\tTypeName: jsii.String(\"Mutation\"),\n\tFieldName: jsii.String(\"callStepFunction\"),\n\tRequestMappingTemplate: appsync.MappingTemplate_FromFile(jsii.String(\"request.vtl\")),\n\tResponseMappingTemplate: appsync.MappingTemplate_*FromFile(jsii.String(\"response.vtl\")),\n})","version":"1"},"$":{"source":"const api = new appsync.GraphqlApi(this, 'api', {\n name: 'api',\n schema: appsync.Schema.fromAsset(path.join(__dirname, 'schema.graphql')),\n});\n\nconst httpDs = api.addHttpDataSource(\n 'ds',\n 'https://states.amazonaws.com',\n {\n name: 'httpDsWithStepF',\n description: 'from appsync to StepFunctions Workflow',\n authorizationConfig: {\n signingRegion: 'us-east-1',\n signingServiceName: 'states',\n }\n }\n);\n\nhttpDs.createResolver({\n typeName: 'Mutation',\n fieldName: 'callStepFunction',\n requestMappingTemplate: appsync.MappingTemplate.fromFile('request.vtl'),\n responseMappingTemplate: appsync.MappingTemplate.fromFile('response.vtl'),\n});","version":"0"}},"location":{"api":{"api":"type","fqn":"@aws-cdk/aws-appsync.AwsIamConfig"},"field":{"field":"example"}},"didCompile":true,"fqnsReferenced":["@aws-cdk/aws-appsync.AwsIamConfig","@aws-cdk/aws-appsync.BaseDataSource#createResolver","@aws-cdk/aws-appsync.BaseResolverProps","@aws-cdk/aws-appsync.GraphqlApi","@aws-cdk/aws-appsync.GraphqlApiBase#addHttpDataSource","@aws-cdk/aws-appsync.GraphqlApiProps","@aws-cdk/aws-appsync.HttpDataSource","@aws-cdk/aws-appsync.HttpDataSourceOptions","@aws-cdk/aws-appsync.MappingTemplate","@aws-cdk/aws-appsync.MappingTemplate#fromFile","@aws-cdk/aws-appsync.Schema","@aws-cdk/aws-appsync.Schema#fromAsset","constructs.Construct"],"fullSource":"// Fixture with packages imported, but nothing else\nimport { Construct } from 'constructs';\nimport { RemovalPolicy, Stack } from '@aws-cdk/core';\nimport appsync = require('@aws-cdk/aws-appsync');\nimport ec2 = require('@aws-cdk/aws-ec2');\nimport dynamodb = require('@aws-cdk/aws-dynamodb');\nimport iam = require('@aws-cdk/aws-iam');\nimport rds = require('@aws-cdk/aws-rds');\nimport path = require('path');\n\nclass Fixture extends Stack {\n constructor(scope: Construct, id: string) {\n super(scope, id);\n // Code snippet begins after !show marker below\n/// !show\nconst api = new appsync.GraphqlApi(this, 'api', {\n name: 'api',\n schema: appsync.Schema.fromAsset(path.join(__dirname, 'schema.graphql')),\n});\n\nconst httpDs = api.addHttpDataSource(\n 'ds',\n 'https://states.amazonaws.com',\n {\n name: 'httpDsWithStepF',\n description: 'from appsync to StepFunctions Workflow',\n authorizationConfig: {\n signingRegion: 'us-east-1',\n signingServiceName: 'states',\n }\n }\n);\n\nhttpDs.createResolver({\n typeName: 'Mutation',\n fieldName: 'callStepFunction',\n requestMappingTemplate: appsync.MappingTemplate.fromFile('request.vtl'),\n responseMappingTemplate: appsync.MappingTemplate.fromFile('response.vtl'),\n});\n/// !hide\n// Code snippet ended before !hide marker above\n }\n}\n","syntaxKindCounter":{"10":13,"75":31,"104":1,"193":4,"194":10,"196":6,"197":1,"225":2,"226":1,"242":2,"243":2,"281":11},"fqnsFingerprint":"795f1a985c589204be96efdf628b1bcbf6022ec5528223be236f8b56402cd9dc"},"d7b8ee87f59610da305bb034a53e5a5ede60c6daf171f63d72083a31e003aebd":{"translations":{"python":{"source":"# The code below shows an example of how to instantiate this type.\n# The values are placeholders you should change.\nimport aws_cdk.aws_appsync as appsync\nimport aws_cdk.aws_iam as iam\n\n# graphql_api: appsync.GraphqlApi\n# role: iam.Role\n\nbacked_data_source_props = appsync.BackedDataSourceProps(\n api=graphql_api,\n\n # the properties below are optional\n description=\"description\",\n name=\"name\",\n service_role=role\n)","version":"2"},"csharp":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nusing Amazon.CDK.AWS.AppSync;\nusing Amazon.CDK.AWS.IAM;\n\nGraphqlApi graphqlApi;\nRole role;\n\nvar backedDataSourceProps = new BackedDataSourceProps {\n Api = graphqlApi,\n\n // the properties below are optional\n Description = \"description\",\n Name = \"name\",\n ServiceRole = role\n};","version":"1"},"java":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport software.amazon.awscdk.services.appsync.*;\nimport software.amazon.awscdk.services.iam.*;\n\nGraphqlApi graphqlApi;\nRole role;\n\nBackedDataSourceProps backedDataSourceProps = BackedDataSourceProps.builder()\n .api(graphqlApi)\n\n // the properties below are optional\n .description(\"description\")\n .name(\"name\")\n .serviceRole(role)\n .build();","version":"1"},"go":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport appsync \"github.com/aws-samples/dummy/awscdkawsappsync\"\nimport iam \"github.com/aws-samples/dummy/awscdkawsiam\"\n\nvar graphqlApi graphqlApi\nvar role role\n\nbackedDataSourceProps := &BackedDataSourceProps{\n\tApi: graphqlApi,\n\n\t// the properties below are optional\n\tDescription: jsii.String(\"description\"),\n\tName: jsii.String(\"name\"),\n\tServiceRole: role,\n}","version":"1"},"$":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as appsync from '@aws-cdk/aws-appsync';\nimport * as iam from '@aws-cdk/aws-iam';\n\ndeclare const graphqlApi: appsync.GraphqlApi;\ndeclare const role: iam.Role;\nconst backedDataSourceProps: appsync.BackedDataSourceProps = {\n api: graphqlApi,\n\n // the properties below are optional\n description: 'description',\n name: 'name',\n serviceRole: role,\n};","version":"0"}},"location":{"api":{"api":"type","fqn":"@aws-cdk/aws-appsync.BackedDataSourceProps"},"field":{"field":"example"}},"didCompile":true,"fqnsReferenced":["@aws-cdk/aws-appsync.BackedDataSourceProps","@aws-cdk/aws-appsync.IGraphqlApi","@aws-cdk/aws-iam.IRole"],"fullSource":"// Hoisted imports begin after !show marker below\n/// !show\n// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as appsync from '@aws-cdk/aws-appsync';\nimport * as iam from '@aws-cdk/aws-iam';\n\ndeclare const graphqlApi: appsync.GraphqlApi;\ndeclare const role: iam.Role;\n/// !hide\n// Hoisted imports ended before !hide marker above\nimport { Construct } from \"@aws-cdk/core\";\nclass MyConstruct extends Construct {\nconstructor(scope: Construct, id: string) {\nsuper(scope, id);\n// Code snippet begins after !show marker below\n/// !show\n\nconst backedDataSourceProps: appsync.BackedDataSourceProps = {\n api: graphqlApi,\n\n // the properties below are optional\n description: 'description',\n name: 'name',\n serviceRole: role,\n};\n/// !hide\n// Code snippet ended before !hide marker above\n} }","syntaxKindCounter":{"10":4,"75":17,"130":2,"153":3,"169":3,"193":1,"225":3,"242":3,"243":3,"254":2,"255":2,"256":2,"281":4,"290":1},"fqnsFingerprint":"c7a0aae8fef4a5c5d1dfbe65753dc3cbf036385d47d3bb52481b2b57d402aa14"},"c2b3b320bb0788283aa351dd0378b9502d4b3e922b40f621ff0ee5c4240955d0":{"translations":{"python":{"source":"# The code below shows an example of how to instantiate this type.\n# The values are placeholders you should change.\nimport aws_cdk.aws_appsync as appsync\n\n# mapping_template: appsync.MappingTemplate\n\nbase_appsync_function_props = appsync.BaseAppsyncFunctionProps(\n name=\"name\",\n\n # the properties below are optional\n description=\"description\",\n request_mapping_template=mapping_template,\n response_mapping_template=mapping_template\n)","version":"2"},"csharp":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nusing Amazon.CDK.AWS.AppSync;\n\nMappingTemplate mappingTemplate;\n\nvar baseAppsyncFunctionProps = new BaseAppsyncFunctionProps {\n Name = \"name\",\n\n // the properties below are optional\n Description = \"description\",\n RequestMappingTemplate = mappingTemplate,\n ResponseMappingTemplate = mappingTemplate\n};","version":"1"},"java":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport software.amazon.awscdk.services.appsync.*;\n\nMappingTemplate mappingTemplate;\n\nBaseAppsyncFunctionProps baseAppsyncFunctionProps = BaseAppsyncFunctionProps.builder()\n .name(\"name\")\n\n // the properties below are optional\n .description(\"description\")\n .requestMappingTemplate(mappingTemplate)\n .responseMappingTemplate(mappingTemplate)\n .build();","version":"1"},"go":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport appsync \"github.com/aws-samples/dummy/awscdkawsappsync\"\n\nvar mappingTemplate mappingTemplate\n\nbaseAppsyncFunctionProps := &BaseAppsyncFunctionProps{\n\tName: jsii.String(\"name\"),\n\n\t// the properties below are optional\n\tDescription: jsii.String(\"description\"),\n\tRequestMappingTemplate: mappingTemplate,\n\tResponseMappingTemplate: mappingTemplate,\n}","version":"1"},"$":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as appsync from '@aws-cdk/aws-appsync';\n\ndeclare const mappingTemplate: appsync.MappingTemplate;\nconst baseAppsyncFunctionProps: appsync.BaseAppsyncFunctionProps = {\n name: 'name',\n\n // the properties below are optional\n description: 'description',\n requestMappingTemplate: mappingTemplate,\n responseMappingTemplate: mappingTemplate,\n};","version":"0"}},"location":{"api":{"api":"type","fqn":"@aws-cdk/aws-appsync.BaseAppsyncFunctionProps"},"field":{"field":"example"}},"didCompile":true,"fqnsReferenced":["@aws-cdk/aws-appsync.BaseAppsyncFunctionProps","@aws-cdk/aws-appsync.MappingTemplate"],"fullSource":"// Hoisted imports begin after !show marker below\n/// !show\n// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as appsync from '@aws-cdk/aws-appsync';\n\ndeclare const mappingTemplate: appsync.MappingTemplate;\n/// !hide\n// Hoisted imports ended before !hide marker above\nimport { Construct } from \"@aws-cdk/core\";\nclass MyConstruct extends Construct {\nconstructor(scope: Construct, id: string) {\nsuper(scope, id);\n// Code snippet begins after !show marker below\n/// !show\n\nconst baseAppsyncFunctionProps: appsync.BaseAppsyncFunctionProps = {\n name: 'name',\n\n // the properties below are optional\n description: 'description',\n requestMappingTemplate: mappingTemplate,\n responseMappingTemplate: mappingTemplate,\n};\n/// !hide\n// Code snippet ended before !hide marker above\n} }","syntaxKindCounter":{"10":3,"75":13,"130":1,"153":2,"169":2,"193":1,"225":2,"242":2,"243":2,"254":1,"255":1,"256":1,"281":4,"290":1},"fqnsFingerprint":"b2846679cfc07dcf9d738fbf03f5a30f4b3ddf79c92c4775d61f801a6d63c630"},"22bbb2d3d8cdc5a2129cbb5d2f89b132c8419d51ce9c816e1f56747e17969cd0":{"translations":{"python":{"source":"# api: appsync.GraphqlApi\n# dummy_request: appsync.MappingTemplate\n# dummy_response: appsync.MappingTemplate\n\ninfo = appsync.ObjectType(\"Info\",\n definition={\n \"node\": appsync.ResolvableField(\n return_type=appsync.GraphqlType.string(),\n args={\n \"id\": appsync.GraphqlType.string()\n },\n data_source=api.add_none_data_source(\"none\"),\n request_mapping_template=dummy_request,\n response_mapping_template=dummy_response\n )\n }\n)","version":"2"},"csharp":{"source":"GraphqlApi api;\nMappingTemplate dummyRequest;\nMappingTemplate dummyResponse;\n\nvar info = new ObjectType(\"Info\", new ObjectTypeOptions {\n Definition = new Dictionary {\n { \"node\", new ResolvableField(new ResolvableFieldOptions {\n ReturnType = GraphqlType.String(),\n Args = new Dictionary {\n { \"id\", GraphqlType.String() }\n },\n DataSource = api.AddNoneDataSource(\"none\"),\n RequestMappingTemplate = dummyRequest,\n ResponseMappingTemplate = dummyResponse\n }) }\n }\n});","version":"1"},"java":{"source":"GraphqlApi api;\nMappingTemplate dummyRequest;\nMappingTemplate dummyResponse;\n\nObjectType info = ObjectType.Builder.create(\"Info\")\n .definition(Map.of(\n \"node\", ResolvableField.Builder.create()\n .returnType(GraphqlType.string())\n .args(Map.of(\n \"id\", GraphqlType.string()))\n .dataSource(api.addNoneDataSource(\"none\"))\n .requestMappingTemplate(dummyRequest)\n .responseMappingTemplate(dummyResponse)\n .build()))\n .build();","version":"1"},"go":{"source":"var api graphqlApi\nvar dummyRequest mappingTemplate\nvar dummyResponse mappingTemplate\n\ninfo := appsync.NewObjectType(jsii.String(\"Info\"), &ObjectTypeOptions{\n\tDefinition: map[string]iField{\n\t\t\"node\": appsync.NewResolvableField(&ResolvableFieldOptions{\n\t\t\t\"returnType\": appsync.GraphqlType_string(),\n\t\t\t\"args\": map[string]GraphqlType{\n\t\t\t\t\"id\": appsync.GraphqlType_string(),\n\t\t\t},\n\t\t\t\"dataSource\": api.addNoneDataSource(jsii.String(\"none\")),\n\t\t\t\"requestMappingTemplate\": dummyRequest,\n\t\t\t\"responseMappingTemplate\": dummyResponse,\n\t\t}),\n\t},\n})","version":"1"},"$":{"source":"declare const api: appsync.GraphqlApi;\ndeclare const dummyRequest: appsync.MappingTemplate;\ndeclare const dummyResponse: appsync.MappingTemplate;\nconst info = new appsync.ObjectType('Info', {\n definition: {\n node: new appsync.ResolvableField({\n returnType: appsync.GraphqlType.string(),\n args: {\n id: appsync.GraphqlType.string(),\n },\n dataSource: api.addNoneDataSource('none'),\n requestMappingTemplate: dummyRequest,\n responseMappingTemplate: dummyResponse,\n }),\n },\n});","version":"0"}},"location":{"api":{"api":"type","fqn":"@aws-cdk/aws-appsync.BaseDataSource"},"field":{"field":"example"}},"didCompile":true,"fqnsReferenced":["@aws-cdk/aws-appsync.BaseDataSource","@aws-cdk/aws-appsync.GraphqlApiBase#addNoneDataSource","@aws-cdk/aws-appsync.GraphqlType","@aws-cdk/aws-appsync.GraphqlType#string","@aws-cdk/aws-appsync.IField","@aws-cdk/aws-appsync.MappingTemplate","@aws-cdk/aws-appsync.ObjectType","@aws-cdk/aws-appsync.ObjectTypeOptions","@aws-cdk/aws-appsync.ResolvableField","@aws-cdk/aws-appsync.ResolvableFieldOptions"],"fullSource":"// Hoisted imports begin after !show marker below\n/// !show\ndeclare const api: appsync.GraphqlApi;\ndeclare const dummyRequest: appsync.MappingTemplate;\ndeclare const dummyResponse: appsync.MappingTemplate;\n/// !hide\n// Hoisted imports ended before !hide marker above\n// Fixture with packages imported, but nothing else\nimport { Construct } from 'constructs';\nimport { RemovalPolicy, Stack } from '@aws-cdk/core';\nimport appsync = require('@aws-cdk/aws-appsync');\nimport ec2 = require('@aws-cdk/aws-ec2');\nimport dynamodb = require('@aws-cdk/aws-dynamodb');\nimport iam = require('@aws-cdk/aws-iam');\nimport rds = require('@aws-cdk/aws-rds');\nimport path = require('path');\n\nclass Fixture extends Stack {\n constructor(scope: Construct, id: string) {\n super(scope, id);\n // Code snippet begins after !show marker below\n/// !show\n\nconst info = new appsync.ObjectType('Info', {\n definition: {\n node: new appsync.ResolvableField({\n returnType: appsync.GraphqlType.string(),\n args: {\n id: appsync.GraphqlType.string(),\n },\n dataSource: api.addNoneDataSource('none'),\n requestMappingTemplate: dummyRequest,\n responseMappingTemplate: dummyResponse,\n }),\n },\n});\n/// !hide\n// Code snippet ended before !hide marker above\n }\n}\n","syntaxKindCounter":{"10":2,"75":32,"130":3,"153":3,"169":3,"193":4,"194":7,"196":3,"197":2,"225":4,"242":4,"243":4,"281":8,"290":1},"fqnsFingerprint":"3be3ebaf9507fb3aaab596ab869c6b3d2b14b935150f47b1987de9069d6edd8f"},"1f8ce8d9b45034af68bc7ca5f4ceba3fe3bc5e1a7fead8f93270bd1ae41e8161":{"translations":{"python":{"source":"# The code below shows an example of how to instantiate this type.\n# The values are placeholders you should change.\nimport aws_cdk.aws_appsync as appsync\n\n# graphql_api: appsync.GraphqlApi\n\nbase_data_source_props = appsync.BaseDataSourceProps(\n api=graphql_api,\n\n # the properties below are optional\n description=\"description\",\n name=\"name\"\n)","version":"2"},"csharp":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nusing Amazon.CDK.AWS.AppSync;\n\nGraphqlApi graphqlApi;\n\nvar baseDataSourceProps = new BaseDataSourceProps {\n Api = graphqlApi,\n\n // the properties below are optional\n Description = \"description\",\n Name = \"name\"\n};","version":"1"},"java":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport software.amazon.awscdk.services.appsync.*;\n\nGraphqlApi graphqlApi;\n\nBaseDataSourceProps baseDataSourceProps = BaseDataSourceProps.builder()\n .api(graphqlApi)\n\n // the properties below are optional\n .description(\"description\")\n .name(\"name\")\n .build();","version":"1"},"go":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport appsync \"github.com/aws-samples/dummy/awscdkawsappsync\"\n\nvar graphqlApi graphqlApi\n\nbaseDataSourceProps := &BaseDataSourceProps{\n\tApi: graphqlApi,\n\n\t// the properties below are optional\n\tDescription: jsii.String(\"description\"),\n\tName: jsii.String(\"name\"),\n}","version":"1"},"$":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as appsync from '@aws-cdk/aws-appsync';\n\ndeclare const graphqlApi: appsync.GraphqlApi;\nconst baseDataSourceProps: appsync.BaseDataSourceProps = {\n api: graphqlApi,\n\n // the properties below are optional\n description: 'description',\n name: 'name',\n};","version":"0"}},"location":{"api":{"api":"type","fqn":"@aws-cdk/aws-appsync.BaseDataSourceProps"},"field":{"field":"example"}},"didCompile":true,"fqnsReferenced":["@aws-cdk/aws-appsync.BaseDataSourceProps","@aws-cdk/aws-appsync.IGraphqlApi"],"fullSource":"// Hoisted imports begin after !show marker below\n/// !show\n// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as appsync from '@aws-cdk/aws-appsync';\n\ndeclare const graphqlApi: appsync.GraphqlApi;\n/// !hide\n// Hoisted imports ended before !hide marker above\nimport { Construct } from \"@aws-cdk/core\";\nclass MyConstruct extends Construct {\nconstructor(scope: Construct, id: string) {\nsuper(scope, id);\n// Code snippet begins after !show marker below\n/// !show\n\nconst baseDataSourceProps: appsync.BaseDataSourceProps = {\n api: graphqlApi,\n\n // the properties below are optional\n description: 'description',\n name: 'name',\n};\n/// !hide\n// Code snippet ended before !hide marker above\n} }","syntaxKindCounter":{"10":3,"75":11,"130":1,"153":2,"169":2,"193":1,"225":2,"242":2,"243":2,"254":1,"255":1,"256":1,"281":3,"290":1},"fqnsFingerprint":"a43dbb54f09298d180523f145fca77d1a3b0c1716a681a659407e1ee0cafb02c"},"5951a09c10036a94721337dcbcc7c56d2662bee0cfdf0078d240d7f12656c95b":{"translations":{"python":{"source":"# Build a data source for AppSync to access the database.\n# api: appsync.GraphqlApi\n# Create username and password secret for DB Cluster\nsecret = rds.DatabaseSecret(self, \"AuroraSecret\",\n username=\"clusteradmin\"\n)\n\n# The VPC to place the cluster in\nvpc = ec2.Vpc(self, \"AuroraVpc\")\n\n# Create the serverless cluster, provide all values needed to customise the database.\ncluster = rds.ServerlessCluster(self, \"AuroraCluster\",\n engine=rds.DatabaseClusterEngine.AURORA_MYSQL,\n vpc=vpc,\n credentials={\"username\": \"clusteradmin\"},\n cluster_identifier=\"db-endpoint-test\",\n default_database_name=\"demos\"\n)\nrds_dS = api.add_rds_data_source(\"rds\", cluster, secret, \"demos\")\n\n# Set up a resolver for an RDS query.\nrds_dS.create_resolver(\n type_name=\"Query\",\n field_name=\"getDemosRds\",\n request_mapping_template=appsync.MappingTemplate.from_string(\"\"\"\n {\n \"version\": \"2018-05-29\",\n \"statements\": [\n \"SELECT * FROM demos\"\n ]\n }\n \"\"\"),\n response_mapping_template=appsync.MappingTemplate.from_string(\"\"\"\n $utils.toJson($utils.rds.toJsonObject($ctx.result)[0])\n \"\"\")\n)\n\n# Set up a resolver for an RDS mutation.\nrds_dS.create_resolver(\n type_name=\"Mutation\",\n field_name=\"addDemoRds\",\n request_mapping_template=appsync.MappingTemplate.from_string(\"\"\"\n {\n \"version\": \"2018-05-29\",\n \"statements\": [\n \"INSERT INTO demos VALUES (:id, :version)\",\n \"SELECT * WHERE id = :id\"\n ],\n \"variableMap\": {\n \":id\": $util.toJson($util.autoId()),\n \":version\": $util.toJson($ctx.args.version)\n }\n }\n \"\"\"),\n response_mapping_template=appsync.MappingTemplate.from_string(\"\"\"\n $utils.toJson($utils.rds.toJsonObject($ctx.result)[1][0])\n \"\"\")\n)","version":"2"},"csharp":{"source":"// Build a data source for AppSync to access the database.\nGraphqlApi api;\n// Create username and password secret for DB Cluster\nvar secret = new DatabaseSecret(this, \"AuroraSecret\", new DatabaseSecretProps {\n Username = \"clusteradmin\"\n});\n\n// The VPC to place the cluster in\nvar vpc = new Vpc(this, \"AuroraVpc\");\n\n// Create the serverless cluster, provide all values needed to customise the database.\nvar cluster = new ServerlessCluster(this, \"AuroraCluster\", new ServerlessClusterProps {\n Engine = DatabaseClusterEngine.AURORA_MYSQL,\n Vpc = vpc,\n Credentials = new Dictionary { { \"username\", \"clusteradmin\" } },\n ClusterIdentifier = \"db-endpoint-test\",\n DefaultDatabaseName = \"demos\"\n});\nvar rdsDS = api.AddRdsDataSource(\"rds\", cluster, secret, \"demos\");\n\n// Set up a resolver for an RDS query.\nrdsDS.CreateResolver(new BaseResolverProps {\n TypeName = \"Query\",\n FieldName = \"getDemosRds\",\n RequestMappingTemplate = MappingTemplate.FromString(@\"\n {\n \"\"version\"\": \"\"2018-05-29\"\",\n \"\"statements\"\": [\n \"\"SELECT * FROM demos\"\"\n ]\n }\n \"),\n ResponseMappingTemplate = MappingTemplate.FromString(@\"\n $utils.toJson($utils.rds.toJsonObject($ctx.result)[0])\n \")\n});\n\n// Set up a resolver for an RDS mutation.\nrdsDS.CreateResolver(new BaseResolverProps {\n TypeName = \"Mutation\",\n FieldName = \"addDemoRds\",\n RequestMappingTemplate = MappingTemplate.FromString(@\"\n {\n \"\"version\"\": \"\"2018-05-29\"\",\n \"\"statements\"\": [\n \"\"INSERT INTO demos VALUES (:id, :version)\"\",\n \"\"SELECT * WHERE id = :id\"\"\n ],\n \"\"variableMap\"\": {\n \"\":id\"\": $util.toJson($util.autoId()),\n \"\":version\"\": $util.toJson($ctx.args.version)\n }\n }\n \"),\n ResponseMappingTemplate = MappingTemplate.FromString(@\"\n $utils.toJson($utils.rds.toJsonObject($ctx.result)[1][0])\n \")\n});","version":"1"},"java":{"source":"// Build a data source for AppSync to access the database.\nGraphqlApi api;\n// Create username and password secret for DB Cluster\nDatabaseSecret secret = DatabaseSecret.Builder.create(this, \"AuroraSecret\")\n .username(\"clusteradmin\")\n .build();\n\n// The VPC to place the cluster in\nVpc vpc = new Vpc(this, \"AuroraVpc\");\n\n// Create the serverless cluster, provide all values needed to customise the database.\nServerlessCluster cluster = ServerlessCluster.Builder.create(this, \"AuroraCluster\")\n .engine(DatabaseClusterEngine.AURORA_MYSQL)\n .vpc(vpc)\n .credentials(Map.of(\"username\", \"clusteradmin\"))\n .clusterIdentifier(\"db-endpoint-test\")\n .defaultDatabaseName(\"demos\")\n .build();\nRdsDataSource rdsDS = api.addRdsDataSource(\"rds\", cluster, secret, \"demos\");\n\n// Set up a resolver for an RDS query.\nrdsDS.createResolver(BaseResolverProps.builder()\n .typeName(\"Query\")\n .fieldName(\"getDemosRds\")\n .requestMappingTemplate(MappingTemplate.fromString(\"\\n {\\n \\\"version\\\": \\\"2018-05-29\\\",\\n \\\"statements\\\": [\\n \\\"SELECT * FROM demos\\\"\\n ]\\n }\\n \"))\n .responseMappingTemplate(MappingTemplate.fromString(\"\\n $utils.toJson($utils.rds.toJsonObject($ctx.result)[0])\\n \"))\n .build());\n\n// Set up a resolver for an RDS mutation.\nrdsDS.createResolver(BaseResolverProps.builder()\n .typeName(\"Mutation\")\n .fieldName(\"addDemoRds\")\n .requestMappingTemplate(MappingTemplate.fromString(\"\\n {\\n \\\"version\\\": \\\"2018-05-29\\\",\\n \\\"statements\\\": [\\n \\\"INSERT INTO demos VALUES (:id, :version)\\\",\\n \\\"SELECT * WHERE id = :id\\\"\\n ],\\n \\\"variableMap\\\": {\\n \\\":id\\\": $util.toJson($util.autoId()),\\n \\\":version\\\": $util.toJson($ctx.args.version)\\n }\\n }\\n \"))\n .responseMappingTemplate(MappingTemplate.fromString(\"\\n $utils.toJson($utils.rds.toJsonObject($ctx.result)[1][0])\\n \"))\n .build());","version":"1"},"go":{"source":"// Build a data source for AppSync to access the database.\nvar api graphqlApi\n// Create username and password secret for DB Cluster\nsecret := rds.NewDatabaseSecret(this, jsii.String(\"AuroraSecret\"), &DatabaseSecretProps{\n\tUsername: jsii.String(\"clusteradmin\"),\n})\n\n// The VPC to place the cluster in\nvpc := ec2.NewVpc(this, jsii.String(\"AuroraVpc\"))\n\n// Create the serverless cluster, provide all values needed to customise the database.\ncluster := rds.NewServerlessCluster(this, jsii.String(\"AuroraCluster\"), &ServerlessClusterProps{\n\tEngine: rds.DatabaseClusterEngine_AURORA_MYSQL(),\n\tVpc: Vpc,\n\tCredentials: map[string]*string{\n\t\t\"username\": jsii.String(\"clusteradmin\"),\n\t},\n\tClusterIdentifier: jsii.String(\"db-endpoint-test\"),\n\tDefaultDatabaseName: jsii.String(\"demos\"),\n})\nrdsDS := api.AddRdsDataSource(jsii.String(\"rds\"), cluster, secret, jsii.String(\"demos\"))\n\n// Set up a resolver for an RDS query.\nrdsDS.CreateResolver(&BaseResolverProps{\n\tTypeName: jsii.String(\"Query\"),\n\tFieldName: jsii.String(\"getDemosRds\"),\n\tRequestMappingTemplate: appsync.MappingTemplate_FromString(jsii.String(`\n\t {\n\t \"version\": \"2018-05-29\",\n\t \"statements\": [\n\t \"SELECT * FROM demos\"\n\t ]\n\t }\n\t `)),\n\tResponseMappingTemplate: appsync.MappingTemplate_*FromString(jsii.String(`\n\t $utils.toJson($utils.rds.toJsonObject($ctx.result)[0])\n\t `)),\n})\n\n// Set up a resolver for an RDS mutation.\nrdsDS.CreateResolver(&BaseResolverProps{\n\tTypeName: jsii.String(\"Mutation\"),\n\tFieldName: jsii.String(\"addDemoRds\"),\n\tRequestMappingTemplate: appsync.MappingTemplate_*FromString(jsii.String(`\n\t {\n\t \"version\": \"2018-05-29\",\n\t \"statements\": [\n\t \"INSERT INTO demos VALUES (:id, :version)\",\n\t \"SELECT * WHERE id = :id\"\n\t ],\n\t \"variableMap\": {\n\t \":id\": $util.toJson($util.autoId()),\n\t \":version\": $util.toJson($ctx.args.version)\n\t }\n\t }\n\t `)),\n\tResponseMappingTemplate: appsync.MappingTemplate_*FromString(jsii.String(`\n\t $utils.toJson($utils.rds.toJsonObject($ctx.result)[1][0])\n\t `)),\n})","version":"1"},"$":{"source":"// Create username and password secret for DB Cluster\nconst secret = new rds.DatabaseSecret(this, 'AuroraSecret', {\n username: 'clusteradmin',\n});\n\n// The VPC to place the cluster in\nconst vpc = new ec2.Vpc(this, 'AuroraVpc');\n\n// Create the serverless cluster, provide all values needed to customise the database.\nconst cluster = new rds.ServerlessCluster(this, 'AuroraCluster', {\n engine: rds.DatabaseClusterEngine.AURORA_MYSQL,\n vpc,\n credentials: { username: 'clusteradmin' },\n clusterIdentifier: 'db-endpoint-test',\n defaultDatabaseName: 'demos',\n});\n\n// Build a data source for AppSync to access the database.\ndeclare const api: appsync.GraphqlApi;\nconst rdsDS = api.addRdsDataSource('rds', cluster, secret, 'demos');\n\n// Set up a resolver for an RDS query.\nrdsDS.createResolver({\n typeName: 'Query',\n fieldName: 'getDemosRds',\n requestMappingTemplate: appsync.MappingTemplate.fromString(`\n {\n \"version\": \"2018-05-29\",\n \"statements\": [\n \"SELECT * FROM demos\"\n ]\n }\n `),\n responseMappingTemplate: appsync.MappingTemplate.fromString(`\n $utils.toJson($utils.rds.toJsonObject($ctx.result)[0])\n `),\n});\n\n// Set up a resolver for an RDS mutation.\nrdsDS.createResolver({\n typeName: 'Mutation',\n fieldName: 'addDemoRds',\n requestMappingTemplate: appsync.MappingTemplate.fromString(`\n {\n \"version\": \"2018-05-29\",\n \"statements\": [\n \"INSERT INTO demos VALUES (:id, :version)\",\n \"SELECT * WHERE id = :id\"\n ],\n \"variableMap\": {\n \":id\": $util.toJson($util.autoId()),\n \":version\": $util.toJson($ctx.args.version)\n }\n }\n `),\n responseMappingTemplate: appsync.MappingTemplate.fromString(`\n $utils.toJson($utils.rds.toJsonObject($ctx.result)[1][0])\n `),\n});","version":"0"}},"location":{"api":{"api":"type","fqn":"@aws-cdk/aws-appsync.BaseResolverProps"},"field":{"field":"example"}},"didCompile":true,"fqnsReferenced":["@aws-cdk/aws-appsync.BaseDataSource#createResolver","@aws-cdk/aws-appsync.BaseResolverProps","@aws-cdk/aws-appsync.GraphqlApiBase#addRdsDataSource","@aws-cdk/aws-appsync.MappingTemplate","@aws-cdk/aws-appsync.MappingTemplate#fromString","@aws-cdk/aws-appsync.RdsDataSource","@aws-cdk/aws-ec2.IVpc","@aws-cdk/aws-ec2.Vpc","@aws-cdk/aws-rds.Credentials","@aws-cdk/aws-rds.DatabaseClusterEngine","@aws-cdk/aws-rds.DatabaseClusterEngine#AURORA_MYSQL","@aws-cdk/aws-rds.DatabaseSecret","@aws-cdk/aws-rds.DatabaseSecretProps","@aws-cdk/aws-rds.IClusterEngine","@aws-cdk/aws-rds.IServerlessCluster","@aws-cdk/aws-rds.ServerlessCluster","@aws-cdk/aws-rds.ServerlessClusterProps","@aws-cdk/aws-secretsmanager.ISecret","constructs.Construct"],"fullSource":"// Hoisted imports begin after !show marker below\n/// !show\n\n\n// Build a data source for AppSync to access the database.\ndeclare const api: appsync.GraphqlApi;\n/// !hide\n// Hoisted imports ended before !hide marker above\n// Fixture with packages imported, but nothing else\nimport { Construct } from 'constructs';\nimport { RemovalPolicy, Stack } from '@aws-cdk/core';\nimport appsync = require('@aws-cdk/aws-appsync');\nimport ec2 = require('@aws-cdk/aws-ec2');\nimport dynamodb = require('@aws-cdk/aws-dynamodb');\nimport iam = require('@aws-cdk/aws-iam');\nimport rds = require('@aws-cdk/aws-rds');\nimport path = require('path');\n\nclass Fixture extends Stack {\n constructor(scope: Construct, id: string) {\n super(scope, id);\n // Code snippet begins after !show marker below\n/// !show\n// Create username and password secret for DB Cluster\nconst secret = new rds.DatabaseSecret(this, 'AuroraSecret', {\n username: 'clusteradmin',\n});\n\n// The VPC to place the cluster in\nconst vpc = new ec2.Vpc(this, 'AuroraVpc');\n\n// Create the serverless cluster, provide all values needed to customise the database.\nconst cluster = new rds.ServerlessCluster(this, 'AuroraCluster', {\n engine: rds.DatabaseClusterEngine.AURORA_MYSQL,\n vpc,\n credentials: { username: 'clusteradmin' },\n clusterIdentifier: 'db-endpoint-test',\n defaultDatabaseName: 'demos',\n});\nconst rdsDS = api.addRdsDataSource('rds', cluster, secret, 'demos');\n\n// Set up a resolver for an RDS query.\nrdsDS.createResolver({\n typeName: 'Query',\n fieldName: 'getDemosRds',\n requestMappingTemplate: appsync.MappingTemplate.fromString(`\n {\n \"version\": \"2018-05-29\",\n \"statements\": [\n \"SELECT * FROM demos\"\n ]\n }\n `),\n responseMappingTemplate: appsync.MappingTemplate.fromString(`\n $utils.toJson($utils.rds.toJsonObject($ctx.result)[0])\n `),\n});\n\n// Set up a resolver for an RDS mutation.\nrdsDS.createResolver({\n typeName: 'Mutation',\n fieldName: 'addDemoRds',\n requestMappingTemplate: appsync.MappingTemplate.fromString(`\n {\n \"version\": \"2018-05-29\",\n \"statements\": [\n \"INSERT INTO demos VALUES (:id, :version)\",\n \"SELECT * WHERE id = :id\"\n ],\n \"variableMap\": {\n \":id\": $util.toJson($util.autoId()),\n \":version\": $util.toJson($ctx.args.version)\n }\n }\n `),\n responseMappingTemplate: appsync.MappingTemplate.fromString(`\n $utils.toJson($utils.rds.toJsonObject($ctx.result)[1][0])\n `),\n});\n/// !hide\n// Code snippet ended before !hide marker above\n }\n}\n","syntaxKindCounter":{"10":13,"14":4,"75":51,"104":3,"130":1,"153":1,"169":1,"193":5,"194":16,"196":7,"197":3,"225":5,"226":2,"242":5,"243":5,"281":14,"282":1,"290":1},"fqnsFingerprint":"8d41eadbaa2333c2e3fededd0444806421aac9db30339899e7cc89d80338bec5"},"6065cec40376e695e4c68062cb628d5930692ecbad0de05b232f468d8ac6d2cf":{"translations":{"python":{"source":"api = appsync.GraphqlApi(self, \"Api\",\n name=\"demo\"\n)\ndemo = appsync.ObjectType(\"Demo\",\n definition={\n \"id\": appsync.GraphqlType.string(is_required=True),\n \"version\": appsync.GraphqlType.string(is_required=True)\n }\n)\n\napi.add_type(demo)","version":"2"},"csharp":{"source":"var api = new GraphqlApi(this, \"Api\", new GraphqlApiProps {\n Name = \"demo\"\n});\nvar demo = new ObjectType(\"Demo\", new ObjectTypeOptions {\n Definition = new Dictionary {\n { \"id\", GraphqlType.String(new BaseTypeOptions { IsRequired = true }) },\n { \"version\", GraphqlType.String(new BaseTypeOptions { IsRequired = true }) }\n }\n});\n\napi.AddType(demo);","version":"1"},"java":{"source":"GraphqlApi api = GraphqlApi.Builder.create(this, \"Api\")\n .name(\"demo\")\n .build();\nObjectType demo = ObjectType.Builder.create(\"Demo\")\n .definition(Map.of(\n \"id\", GraphqlType.string(BaseTypeOptions.builder().isRequired(true).build()),\n \"version\", GraphqlType.string(BaseTypeOptions.builder().isRequired(true).build())))\n .build();\n\napi.addType(demo);","version":"1"},"go":{"source":"api := appsync.NewGraphqlApi(this, jsii.String(\"Api\"), &GraphqlApiProps{\n\tName: jsii.String(\"demo\"),\n})\ndemo := appsync.NewObjectType(jsii.String(\"Demo\"), &ObjectTypeOptions{\n\tDefinition: map[string]iField{\n\t\t\"id\": appsync.GraphqlType_string(&BaseTypeOptions{\n\t\t\t\"isRequired\": jsii.Boolean(true),\n\t\t}),\n\t\t\"version\": appsync.GraphqlType_string(&BaseTypeOptions{\n\t\t\t\"isRequired\": jsii.Boolean(true),\n\t\t}),\n\t},\n})\n\napi.AddType(demo)","version":"1"},"$":{"source":"const api = new appsync.GraphqlApi(this, 'Api', {\n name: 'demo',\n});\nconst demo = new appsync.ObjectType('Demo', {\n definition: {\n id: appsync.GraphqlType.string({ isRequired: true }),\n version: appsync.GraphqlType.string({ isRequired: true }),\n },\n});\n\napi.addType(demo);","version":"0"}},"location":{"api":{"api":"type","fqn":"@aws-cdk/aws-appsync.BaseTypeOptions"},"field":{"field":"example"}},"didCompile":true,"fqnsReferenced":["@aws-cdk/aws-appsync.BaseTypeOptions","@aws-cdk/aws-appsync.GraphqlApi","@aws-cdk/aws-appsync.GraphqlApi#addType","@aws-cdk/aws-appsync.GraphqlApiProps","@aws-cdk/aws-appsync.GraphqlType","@aws-cdk/aws-appsync.GraphqlType#string","@aws-cdk/aws-appsync.IField","@aws-cdk/aws-appsync.IIntermediateType","@aws-cdk/aws-appsync.ObjectType","@aws-cdk/aws-appsync.ObjectTypeOptions","constructs.Construct"],"fullSource":"// Fixture with packages imported, but nothing else\nimport { Construct } from 'constructs';\nimport { RemovalPolicy, Stack } from '@aws-cdk/core';\nimport appsync = require('@aws-cdk/aws-appsync');\nimport ec2 = require('@aws-cdk/aws-ec2');\nimport dynamodb = require('@aws-cdk/aws-dynamodb');\nimport iam = require('@aws-cdk/aws-iam');\nimport rds = require('@aws-cdk/aws-rds');\nimport path = require('path');\n\nclass Fixture extends Stack {\n constructor(scope: Construct, id: string) {\n super(scope, id);\n // Code snippet begins after !show marker below\n/// !show\nconst api = new appsync.GraphqlApi(this, 'Api', {\n name: 'demo',\n});\nconst demo = new appsync.ObjectType('Demo', {\n definition: {\n id: appsync.GraphqlType.string({ isRequired: true }),\n version: appsync.GraphqlType.string({ isRequired: true }),\n },\n});\n\napi.addType(demo);\n/// !hide\n// Code snippet ended before !hide marker above\n }\n}\n","syntaxKindCounter":{"10":3,"75":21,"104":1,"106":2,"193":5,"194":7,"196":3,"197":2,"225":2,"226":1,"242":2,"243":2,"281":6},"fqnsFingerprint":"132c6bdca9f4c927b0ef0c6be5e65e05310caeec3c1fc813a17fed63547064d6"},"eedd7b7003c347175b2959d510051868bd8da111e722542e56bb7d27ea20ef08":{"translations":{"python":{"source":"# The code below shows an example of how to instantiate this type.\n# The values are placeholders you should change.\nimport aws_cdk.aws_appsync as appsync\nimport aws_cdk.core as cdk\n\ncaching_config = appsync.CachingConfig(\n ttl=cdk.Duration.minutes(30),\n\n # the properties below are optional\n caching_keys=[\"cachingKeys\"]\n)","version":"2"},"csharp":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nusing Amazon.CDK.AWS.AppSync;\nusing Amazon.CDK;\nvar cachingConfig = new CachingConfig {\n Ttl = Duration.Minutes(30),\n\n // the properties below are optional\n CachingKeys = new [] { \"cachingKeys\" }\n};","version":"1"},"java":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport software.amazon.awscdk.services.appsync.*;\nimport software.amazon.awscdk.core.*;\n\nCachingConfig cachingConfig = CachingConfig.builder()\n .ttl(Duration.minutes(30))\n\n // the properties below are optional\n .cachingKeys(List.of(\"cachingKeys\"))\n .build();","version":"1"},"go":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport appsync \"github.com/aws-samples/dummy/awscdkawsappsync\"\nimport cdk \"github.com/aws-samples/dummy/awscdkcore\"\n\ncachingConfig := &CachingConfig{\n\tTtl: cdk.Duration_Minutes(jsii.Number(30)),\n\n\t// the properties below are optional\n\tCachingKeys: []*string{\n\t\tjsii.String(\"cachingKeys\"),\n\t},\n}","version":"1"},"$":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as appsync from '@aws-cdk/aws-appsync';\nimport * as cdk from '@aws-cdk/core';\nconst cachingConfig: appsync.CachingConfig = {\n ttl: cdk.Duration.minutes(30),\n\n // the properties below are optional\n cachingKeys: ['cachingKeys'],\n};","version":"0"}},"location":{"api":{"api":"type","fqn":"@aws-cdk/aws-appsync.CachingConfig"},"field":{"field":"example"}},"didCompile":true,"fqnsReferenced":["@aws-cdk/aws-appsync.CachingConfig","@aws-cdk/core.Duration","@aws-cdk/core.Duration#minutes"],"fullSource":"// Hoisted imports begin after !show marker below\n/// !show\n// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as appsync from '@aws-cdk/aws-appsync';\nimport * as cdk from '@aws-cdk/core';\n/// !hide\n// Hoisted imports ended before !hide marker above\nimport { Construct } from \"@aws-cdk/core\";\nclass MyConstruct extends Construct {\nconstructor(scope: Construct, id: string) {\nsuper(scope, id);\n// Code snippet begins after !show marker below\n/// !show\n\nconst cachingConfig: appsync.CachingConfig = {\n ttl: cdk.Duration.minutes(30),\n\n // the properties below are optional\n cachingKeys: ['cachingKeys'],\n};\n/// !hide\n// Code snippet ended before !hide marker above\n} }","syntaxKindCounter":{"8":1,"10":3,"75":10,"153":1,"169":1,"192":1,"193":1,"194":2,"196":1,"225":1,"242":1,"243":1,"254":2,"255":2,"256":2,"281":2,"290":1},"fqnsFingerprint":"42bd698ef929fce427a437802bf84556822d7f873247aa57f6037a03bed8f3d6"},"9155bf8c894eb96f9381d473a4244f30c4c42341fde07dac88105083e07d6018":{"translations":{"python":{"source":"# The code below shows an example of how to instantiate this type.\n# The values are placeholders you should change.\nimport aws_cdk.aws_appsync as appsync\n\ncfn_api_cache = appsync.CfnApiCache(self, \"MyCfnApiCache\",\n api_caching_behavior=\"apiCachingBehavior\",\n api_id=\"apiId\",\n ttl=123,\n type=\"type\",\n\n # the properties below are optional\n at_rest_encryption_enabled=False,\n transit_encryption_enabled=False\n)","version":"2"},"csharp":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nusing Amazon.CDK.AWS.AppSync;\n\nvar cfnApiCache = new CfnApiCache(this, \"MyCfnApiCache\", new CfnApiCacheProps {\n ApiCachingBehavior = \"apiCachingBehavior\",\n ApiId = \"apiId\",\n Ttl = 123,\n Type = \"type\",\n\n // the properties below are optional\n AtRestEncryptionEnabled = false,\n TransitEncryptionEnabled = false\n});","version":"1"},"java":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport software.amazon.awscdk.services.appsync.*;\n\nCfnApiCache cfnApiCache = CfnApiCache.Builder.create(this, \"MyCfnApiCache\")\n .apiCachingBehavior(\"apiCachingBehavior\")\n .apiId(\"apiId\")\n .ttl(123)\n .type(\"type\")\n\n // the properties below are optional\n .atRestEncryptionEnabled(false)\n .transitEncryptionEnabled(false)\n .build();","version":"1"},"go":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport appsync \"github.com/aws-samples/dummy/awscdkawsappsync\"\n\ncfnApiCache := appsync.NewCfnApiCache(this, jsii.String(\"MyCfnApiCache\"), &CfnApiCacheProps{\n\tApiCachingBehavior: jsii.String(\"apiCachingBehavior\"),\n\tApiId: jsii.String(\"apiId\"),\n\tTtl: jsii.Number(123),\n\tType: jsii.String(\"type\"),\n\n\t// the properties below are optional\n\tAtRestEncryptionEnabled: jsii.Boolean(false),\n\tTransitEncryptionEnabled: jsii.Boolean(false),\n})","version":"1"},"$":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as appsync from '@aws-cdk/aws-appsync';\nconst cfnApiCache = new appsync.CfnApiCache(this, 'MyCfnApiCache', {\n apiCachingBehavior: 'apiCachingBehavior',\n apiId: 'apiId',\n ttl: 123,\n type: 'type',\n\n // the properties below are optional\n atRestEncryptionEnabled: false,\n transitEncryptionEnabled: false,\n});","version":"0"}},"location":{"api":{"api":"type","fqn":"@aws-cdk/aws-appsync.CfnApiCache"},"field":{"field":"example"}},"didCompile":true,"fqnsReferenced":["@aws-cdk/aws-appsync.CfnApiCache","@aws-cdk/aws-appsync.CfnApiCacheProps","@aws-cdk/core.Construct"],"fullSource":"// Hoisted imports begin after !show marker below\n/// !show\n// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as appsync from '@aws-cdk/aws-appsync';\n/// !hide\n// Hoisted imports ended before !hide marker above\nimport { Construct } from \"@aws-cdk/core\";\nclass MyConstruct extends Construct {\nconstructor(scope: Construct, id: string) {\nsuper(scope, id);\n// Code snippet begins after !show marker below\n/// !show\n\nconst cfnApiCache = new appsync.CfnApiCache(this, 'MyCfnApiCache', {\n apiCachingBehavior: 'apiCachingBehavior',\n apiId: 'apiId',\n ttl: 123,\n type: 'type',\n\n // the properties below are optional\n atRestEncryptionEnabled: false,\n transitEncryptionEnabled: false,\n});\n/// !hide\n// Code snippet ended before !hide marker above\n} }","syntaxKindCounter":{"8":1,"10":5,"75":10,"91":2,"104":1,"193":1,"194":1,"197":1,"225":1,"242":1,"243":1,"254":1,"255":1,"256":1,"281":6,"290":1},"fqnsFingerprint":"56923c9f5f49e8514045c6552af5ec3f388f927348912c75f9ef10859031befd"},"240ab4c2475e34619ee8e4cbee45aa65ee25f1af69b8e27f0eb3a29de06609d9":{"translations":{"python":{"source":"# The code below shows an example of how to instantiate this type.\n# The values are placeholders you should change.\nimport aws_cdk.aws_appsync as appsync\n\ncfn_api_cache_props = appsync.CfnApiCacheProps(\n api_caching_behavior=\"apiCachingBehavior\",\n api_id=\"apiId\",\n ttl=123,\n type=\"type\",\n\n # the properties below are optional\n at_rest_encryption_enabled=False,\n transit_encryption_enabled=False\n)","version":"2"},"csharp":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nusing Amazon.CDK.AWS.AppSync;\n\nvar cfnApiCacheProps = new CfnApiCacheProps {\n ApiCachingBehavior = \"apiCachingBehavior\",\n ApiId = \"apiId\",\n Ttl = 123,\n Type = \"type\",\n\n // the properties below are optional\n AtRestEncryptionEnabled = false,\n TransitEncryptionEnabled = false\n};","version":"1"},"java":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport software.amazon.awscdk.services.appsync.*;\n\nCfnApiCacheProps cfnApiCacheProps = CfnApiCacheProps.builder()\n .apiCachingBehavior(\"apiCachingBehavior\")\n .apiId(\"apiId\")\n .ttl(123)\n .type(\"type\")\n\n // the properties below are optional\n .atRestEncryptionEnabled(false)\n .transitEncryptionEnabled(false)\n .build();","version":"1"},"go":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport appsync \"github.com/aws-samples/dummy/awscdkawsappsync\"\n\ncfnApiCacheProps := &CfnApiCacheProps{\n\tApiCachingBehavior: jsii.String(\"apiCachingBehavior\"),\n\tApiId: jsii.String(\"apiId\"),\n\tTtl: jsii.Number(123),\n\tType: jsii.String(\"type\"),\n\n\t// the properties below are optional\n\tAtRestEncryptionEnabled: jsii.Boolean(false),\n\tTransitEncryptionEnabled: jsii.Boolean(false),\n}","version":"1"},"$":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as appsync from '@aws-cdk/aws-appsync';\nconst cfnApiCacheProps: appsync.CfnApiCacheProps = {\n apiCachingBehavior: 'apiCachingBehavior',\n apiId: 'apiId',\n ttl: 123,\n type: 'type',\n\n // the properties below are optional\n atRestEncryptionEnabled: false,\n transitEncryptionEnabled: false,\n};","version":"0"}},"location":{"api":{"api":"type","fqn":"@aws-cdk/aws-appsync.CfnApiCacheProps"},"field":{"field":"example"}},"didCompile":true,"fqnsReferenced":["@aws-cdk/aws-appsync.CfnApiCacheProps"],"fullSource":"// Hoisted imports begin after !show marker below\n/// !show\n// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as appsync from '@aws-cdk/aws-appsync';\n/// !hide\n// Hoisted imports ended before !hide marker above\nimport { Construct } from \"@aws-cdk/core\";\nclass MyConstruct extends Construct {\nconstructor(scope: Construct, id: string) {\nsuper(scope, id);\n// Code snippet begins after !show marker below\n/// !show\n\nconst cfnApiCacheProps: appsync.CfnApiCacheProps = {\n apiCachingBehavior: 'apiCachingBehavior',\n apiId: 'apiId',\n ttl: 123,\n type: 'type',\n\n // the properties below are optional\n atRestEncryptionEnabled: false,\n transitEncryptionEnabled: false,\n};\n/// !hide\n// Code snippet ended before !hide marker above\n} }","syntaxKindCounter":{"8":1,"10":4,"75":10,"91":2,"153":1,"169":1,"193":1,"225":1,"242":1,"243":1,"254":1,"255":1,"256":1,"281":6,"290":1},"fqnsFingerprint":"32f6c1fac6f0f5631a37b01ff224c5178b62d3fa2e5e759f625a28ec423d42d2"},"04b466eed0c654d0967d4ae80765bcbdee91cc2be564cc72e45af16df0bce4df":{"translations":{"python":{"source":"# The code below shows an example of how to instantiate this type.\n# The values are placeholders you should change.\nimport aws_cdk.aws_appsync as appsync\n\ncfn_api_key = appsync.CfnApiKey(self, \"MyCfnApiKey\",\n api_id=\"apiId\",\n\n # the properties below are optional\n api_key_id=\"apiKeyId\",\n description=\"description\",\n expires=123\n)","version":"2"},"csharp":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nusing Amazon.CDK.AWS.AppSync;\n\nvar cfnApiKey = new CfnApiKey(this, \"MyCfnApiKey\", new CfnApiKeyProps {\n ApiId = \"apiId\",\n\n // the properties below are optional\n ApiKeyId = \"apiKeyId\",\n Description = \"description\",\n Expires = 123\n});","version":"1"},"java":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport software.amazon.awscdk.services.appsync.*;\n\nCfnApiKey cfnApiKey = CfnApiKey.Builder.create(this, \"MyCfnApiKey\")\n .apiId(\"apiId\")\n\n // the properties below are optional\n .apiKeyId(\"apiKeyId\")\n .description(\"description\")\n .expires(123)\n .build();","version":"1"},"go":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport appsync \"github.com/aws-samples/dummy/awscdkawsappsync\"\n\ncfnApiKey := appsync.NewCfnApiKey(this, jsii.String(\"MyCfnApiKey\"), &CfnApiKeyProps{\n\tApiId: jsii.String(\"apiId\"),\n\n\t// the properties below are optional\n\tApiKeyId: jsii.String(\"apiKeyId\"),\n\tDescription: jsii.String(\"description\"),\n\tExpires: jsii.Number(123),\n})","version":"1"},"$":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as appsync from '@aws-cdk/aws-appsync';\nconst cfnApiKey = new appsync.CfnApiKey(this, 'MyCfnApiKey', {\n apiId: 'apiId',\n\n // the properties below are optional\n apiKeyId: 'apiKeyId',\n description: 'description',\n expires: 123,\n});","version":"0"}},"location":{"api":{"api":"type","fqn":"@aws-cdk/aws-appsync.CfnApiKey"},"field":{"field":"example"}},"didCompile":true,"fqnsReferenced":["@aws-cdk/aws-appsync.CfnApiKey","@aws-cdk/aws-appsync.CfnApiKeyProps","@aws-cdk/core.Construct"],"fullSource":"// Hoisted imports begin after !show marker below\n/// !show\n// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as appsync from '@aws-cdk/aws-appsync';\n/// !hide\n// Hoisted imports ended before !hide marker above\nimport { Construct } from \"@aws-cdk/core\";\nclass MyConstruct extends Construct {\nconstructor(scope: Construct, id: string) {\nsuper(scope, id);\n// Code snippet begins after !show marker below\n/// !show\n\nconst cfnApiKey = new appsync.CfnApiKey(this, 'MyCfnApiKey', {\n apiId: 'apiId',\n\n // the properties below are optional\n apiKeyId: 'apiKeyId',\n description: 'description',\n expires: 123,\n});\n/// !hide\n// Code snippet ended before !hide marker above\n} }","syntaxKindCounter":{"8":1,"10":5,"75":8,"104":1,"193":1,"194":1,"197":1,"225":1,"242":1,"243":1,"254":1,"255":1,"256":1,"281":4,"290":1},"fqnsFingerprint":"cae483db7ba2014d16480c94b81eb41a5b6cead8ca311ca8c290fd77e12d2623"},"8d7ac87643e667aa78e534c17ab40e4de0651a6cab7920b75fa4076641156966":{"translations":{"python":{"source":"# The code below shows an example of how to instantiate this type.\n# The values are placeholders you should change.\nimport aws_cdk.aws_appsync as appsync\n\ncfn_api_key_props = appsync.CfnApiKeyProps(\n api_id=\"apiId\",\n\n # the properties below are optional\n api_key_id=\"apiKeyId\",\n description=\"description\",\n expires=123\n)","version":"2"},"csharp":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nusing Amazon.CDK.AWS.AppSync;\n\nvar cfnApiKeyProps = new CfnApiKeyProps {\n ApiId = \"apiId\",\n\n // the properties below are optional\n ApiKeyId = \"apiKeyId\",\n Description = \"description\",\n Expires = 123\n};","version":"1"},"java":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport software.amazon.awscdk.services.appsync.*;\n\nCfnApiKeyProps cfnApiKeyProps = CfnApiKeyProps.builder()\n .apiId(\"apiId\")\n\n // the properties below are optional\n .apiKeyId(\"apiKeyId\")\n .description(\"description\")\n .expires(123)\n .build();","version":"1"},"go":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport appsync \"github.com/aws-samples/dummy/awscdkawsappsync\"\n\ncfnApiKeyProps := &CfnApiKeyProps{\n\tApiId: jsii.String(\"apiId\"),\n\n\t// the properties below are optional\n\tApiKeyId: jsii.String(\"apiKeyId\"),\n\tDescription: jsii.String(\"description\"),\n\tExpires: jsii.Number(123),\n}","version":"1"},"$":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as appsync from '@aws-cdk/aws-appsync';\nconst cfnApiKeyProps: appsync.CfnApiKeyProps = {\n apiId: 'apiId',\n\n // the properties below are optional\n apiKeyId: 'apiKeyId',\n description: 'description',\n expires: 123,\n};","version":"0"}},"location":{"api":{"api":"type","fqn":"@aws-cdk/aws-appsync.CfnApiKeyProps"},"field":{"field":"example"}},"didCompile":true,"fqnsReferenced":["@aws-cdk/aws-appsync.CfnApiKeyProps"],"fullSource":"// Hoisted imports begin after !show marker below\n/// !show\n// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as appsync from '@aws-cdk/aws-appsync';\n/// !hide\n// Hoisted imports ended before !hide marker above\nimport { Construct } from \"@aws-cdk/core\";\nclass MyConstruct extends Construct {\nconstructor(scope: Construct, id: string) {\nsuper(scope, id);\n// Code snippet begins after !show marker below\n/// !show\n\nconst cfnApiKeyProps: appsync.CfnApiKeyProps = {\n apiId: 'apiId',\n\n // the properties below are optional\n apiKeyId: 'apiKeyId',\n description: 'description',\n expires: 123,\n};\n/// !hide\n// Code snippet ended before !hide marker above\n} }","syntaxKindCounter":{"8":1,"10":4,"75":8,"153":1,"169":1,"193":1,"225":1,"242":1,"243":1,"254":1,"255":1,"256":1,"281":4,"290":1},"fqnsFingerprint":"72902fe51dfa6a67c65a64064cd072d251fdca074683203a072ea3d7f722b660"},"9788ceb58389a8921298848993ef866dc615699e7c12897558b008917733dc29":{"translations":{"python":{"source":"# The code below shows an example of how to instantiate this type.\n# The values are placeholders you should change.\nimport aws_cdk.aws_appsync as appsync\n\ncfn_data_source = appsync.CfnDataSource(self, \"MyCfnDataSource\",\n api_id=\"apiId\",\n name=\"name\",\n type=\"type\",\n\n # the properties below are optional\n description=\"description\",\n dynamo_db_config=appsync.CfnDataSource.DynamoDBConfigProperty(\n aws_region=\"awsRegion\",\n table_name=\"tableName\",\n\n # the properties below are optional\n delta_sync_config=appsync.CfnDataSource.DeltaSyncConfigProperty(\n base_table_ttl=\"baseTableTtl\",\n delta_sync_table_name=\"deltaSyncTableName\",\n delta_sync_table_ttl=\"deltaSyncTableTtl\"\n ),\n use_caller_credentials=False,\n versioned=False\n ),\n elasticsearch_config=appsync.CfnDataSource.ElasticsearchConfigProperty(\n aws_region=\"awsRegion\",\n endpoint=\"endpoint\"\n ),\n event_bridge_config=appsync.CfnDataSource.EventBridgeConfigProperty(\n event_bus_arn=\"eventBusArn\"\n ),\n http_config=appsync.CfnDataSource.HttpConfigProperty(\n endpoint=\"endpoint\",\n\n # the properties below are optional\n authorization_config=appsync.CfnDataSource.AuthorizationConfigProperty(\n authorization_type=\"authorizationType\",\n\n # the properties below are optional\n aws_iam_config=appsync.CfnDataSource.AwsIamConfigProperty(\n signing_region=\"signingRegion\",\n signing_service_name=\"signingServiceName\"\n )\n )\n ),\n lambda_config=appsync.CfnDataSource.LambdaConfigProperty(\n lambda_function_arn=\"lambdaFunctionArn\"\n ),\n open_search_service_config=appsync.CfnDataSource.OpenSearchServiceConfigProperty(\n aws_region=\"awsRegion\",\n endpoint=\"endpoint\"\n ),\n relational_database_config=appsync.CfnDataSource.RelationalDatabaseConfigProperty(\n relational_database_source_type=\"relationalDatabaseSourceType\",\n\n # the properties below are optional\n rds_http_endpoint_config=appsync.CfnDataSource.RdsHttpEndpointConfigProperty(\n aws_region=\"awsRegion\",\n aws_secret_store_arn=\"awsSecretStoreArn\",\n db_cluster_identifier=\"dbClusterIdentifier\",\n\n # the properties below are optional\n database_name=\"databaseName\",\n schema=\"schema\"\n )\n ),\n service_role_arn=\"serviceRoleArn\"\n)","version":"2"},"csharp":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nusing Amazon.CDK.AWS.AppSync;\n\nvar cfnDataSource = new CfnDataSource(this, \"MyCfnDataSource\", new CfnDataSourceProps {\n ApiId = \"apiId\",\n Name = \"name\",\n Type = \"type\",\n\n // the properties below are optional\n Description = \"description\",\n DynamoDbConfig = new DynamoDBConfigProperty {\n AwsRegion = \"awsRegion\",\n TableName = \"tableName\",\n\n // the properties below are optional\n DeltaSyncConfig = new DeltaSyncConfigProperty {\n BaseTableTtl = \"baseTableTtl\",\n DeltaSyncTableName = \"deltaSyncTableName\",\n DeltaSyncTableTtl = \"deltaSyncTableTtl\"\n },\n UseCallerCredentials = false,\n Versioned = false\n },\n ElasticsearchConfig = new ElasticsearchConfigProperty {\n AwsRegion = \"awsRegion\",\n Endpoint = \"endpoint\"\n },\n EventBridgeConfig = new EventBridgeConfigProperty {\n EventBusArn = \"eventBusArn\"\n },\n HttpConfig = new HttpConfigProperty {\n Endpoint = \"endpoint\",\n\n // the properties below are optional\n AuthorizationConfig = new AuthorizationConfigProperty {\n AuthorizationType = \"authorizationType\",\n\n // the properties below are optional\n AwsIamConfig = new AwsIamConfigProperty {\n SigningRegion = \"signingRegion\",\n SigningServiceName = \"signingServiceName\"\n }\n }\n },\n LambdaConfig = new LambdaConfigProperty {\n LambdaFunctionArn = \"lambdaFunctionArn\"\n },\n OpenSearchServiceConfig = new OpenSearchServiceConfigProperty {\n AwsRegion = \"awsRegion\",\n Endpoint = \"endpoint\"\n },\n RelationalDatabaseConfig = new RelationalDatabaseConfigProperty {\n RelationalDatabaseSourceType = \"relationalDatabaseSourceType\",\n\n // the properties below are optional\n RdsHttpEndpointConfig = new RdsHttpEndpointConfigProperty {\n AwsRegion = \"awsRegion\",\n AwsSecretStoreArn = \"awsSecretStoreArn\",\n DbClusterIdentifier = \"dbClusterIdentifier\",\n\n // the properties below are optional\n DatabaseName = \"databaseName\",\n Schema = \"schema\"\n }\n },\n ServiceRoleArn = \"serviceRoleArn\"\n});","version":"1"},"java":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport software.amazon.awscdk.services.appsync.*;\n\nCfnDataSource cfnDataSource = CfnDataSource.Builder.create(this, \"MyCfnDataSource\")\n .apiId(\"apiId\")\n .name(\"name\")\n .type(\"type\")\n\n // the properties below are optional\n .description(\"description\")\n .dynamoDbConfig(DynamoDBConfigProperty.builder()\n .awsRegion(\"awsRegion\")\n .tableName(\"tableName\")\n\n // the properties below are optional\n .deltaSyncConfig(DeltaSyncConfigProperty.builder()\n .baseTableTtl(\"baseTableTtl\")\n .deltaSyncTableName(\"deltaSyncTableName\")\n .deltaSyncTableTtl(\"deltaSyncTableTtl\")\n .build())\n .useCallerCredentials(false)\n .versioned(false)\n .build())\n .elasticsearchConfig(ElasticsearchConfigProperty.builder()\n .awsRegion(\"awsRegion\")\n .endpoint(\"endpoint\")\n .build())\n .eventBridgeConfig(EventBridgeConfigProperty.builder()\n .eventBusArn(\"eventBusArn\")\n .build())\n .httpConfig(HttpConfigProperty.builder()\n .endpoint(\"endpoint\")\n\n // the properties below are optional\n .authorizationConfig(AuthorizationConfigProperty.builder()\n .authorizationType(\"authorizationType\")\n\n // the properties below are optional\n .awsIamConfig(AwsIamConfigProperty.builder()\n .signingRegion(\"signingRegion\")\n .signingServiceName(\"signingServiceName\")\n .build())\n .build())\n .build())\n .lambdaConfig(LambdaConfigProperty.builder()\n .lambdaFunctionArn(\"lambdaFunctionArn\")\n .build())\n .openSearchServiceConfig(OpenSearchServiceConfigProperty.builder()\n .awsRegion(\"awsRegion\")\n .endpoint(\"endpoint\")\n .build())\n .relationalDatabaseConfig(RelationalDatabaseConfigProperty.builder()\n .relationalDatabaseSourceType(\"relationalDatabaseSourceType\")\n\n // the properties below are optional\n .rdsHttpEndpointConfig(RdsHttpEndpointConfigProperty.builder()\n .awsRegion(\"awsRegion\")\n .awsSecretStoreArn(\"awsSecretStoreArn\")\n .dbClusterIdentifier(\"dbClusterIdentifier\")\n\n // the properties below are optional\n .databaseName(\"databaseName\")\n .schema(\"schema\")\n .build())\n .build())\n .serviceRoleArn(\"serviceRoleArn\")\n .build();","version":"1"},"go":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport appsync \"github.com/aws-samples/dummy/awscdkawsappsync\"\n\ncfnDataSource := appsync.NewCfnDataSource(this, jsii.String(\"MyCfnDataSource\"), &CfnDataSourceProps{\n\tApiId: jsii.String(\"apiId\"),\n\tName: jsii.String(\"name\"),\n\tType: jsii.String(\"type\"),\n\n\t// the properties below are optional\n\tDescription: jsii.String(\"description\"),\n\tDynamoDbConfig: &DynamoDBConfigProperty{\n\t\tAwsRegion: jsii.String(\"awsRegion\"),\n\t\tTableName: jsii.String(\"tableName\"),\n\n\t\t// the properties below are optional\n\t\tDeltaSyncConfig: &DeltaSyncConfigProperty{\n\t\t\tBaseTableTtl: jsii.String(\"baseTableTtl\"),\n\t\t\tDeltaSyncTableName: jsii.String(\"deltaSyncTableName\"),\n\t\t\tDeltaSyncTableTtl: jsii.String(\"deltaSyncTableTtl\"),\n\t\t},\n\t\tUseCallerCredentials: jsii.Boolean(false),\n\t\tVersioned: jsii.Boolean(false),\n\t},\n\tElasticsearchConfig: &ElasticsearchConfigProperty{\n\t\tAwsRegion: jsii.String(\"awsRegion\"),\n\t\tEndpoint: jsii.String(\"endpoint\"),\n\t},\n\tEventBridgeConfig: &EventBridgeConfigProperty{\n\t\tEventBusArn: jsii.String(\"eventBusArn\"),\n\t},\n\tHttpConfig: &HttpConfigProperty{\n\t\tEndpoint: jsii.String(\"endpoint\"),\n\n\t\t// the properties below are optional\n\t\tAuthorizationConfig: &AuthorizationConfigProperty{\n\t\t\tAuthorizationType: jsii.String(\"authorizationType\"),\n\n\t\t\t// the properties below are optional\n\t\t\tAwsIamConfig: &AwsIamConfigProperty{\n\t\t\t\tSigningRegion: jsii.String(\"signingRegion\"),\n\t\t\t\tSigningServiceName: jsii.String(\"signingServiceName\"),\n\t\t\t},\n\t\t},\n\t},\n\tLambdaConfig: &LambdaConfigProperty{\n\t\tLambdaFunctionArn: jsii.String(\"lambdaFunctionArn\"),\n\t},\n\tOpenSearchServiceConfig: &OpenSearchServiceConfigProperty{\n\t\tAwsRegion: jsii.String(\"awsRegion\"),\n\t\tEndpoint: jsii.String(\"endpoint\"),\n\t},\n\tRelationalDatabaseConfig: &RelationalDatabaseConfigProperty{\n\t\tRelationalDatabaseSourceType: jsii.String(\"relationalDatabaseSourceType\"),\n\n\t\t// the properties below are optional\n\t\tRdsHttpEndpointConfig: &RdsHttpEndpointConfigProperty{\n\t\t\tAwsRegion: jsii.String(\"awsRegion\"),\n\t\t\tAwsSecretStoreArn: jsii.String(\"awsSecretStoreArn\"),\n\t\t\tDbClusterIdentifier: jsii.String(\"dbClusterIdentifier\"),\n\n\t\t\t// the properties below are optional\n\t\t\tDatabaseName: jsii.String(\"databaseName\"),\n\t\t\tSchema: jsii.String(\"schema\"),\n\t\t},\n\t},\n\tServiceRoleArn: jsii.String(\"serviceRoleArn\"),\n})","version":"1"},"$":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as appsync from '@aws-cdk/aws-appsync';\nconst cfnDataSource = new appsync.CfnDataSource(this, 'MyCfnDataSource', {\n apiId: 'apiId',\n name: 'name',\n type: 'type',\n\n // the properties below are optional\n description: 'description',\n dynamoDbConfig: {\n awsRegion: 'awsRegion',\n tableName: 'tableName',\n\n // the properties below are optional\n deltaSyncConfig: {\n baseTableTtl: 'baseTableTtl',\n deltaSyncTableName: 'deltaSyncTableName',\n deltaSyncTableTtl: 'deltaSyncTableTtl',\n },\n useCallerCredentials: false,\n versioned: false,\n },\n elasticsearchConfig: {\n awsRegion: 'awsRegion',\n endpoint: 'endpoint',\n },\n eventBridgeConfig: {\n eventBusArn: 'eventBusArn',\n },\n httpConfig: {\n endpoint: 'endpoint',\n\n // the properties below are optional\n authorizationConfig: {\n authorizationType: 'authorizationType',\n\n // the properties below are optional\n awsIamConfig: {\n signingRegion: 'signingRegion',\n signingServiceName: 'signingServiceName',\n },\n },\n },\n lambdaConfig: {\n lambdaFunctionArn: 'lambdaFunctionArn',\n },\n openSearchServiceConfig: {\n awsRegion: 'awsRegion',\n endpoint: 'endpoint',\n },\n relationalDatabaseConfig: {\n relationalDatabaseSourceType: 'relationalDatabaseSourceType',\n\n // the properties below are optional\n rdsHttpEndpointConfig: {\n awsRegion: 'awsRegion',\n awsSecretStoreArn: 'awsSecretStoreArn',\n dbClusterIdentifier: 'dbClusterIdentifier',\n\n // the properties below are optional\n databaseName: 'databaseName',\n schema: 'schema',\n },\n },\n serviceRoleArn: 'serviceRoleArn',\n});","version":"0"}},"location":{"api":{"api":"type","fqn":"@aws-cdk/aws-appsync.CfnDataSource"},"field":{"field":"example"}},"didCompile":true,"fqnsReferenced":["@aws-cdk/aws-appsync.CfnDataSource","@aws-cdk/aws-appsync.CfnDataSourceProps","@aws-cdk/core.Construct"],"fullSource":"// Hoisted imports begin after !show marker below\n/// !show\n// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as appsync from '@aws-cdk/aws-appsync';\n/// !hide\n// Hoisted imports ended before !hide marker above\nimport { Construct } from \"@aws-cdk/core\";\nclass MyConstruct extends Construct {\nconstructor(scope: Construct, id: string) {\nsuper(scope, id);\n// Code snippet begins after !show marker below\n/// !show\n\nconst cfnDataSource = new appsync.CfnDataSource(this, 'MyCfnDataSource', {\n apiId: 'apiId',\n name: 'name',\n type: 'type',\n\n // the properties below are optional\n description: 'description',\n dynamoDbConfig: {\n awsRegion: 'awsRegion',\n tableName: 'tableName',\n\n // the properties below are optional\n deltaSyncConfig: {\n baseTableTtl: 'baseTableTtl',\n deltaSyncTableName: 'deltaSyncTableName',\n deltaSyncTableTtl: 'deltaSyncTableTtl',\n },\n useCallerCredentials: false,\n versioned: false,\n },\n elasticsearchConfig: {\n awsRegion: 'awsRegion',\n endpoint: 'endpoint',\n },\n eventBridgeConfig: {\n eventBusArn: 'eventBusArn',\n },\n httpConfig: {\n endpoint: 'endpoint',\n\n // the properties below are optional\n authorizationConfig: {\n authorizationType: 'authorizationType',\n\n // the properties below are optional\n awsIamConfig: {\n signingRegion: 'signingRegion',\n signingServiceName: 'signingServiceName',\n },\n },\n },\n lambdaConfig: {\n lambdaFunctionArn: 'lambdaFunctionArn',\n },\n openSearchServiceConfig: {\n awsRegion: 'awsRegion',\n endpoint: 'endpoint',\n },\n relationalDatabaseConfig: {\n relationalDatabaseSourceType: 'relationalDatabaseSourceType',\n\n // the properties below are optional\n rdsHttpEndpointConfig: {\n awsRegion: 'awsRegion',\n awsSecretStoreArn: 'awsSecretStoreArn',\n dbClusterIdentifier: 'dbClusterIdentifier',\n\n // the properties below are optional\n databaseName: 'databaseName',\n schema: 'schema',\n },\n },\n serviceRoleArn: 'serviceRoleArn',\n});\n/// !hide\n// Code snippet ended before !hide marker above\n} }","syntaxKindCounter":{"10":28,"75":43,"91":2,"104":1,"193":12,"194":1,"197":1,"225":1,"242":1,"243":1,"254":1,"255":1,"256":1,"281":39,"290":1},"fqnsFingerprint":"50c7174b26d7ae5ad5153622f7e436905062c1dafc30a5d40c5a47f9aa6a365b"},"b5a56660f9d925e2efdf5b15bebc20d4140a437af3da5d29e886c8131f672912":{"translations":{"python":{"source":"# The code below shows an example of how to instantiate this type.\n# The values are placeholders you should change.\nimport aws_cdk.aws_appsync as appsync\n\nauthorization_config_property = appsync.CfnDataSource.AuthorizationConfigProperty(\n authorization_type=\"authorizationType\",\n\n # the properties below are optional\n aws_iam_config=appsync.CfnDataSource.AwsIamConfigProperty(\n signing_region=\"signingRegion\",\n signing_service_name=\"signingServiceName\"\n )\n)","version":"2"},"csharp":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nusing Amazon.CDK.AWS.AppSync;\n\nvar authorizationConfigProperty = new AuthorizationConfigProperty {\n AuthorizationType = \"authorizationType\",\n\n // the properties below are optional\n AwsIamConfig = new AwsIamConfigProperty {\n SigningRegion = \"signingRegion\",\n SigningServiceName = \"signingServiceName\"\n }\n};","version":"1"},"java":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport software.amazon.awscdk.services.appsync.*;\n\nAuthorizationConfigProperty authorizationConfigProperty = AuthorizationConfigProperty.builder()\n .authorizationType(\"authorizationType\")\n\n // the properties below are optional\n .awsIamConfig(AwsIamConfigProperty.builder()\n .signingRegion(\"signingRegion\")\n .signingServiceName(\"signingServiceName\")\n .build())\n .build();","version":"1"},"go":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport appsync \"github.com/aws-samples/dummy/awscdkawsappsync\"\n\nauthorizationConfigProperty := &AuthorizationConfigProperty{\n\tAuthorizationType: jsii.String(\"authorizationType\"),\n\n\t// the properties below are optional\n\tAwsIamConfig: &AwsIamConfigProperty{\n\t\tSigningRegion: jsii.String(\"signingRegion\"),\n\t\tSigningServiceName: jsii.String(\"signingServiceName\"),\n\t},\n}","version":"1"},"$":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as appsync from '@aws-cdk/aws-appsync';\nconst authorizationConfigProperty: appsync.CfnDataSource.AuthorizationConfigProperty = {\n authorizationType: 'authorizationType',\n\n // the properties below are optional\n awsIamConfig: {\n signingRegion: 'signingRegion',\n signingServiceName: 'signingServiceName',\n },\n};","version":"0"}},"location":{"api":{"api":"type","fqn":"@aws-cdk/aws-appsync.CfnDataSource.AuthorizationConfigProperty"},"field":{"field":"example"}},"didCompile":true,"fqnsReferenced":["@aws-cdk/aws-appsync.CfnDataSource.AuthorizationConfigProperty"],"fullSource":"// Hoisted imports begin after !show marker below\n/// !show\n// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as appsync from '@aws-cdk/aws-appsync';\n/// !hide\n// Hoisted imports ended before !hide marker above\nimport { Construct } from \"@aws-cdk/core\";\nclass MyConstruct extends Construct {\nconstructor(scope: Construct, id: string) {\nsuper(scope, id);\n// Code snippet begins after !show marker below\n/// !show\n\nconst authorizationConfigProperty: appsync.CfnDataSource.AuthorizationConfigProperty = {\n authorizationType: 'authorizationType',\n\n // the properties below are optional\n awsIamConfig: {\n signingRegion: 'signingRegion',\n signingServiceName: 'signingServiceName',\n },\n};\n/// !hide\n// Code snippet ended before !hide marker above\n} }","syntaxKindCounter":{"10":4,"75":9,"153":2,"169":1,"193":2,"225":1,"242":1,"243":1,"254":1,"255":1,"256":1,"281":4,"290":1},"fqnsFingerprint":"621ebc2ef2d45c4872f7f3dccf5447880e086f56ed5499cc3c14a034810a01d7"},"0424c6c4ef28a6fa8fec1f88a02b74a722f9f8ae2318b307d33450a79c955257":{"translations":{"python":{"source":"# The code below shows an example of how to instantiate this type.\n# The values are placeholders you should change.\nimport aws_cdk.aws_appsync as appsync\n\naws_iam_config_property = appsync.CfnDataSource.AwsIamConfigProperty(\n signing_region=\"signingRegion\",\n signing_service_name=\"signingServiceName\"\n)","version":"2"},"csharp":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nusing Amazon.CDK.AWS.AppSync;\n\nvar awsIamConfigProperty = new AwsIamConfigProperty {\n SigningRegion = \"signingRegion\",\n SigningServiceName = \"signingServiceName\"\n};","version":"1"},"java":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport software.amazon.awscdk.services.appsync.*;\n\nAwsIamConfigProperty awsIamConfigProperty = AwsIamConfigProperty.builder()\n .signingRegion(\"signingRegion\")\n .signingServiceName(\"signingServiceName\")\n .build();","version":"1"},"go":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport appsync \"github.com/aws-samples/dummy/awscdkawsappsync\"\n\nawsIamConfigProperty := &AwsIamConfigProperty{\n\tSigningRegion: jsii.String(\"signingRegion\"),\n\tSigningServiceName: jsii.String(\"signingServiceName\"),\n}","version":"1"},"$":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as appsync from '@aws-cdk/aws-appsync';\nconst awsIamConfigProperty: appsync.CfnDataSource.AwsIamConfigProperty = {\n signingRegion: 'signingRegion',\n signingServiceName: 'signingServiceName',\n};","version":"0"}},"location":{"api":{"api":"type","fqn":"@aws-cdk/aws-appsync.CfnDataSource.AwsIamConfigProperty"},"field":{"field":"example"}},"didCompile":true,"fqnsReferenced":["@aws-cdk/aws-appsync.CfnDataSource.AwsIamConfigProperty"],"fullSource":"// Hoisted imports begin after !show marker below\n/// !show\n// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as appsync from '@aws-cdk/aws-appsync';\n/// !hide\n// Hoisted imports ended before !hide marker above\nimport { Construct } from \"@aws-cdk/core\";\nclass MyConstruct extends Construct {\nconstructor(scope: Construct, id: string) {\nsuper(scope, id);\n// Code snippet begins after !show marker below\n/// !show\n\nconst awsIamConfigProperty: appsync.CfnDataSource.AwsIamConfigProperty = {\n signingRegion: 'signingRegion',\n signingServiceName: 'signingServiceName',\n};\n/// !hide\n// Code snippet ended before !hide marker above\n} }","syntaxKindCounter":{"10":3,"75":7,"153":2,"169":1,"193":1,"225":1,"242":1,"243":1,"254":1,"255":1,"256":1,"281":2,"290":1},"fqnsFingerprint":"adc29330139db123c761170b112767c6b2b1535956c436a6eaac828b3230b7db"},"3d7d86e1b06e5ffc1978dab7c28314d6bebe0bc89449e1b48fe1e22acc768ab3":{"translations":{"python":{"source":"# The code below shows an example of how to instantiate this type.\n# The values are placeholders you should change.\nimport aws_cdk.aws_appsync as appsync\n\ndelta_sync_config_property = appsync.CfnDataSource.DeltaSyncConfigProperty(\n base_table_ttl=\"baseTableTtl\",\n delta_sync_table_name=\"deltaSyncTableName\",\n delta_sync_table_ttl=\"deltaSyncTableTtl\"\n)","version":"2"},"csharp":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nusing Amazon.CDK.AWS.AppSync;\n\nvar deltaSyncConfigProperty = new DeltaSyncConfigProperty {\n BaseTableTtl = \"baseTableTtl\",\n DeltaSyncTableName = \"deltaSyncTableName\",\n DeltaSyncTableTtl = \"deltaSyncTableTtl\"\n};","version":"1"},"java":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport software.amazon.awscdk.services.appsync.*;\n\nDeltaSyncConfigProperty deltaSyncConfigProperty = DeltaSyncConfigProperty.builder()\n .baseTableTtl(\"baseTableTtl\")\n .deltaSyncTableName(\"deltaSyncTableName\")\n .deltaSyncTableTtl(\"deltaSyncTableTtl\")\n .build();","version":"1"},"go":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport appsync \"github.com/aws-samples/dummy/awscdkawsappsync\"\n\ndeltaSyncConfigProperty := &DeltaSyncConfigProperty{\n\tBaseTableTtl: jsii.String(\"baseTableTtl\"),\n\tDeltaSyncTableName: jsii.String(\"deltaSyncTableName\"),\n\tDeltaSyncTableTtl: jsii.String(\"deltaSyncTableTtl\"),\n}","version":"1"},"$":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as appsync from '@aws-cdk/aws-appsync';\nconst deltaSyncConfigProperty: appsync.CfnDataSource.DeltaSyncConfigProperty = {\n baseTableTtl: 'baseTableTtl',\n deltaSyncTableName: 'deltaSyncTableName',\n deltaSyncTableTtl: 'deltaSyncTableTtl',\n};","version":"0"}},"location":{"api":{"api":"type","fqn":"@aws-cdk/aws-appsync.CfnDataSource.DeltaSyncConfigProperty"},"field":{"field":"example"}},"didCompile":true,"fqnsReferenced":["@aws-cdk/aws-appsync.CfnDataSource.DeltaSyncConfigProperty"],"fullSource":"// Hoisted imports begin after !show marker below\n/// !show\n// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as appsync from '@aws-cdk/aws-appsync';\n/// !hide\n// Hoisted imports ended before !hide marker above\nimport { Construct } from \"@aws-cdk/core\";\nclass MyConstruct extends Construct {\nconstructor(scope: Construct, id: string) {\nsuper(scope, id);\n// Code snippet begins after !show marker below\n/// !show\n\nconst deltaSyncConfigProperty: appsync.CfnDataSource.DeltaSyncConfigProperty = {\n baseTableTtl: 'baseTableTtl',\n deltaSyncTableName: 'deltaSyncTableName',\n deltaSyncTableTtl: 'deltaSyncTableTtl',\n};\n/// !hide\n// Code snippet ended before !hide marker above\n} }","syntaxKindCounter":{"10":4,"75":8,"153":2,"169":1,"193":1,"225":1,"242":1,"243":1,"254":1,"255":1,"256":1,"281":3,"290":1},"fqnsFingerprint":"b3bfa97ada56a65db7c217e041ecb8e38642daf4098b6d19e76560c587b8b07c"},"a5748611de9701a0c48525c86dda98629d494127a217e2d0563eec3397f5526d":{"translations":{"python":{"source":"# The code below shows an example of how to instantiate this type.\n# The values are placeholders you should change.\nimport aws_cdk.aws_appsync as appsync\n\ndynamo_dBConfig_property = appsync.CfnDataSource.DynamoDBConfigProperty(\n aws_region=\"awsRegion\",\n table_name=\"tableName\",\n\n # the properties below are optional\n delta_sync_config=appsync.CfnDataSource.DeltaSyncConfigProperty(\n base_table_ttl=\"baseTableTtl\",\n delta_sync_table_name=\"deltaSyncTableName\",\n delta_sync_table_ttl=\"deltaSyncTableTtl\"\n ),\n use_caller_credentials=False,\n versioned=False\n)","version":"2"},"csharp":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nusing Amazon.CDK.AWS.AppSync;\n\nvar dynamoDBConfigProperty = new DynamoDBConfigProperty {\n AwsRegion = \"awsRegion\",\n TableName = \"tableName\",\n\n // the properties below are optional\n DeltaSyncConfig = new DeltaSyncConfigProperty {\n BaseTableTtl = \"baseTableTtl\",\n DeltaSyncTableName = \"deltaSyncTableName\",\n DeltaSyncTableTtl = \"deltaSyncTableTtl\"\n },\n UseCallerCredentials = false,\n Versioned = false\n};","version":"1"},"java":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport software.amazon.awscdk.services.appsync.*;\n\nDynamoDBConfigProperty dynamoDBConfigProperty = DynamoDBConfigProperty.builder()\n .awsRegion(\"awsRegion\")\n .tableName(\"tableName\")\n\n // the properties below are optional\n .deltaSyncConfig(DeltaSyncConfigProperty.builder()\n .baseTableTtl(\"baseTableTtl\")\n .deltaSyncTableName(\"deltaSyncTableName\")\n .deltaSyncTableTtl(\"deltaSyncTableTtl\")\n .build())\n .useCallerCredentials(false)\n .versioned(false)\n .build();","version":"1"},"go":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport appsync \"github.com/aws-samples/dummy/awscdkawsappsync\"\n\ndynamoDBConfigProperty := &DynamoDBConfigProperty{\n\tAwsRegion: jsii.String(\"awsRegion\"),\n\tTableName: jsii.String(\"tableName\"),\n\n\t// the properties below are optional\n\tDeltaSyncConfig: &DeltaSyncConfigProperty{\n\t\tBaseTableTtl: jsii.String(\"baseTableTtl\"),\n\t\tDeltaSyncTableName: jsii.String(\"deltaSyncTableName\"),\n\t\tDeltaSyncTableTtl: jsii.String(\"deltaSyncTableTtl\"),\n\t},\n\tUseCallerCredentials: jsii.Boolean(false),\n\tVersioned: jsii.Boolean(false),\n}","version":"1"},"$":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as appsync from '@aws-cdk/aws-appsync';\nconst dynamoDBConfigProperty: appsync.CfnDataSource.DynamoDBConfigProperty = {\n awsRegion: 'awsRegion',\n tableName: 'tableName',\n\n // the properties below are optional\n deltaSyncConfig: {\n baseTableTtl: 'baseTableTtl',\n deltaSyncTableName: 'deltaSyncTableName',\n deltaSyncTableTtl: 'deltaSyncTableTtl',\n },\n useCallerCredentials: false,\n versioned: false,\n};","version":"0"}},"location":{"api":{"api":"type","fqn":"@aws-cdk/aws-appsync.CfnDataSource.DynamoDBConfigProperty"},"field":{"field":"example"}},"didCompile":true,"fqnsReferenced":["@aws-cdk/aws-appsync.CfnDataSource.DynamoDBConfigProperty"],"fullSource":"// Hoisted imports begin after !show marker below\n/// !show\n// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as appsync from '@aws-cdk/aws-appsync';\n/// !hide\n// Hoisted imports ended before !hide marker above\nimport { Construct } from \"@aws-cdk/core\";\nclass MyConstruct extends Construct {\nconstructor(scope: Construct, id: string) {\nsuper(scope, id);\n// Code snippet begins after !show marker below\n/// !show\n\nconst dynamoDBConfigProperty: appsync.CfnDataSource.DynamoDBConfigProperty = {\n awsRegion: 'awsRegion',\n tableName: 'tableName',\n\n // the properties below are optional\n deltaSyncConfig: {\n baseTableTtl: 'baseTableTtl',\n deltaSyncTableName: 'deltaSyncTableName',\n deltaSyncTableTtl: 'deltaSyncTableTtl',\n },\n useCallerCredentials: false,\n versioned: false,\n};\n/// !hide\n// Code snippet ended before !hide marker above\n} }","syntaxKindCounter":{"10":6,"75":13,"91":2,"153":2,"169":1,"193":2,"225":1,"242":1,"243":1,"254":1,"255":1,"256":1,"281":8,"290":1},"fqnsFingerprint":"ef1dbfc3dd1bdcdc7055cb432d99b769fadc6c66e033f09ff9846264b964f3e1"},"95f0b00f7bda8223abfb1e28731e2fd98ee0abe61f5eb84ea22837c95b8aabd9":{"translations":{"python":{"source":"# The code below shows an example of how to instantiate this type.\n# The values are placeholders you should change.\nimport aws_cdk.aws_appsync as appsync\n\nelasticsearch_config_property = appsync.CfnDataSource.ElasticsearchConfigProperty(\n aws_region=\"awsRegion\",\n endpoint=\"endpoint\"\n)","version":"2"},"csharp":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nusing Amazon.CDK.AWS.AppSync;\n\nvar elasticsearchConfigProperty = new ElasticsearchConfigProperty {\n AwsRegion = \"awsRegion\",\n Endpoint = \"endpoint\"\n};","version":"1"},"java":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport software.amazon.awscdk.services.appsync.*;\n\nElasticsearchConfigProperty elasticsearchConfigProperty = ElasticsearchConfigProperty.builder()\n .awsRegion(\"awsRegion\")\n .endpoint(\"endpoint\")\n .build();","version":"1"},"go":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport appsync \"github.com/aws-samples/dummy/awscdkawsappsync\"\n\nelasticsearchConfigProperty := &ElasticsearchConfigProperty{\n\tAwsRegion: jsii.String(\"awsRegion\"),\n\tEndpoint: jsii.String(\"endpoint\"),\n}","version":"1"},"$":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as appsync from '@aws-cdk/aws-appsync';\nconst elasticsearchConfigProperty: appsync.CfnDataSource.ElasticsearchConfigProperty = {\n awsRegion: 'awsRegion',\n endpoint: 'endpoint',\n};","version":"0"}},"location":{"api":{"api":"type","fqn":"@aws-cdk/aws-appsync.CfnDataSource.ElasticsearchConfigProperty"},"field":{"field":"example"}},"didCompile":true,"fqnsReferenced":["@aws-cdk/aws-appsync.CfnDataSource.ElasticsearchConfigProperty"],"fullSource":"// Hoisted imports begin after !show marker below\n/// !show\n// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as appsync from '@aws-cdk/aws-appsync';\n/// !hide\n// Hoisted imports ended before !hide marker above\nimport { Construct } from \"@aws-cdk/core\";\nclass MyConstruct extends Construct {\nconstructor(scope: Construct, id: string) {\nsuper(scope, id);\n// Code snippet begins after !show marker below\n/// !show\n\nconst elasticsearchConfigProperty: appsync.CfnDataSource.ElasticsearchConfigProperty = {\n awsRegion: 'awsRegion',\n endpoint: 'endpoint',\n};\n/// !hide\n// Code snippet ended before !hide marker above\n} }","syntaxKindCounter":{"10":3,"75":7,"153":2,"169":1,"193":1,"225":1,"242":1,"243":1,"254":1,"255":1,"256":1,"281":2,"290":1},"fqnsFingerprint":"0e7bcdc0645f868be8141e36b7c96908c02ab4af71366c62dc45bd742dc6719a"},"e3c55a86343ace11ecaac72fb17861d84613079be7b784dfe4dd2c929945a63d":{"translations":{"python":{"source":"# The code below shows an example of how to instantiate this type.\n# The values are placeholders you should change.\nimport aws_cdk.aws_appsync as appsync\n\nevent_bridge_config_property = appsync.CfnDataSource.EventBridgeConfigProperty(\n event_bus_arn=\"eventBusArn\"\n)","version":"2"},"csharp":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nusing Amazon.CDK.AWS.AppSync;\n\nvar eventBridgeConfigProperty = new EventBridgeConfigProperty {\n EventBusArn = \"eventBusArn\"\n};","version":"1"},"java":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport software.amazon.awscdk.services.appsync.*;\n\nEventBridgeConfigProperty eventBridgeConfigProperty = EventBridgeConfigProperty.builder()\n .eventBusArn(\"eventBusArn\")\n .build();","version":"1"},"go":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport appsync \"github.com/aws-samples/dummy/awscdkawsappsync\"\n\neventBridgeConfigProperty := &EventBridgeConfigProperty{\n\tEventBusArn: jsii.String(\"eventBusArn\"),\n}","version":"1"},"$":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as appsync from '@aws-cdk/aws-appsync';\nconst eventBridgeConfigProperty: appsync.CfnDataSource.EventBridgeConfigProperty = {\n eventBusArn: 'eventBusArn',\n};","version":"0"}},"location":{"api":{"api":"type","fqn":"@aws-cdk/aws-appsync.CfnDataSource.EventBridgeConfigProperty"},"field":{"field":"example"}},"didCompile":true,"fqnsReferenced":["@aws-cdk/aws-appsync.CfnDataSource.EventBridgeConfigProperty"],"fullSource":"// Hoisted imports begin after !show marker below\n/// !show\n// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as appsync from '@aws-cdk/aws-appsync';\n/// !hide\n// Hoisted imports ended before !hide marker above\nimport { Construct } from \"@aws-cdk/core\";\nclass MyConstruct extends Construct {\nconstructor(scope: Construct, id: string) {\nsuper(scope, id);\n// Code snippet begins after !show marker below\n/// !show\n\nconst eventBridgeConfigProperty: appsync.CfnDataSource.EventBridgeConfigProperty = {\n eventBusArn: 'eventBusArn',\n};\n/// !hide\n// Code snippet ended before !hide marker above\n} }","syntaxKindCounter":{"10":2,"75":6,"153":2,"169":1,"193":1,"225":1,"242":1,"243":1,"254":1,"255":1,"256":1,"281":1,"290":1},"fqnsFingerprint":"dd7d2baef0ab86c5f82b313255867df9daccc942588b5a60fa9019ebe8d73799"},"d8f81a50ffac551f604bb78557716939bba9c7d85d7ff5013f4a2adbbc5710d7":{"translations":{"python":{"source":"# The code below shows an example of how to instantiate this type.\n# The values are placeholders you should change.\nimport aws_cdk.aws_appsync as appsync\n\nhttp_config_property = appsync.CfnDataSource.HttpConfigProperty(\n endpoint=\"endpoint\",\n\n # the properties below are optional\n authorization_config=appsync.CfnDataSource.AuthorizationConfigProperty(\n authorization_type=\"authorizationType\",\n\n # the properties below are optional\n aws_iam_config=appsync.CfnDataSource.AwsIamConfigProperty(\n signing_region=\"signingRegion\",\n signing_service_name=\"signingServiceName\"\n )\n )\n)","version":"2"},"csharp":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nusing Amazon.CDK.AWS.AppSync;\n\nvar httpConfigProperty = new HttpConfigProperty {\n Endpoint = \"endpoint\",\n\n // the properties below are optional\n AuthorizationConfig = new AuthorizationConfigProperty {\n AuthorizationType = \"authorizationType\",\n\n // the properties below are optional\n AwsIamConfig = new AwsIamConfigProperty {\n SigningRegion = \"signingRegion\",\n SigningServiceName = \"signingServiceName\"\n }\n }\n};","version":"1"},"java":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport software.amazon.awscdk.services.appsync.*;\n\nHttpConfigProperty httpConfigProperty = HttpConfigProperty.builder()\n .endpoint(\"endpoint\")\n\n // the properties below are optional\n .authorizationConfig(AuthorizationConfigProperty.builder()\n .authorizationType(\"authorizationType\")\n\n // the properties below are optional\n .awsIamConfig(AwsIamConfigProperty.builder()\n .signingRegion(\"signingRegion\")\n .signingServiceName(\"signingServiceName\")\n .build())\n .build())\n .build();","version":"1"},"go":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport appsync \"github.com/aws-samples/dummy/awscdkawsappsync\"\n\nhttpConfigProperty := &HttpConfigProperty{\n\tEndpoint: jsii.String(\"endpoint\"),\n\n\t// the properties below are optional\n\tAuthorizationConfig: &AuthorizationConfigProperty{\n\t\tAuthorizationType: jsii.String(\"authorizationType\"),\n\n\t\t// the properties below are optional\n\t\tAwsIamConfig: &AwsIamConfigProperty{\n\t\t\tSigningRegion: jsii.String(\"signingRegion\"),\n\t\t\tSigningServiceName: jsii.String(\"signingServiceName\"),\n\t\t},\n\t},\n}","version":"1"},"$":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as appsync from '@aws-cdk/aws-appsync';\nconst httpConfigProperty: appsync.CfnDataSource.HttpConfigProperty = {\n endpoint: 'endpoint',\n\n // the properties below are optional\n authorizationConfig: {\n authorizationType: 'authorizationType',\n\n // the properties below are optional\n awsIamConfig: {\n signingRegion: 'signingRegion',\n signingServiceName: 'signingServiceName',\n },\n },\n};","version":"0"}},"location":{"api":{"api":"type","fqn":"@aws-cdk/aws-appsync.CfnDataSource.HttpConfigProperty"},"field":{"field":"example"}},"didCompile":true,"fqnsReferenced":["@aws-cdk/aws-appsync.CfnDataSource.HttpConfigProperty"],"fullSource":"// Hoisted imports begin after !show marker below\n/// !show\n// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as appsync from '@aws-cdk/aws-appsync';\n/// !hide\n// Hoisted imports ended before !hide marker above\nimport { Construct } from \"@aws-cdk/core\";\nclass MyConstruct extends Construct {\nconstructor(scope: Construct, id: string) {\nsuper(scope, id);\n// Code snippet begins after !show marker below\n/// !show\n\nconst httpConfigProperty: appsync.CfnDataSource.HttpConfigProperty = {\n endpoint: 'endpoint',\n\n // the properties below are optional\n authorizationConfig: {\n authorizationType: 'authorizationType',\n\n // the properties below are optional\n awsIamConfig: {\n signingRegion: 'signingRegion',\n signingServiceName: 'signingServiceName',\n },\n },\n};\n/// !hide\n// Code snippet ended before !hide marker above\n} }","syntaxKindCounter":{"10":5,"75":11,"153":2,"169":1,"193":3,"225":1,"242":1,"243":1,"254":1,"255":1,"256":1,"281":6,"290":1},"fqnsFingerprint":"aff83958337ea021e9c5a746f8581fe58e96e5b76f488f333af9ac3b01533713"},"3fb353564547598465237c95d5f1b86000ee5eb348f2edf53fcfbadd752ba7ed":{"translations":{"python":{"source":"# The code below shows an example of how to instantiate this type.\n# The values are placeholders you should change.\nimport aws_cdk.aws_appsync as appsync\n\nlambda_config_property = appsync.CfnDataSource.LambdaConfigProperty(\n lambda_function_arn=\"lambdaFunctionArn\"\n)","version":"2"},"csharp":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nusing Amazon.CDK.AWS.AppSync;\n\nvar lambdaConfigProperty = new LambdaConfigProperty {\n LambdaFunctionArn = \"lambdaFunctionArn\"\n};","version":"1"},"java":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport software.amazon.awscdk.services.appsync.*;\n\nLambdaConfigProperty lambdaConfigProperty = LambdaConfigProperty.builder()\n .lambdaFunctionArn(\"lambdaFunctionArn\")\n .build();","version":"1"},"go":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport appsync \"github.com/aws-samples/dummy/awscdkawsappsync\"\n\nlambdaConfigProperty := &LambdaConfigProperty{\n\tLambdaFunctionArn: jsii.String(\"lambdaFunctionArn\"),\n}","version":"1"},"$":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as appsync from '@aws-cdk/aws-appsync';\nconst lambdaConfigProperty: appsync.CfnDataSource.LambdaConfigProperty = {\n lambdaFunctionArn: 'lambdaFunctionArn',\n};","version":"0"}},"location":{"api":{"api":"type","fqn":"@aws-cdk/aws-appsync.CfnDataSource.LambdaConfigProperty"},"field":{"field":"example"}},"didCompile":true,"fqnsReferenced":["@aws-cdk/aws-appsync.CfnDataSource.LambdaConfigProperty"],"fullSource":"// Hoisted imports begin after !show marker below\n/// !show\n// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as appsync from '@aws-cdk/aws-appsync';\n/// !hide\n// Hoisted imports ended before !hide marker above\nimport { Construct } from \"@aws-cdk/core\";\nclass MyConstruct extends Construct {\nconstructor(scope: Construct, id: string) {\nsuper(scope, id);\n// Code snippet begins after !show marker below\n/// !show\n\nconst lambdaConfigProperty: appsync.CfnDataSource.LambdaConfigProperty = {\n lambdaFunctionArn: 'lambdaFunctionArn',\n};\n/// !hide\n// Code snippet ended before !hide marker above\n} }","syntaxKindCounter":{"10":2,"75":6,"153":2,"169":1,"193":1,"225":1,"242":1,"243":1,"254":1,"255":1,"256":1,"281":1,"290":1},"fqnsFingerprint":"6054570626390898851e3a08d4616cfe28c75a8d10eaf7fd518f56c6384ac34d"},"96ed4f57866f2c328213fbeed696fb6e932af3647ed871a0421513615390ba55":{"translations":{"python":{"source":"# The code below shows an example of how to instantiate this type.\n# The values are placeholders you should change.\nimport aws_cdk.aws_appsync as appsync\n\nopen_search_service_config_property = appsync.CfnDataSource.OpenSearchServiceConfigProperty(\n aws_region=\"awsRegion\",\n endpoint=\"endpoint\"\n)","version":"2"},"csharp":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nusing Amazon.CDK.AWS.AppSync;\n\nvar openSearchServiceConfigProperty = new OpenSearchServiceConfigProperty {\n AwsRegion = \"awsRegion\",\n Endpoint = \"endpoint\"\n};","version":"1"},"java":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport software.amazon.awscdk.services.appsync.*;\n\nOpenSearchServiceConfigProperty openSearchServiceConfigProperty = OpenSearchServiceConfigProperty.builder()\n .awsRegion(\"awsRegion\")\n .endpoint(\"endpoint\")\n .build();","version":"1"},"go":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport appsync \"github.com/aws-samples/dummy/awscdkawsappsync\"\n\nopenSearchServiceConfigProperty := &OpenSearchServiceConfigProperty{\n\tAwsRegion: jsii.String(\"awsRegion\"),\n\tEndpoint: jsii.String(\"endpoint\"),\n}","version":"1"},"$":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as appsync from '@aws-cdk/aws-appsync';\nconst openSearchServiceConfigProperty: appsync.CfnDataSource.OpenSearchServiceConfigProperty = {\n awsRegion: 'awsRegion',\n endpoint: 'endpoint',\n};","version":"0"}},"location":{"api":{"api":"type","fqn":"@aws-cdk/aws-appsync.CfnDataSource.OpenSearchServiceConfigProperty"},"field":{"field":"example"}},"didCompile":true,"fqnsReferenced":["@aws-cdk/aws-appsync.CfnDataSource.OpenSearchServiceConfigProperty"],"fullSource":"// Hoisted imports begin after !show marker below\n/// !show\n// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as appsync from '@aws-cdk/aws-appsync';\n/// !hide\n// Hoisted imports ended before !hide marker above\nimport { Construct } from \"@aws-cdk/core\";\nclass MyConstruct extends Construct {\nconstructor(scope: Construct, id: string) {\nsuper(scope, id);\n// Code snippet begins after !show marker below\n/// !show\n\nconst openSearchServiceConfigProperty: appsync.CfnDataSource.OpenSearchServiceConfigProperty = {\n awsRegion: 'awsRegion',\n endpoint: 'endpoint',\n};\n/// !hide\n// Code snippet ended before !hide marker above\n} }","syntaxKindCounter":{"10":3,"75":7,"153":2,"169":1,"193":1,"225":1,"242":1,"243":1,"254":1,"255":1,"256":1,"281":2,"290":1},"fqnsFingerprint":"c493118071b23886dbdeb56e3e9596285b2279067d797419db5f6a280a38dd7f"},"1e96f6a2108578a9f617ed121e826f596e575b9b9154a96b017310709a135629":{"translations":{"python":{"source":"# The code below shows an example of how to instantiate this type.\n# The values are placeholders you should change.\nimport aws_cdk.aws_appsync as appsync\n\nrds_http_endpoint_config_property = appsync.CfnDataSource.RdsHttpEndpointConfigProperty(\n aws_region=\"awsRegion\",\n aws_secret_store_arn=\"awsSecretStoreArn\",\n db_cluster_identifier=\"dbClusterIdentifier\",\n\n # the properties below are optional\n database_name=\"databaseName\",\n schema=\"schema\"\n)","version":"2"},"csharp":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nusing Amazon.CDK.AWS.AppSync;\n\nvar rdsHttpEndpointConfigProperty = new RdsHttpEndpointConfigProperty {\n AwsRegion = \"awsRegion\",\n AwsSecretStoreArn = \"awsSecretStoreArn\",\n DbClusterIdentifier = \"dbClusterIdentifier\",\n\n // the properties below are optional\n DatabaseName = \"databaseName\",\n Schema = \"schema\"\n};","version":"1"},"java":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport software.amazon.awscdk.services.appsync.*;\n\nRdsHttpEndpointConfigProperty rdsHttpEndpointConfigProperty = RdsHttpEndpointConfigProperty.builder()\n .awsRegion(\"awsRegion\")\n .awsSecretStoreArn(\"awsSecretStoreArn\")\n .dbClusterIdentifier(\"dbClusterIdentifier\")\n\n // the properties below are optional\n .databaseName(\"databaseName\")\n .schema(\"schema\")\n .build();","version":"1"},"go":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport appsync \"github.com/aws-samples/dummy/awscdkawsappsync\"\n\nrdsHttpEndpointConfigProperty := &RdsHttpEndpointConfigProperty{\n\tAwsRegion: jsii.String(\"awsRegion\"),\n\tAwsSecretStoreArn: jsii.String(\"awsSecretStoreArn\"),\n\tDbClusterIdentifier: jsii.String(\"dbClusterIdentifier\"),\n\n\t// the properties below are optional\n\tDatabaseName: jsii.String(\"databaseName\"),\n\tSchema: jsii.String(\"schema\"),\n}","version":"1"},"$":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as appsync from '@aws-cdk/aws-appsync';\nconst rdsHttpEndpointConfigProperty: appsync.CfnDataSource.RdsHttpEndpointConfigProperty = {\n awsRegion: 'awsRegion',\n awsSecretStoreArn: 'awsSecretStoreArn',\n dbClusterIdentifier: 'dbClusterIdentifier',\n\n // the properties below are optional\n databaseName: 'databaseName',\n schema: 'schema',\n};","version":"0"}},"location":{"api":{"api":"type","fqn":"@aws-cdk/aws-appsync.CfnDataSource.RdsHttpEndpointConfigProperty"},"field":{"field":"example"}},"didCompile":true,"fqnsReferenced":["@aws-cdk/aws-appsync.CfnDataSource.RdsHttpEndpointConfigProperty"],"fullSource":"// Hoisted imports begin after !show marker below\n/// !show\n// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as appsync from '@aws-cdk/aws-appsync';\n/// !hide\n// Hoisted imports ended before !hide marker above\nimport { Construct } from \"@aws-cdk/core\";\nclass MyConstruct extends Construct {\nconstructor(scope: Construct, id: string) {\nsuper(scope, id);\n// Code snippet begins after !show marker below\n/// !show\n\nconst rdsHttpEndpointConfigProperty: appsync.CfnDataSource.RdsHttpEndpointConfigProperty = {\n awsRegion: 'awsRegion',\n awsSecretStoreArn: 'awsSecretStoreArn',\n dbClusterIdentifier: 'dbClusterIdentifier',\n\n // the properties below are optional\n databaseName: 'databaseName',\n schema: 'schema',\n};\n/// !hide\n// Code snippet ended before !hide marker above\n} }","syntaxKindCounter":{"10":6,"75":10,"153":2,"169":1,"193":1,"225":1,"242":1,"243":1,"254":1,"255":1,"256":1,"281":5,"290":1},"fqnsFingerprint":"897ff0af50c5e29f25242891d6d5016fa9f0bd47423965ef7a3b1249c10ed160"},"04be4c61a207daddbb19ca68b7ec25360d39a9b69741c6347ab5b7313e2e4315":{"translations":{"python":{"source":"# The code below shows an example of how to instantiate this type.\n# The values are placeholders you should change.\nimport aws_cdk.aws_appsync as appsync\n\nrelational_database_config_property = appsync.CfnDataSource.RelationalDatabaseConfigProperty(\n relational_database_source_type=\"relationalDatabaseSourceType\",\n\n # the properties below are optional\n rds_http_endpoint_config=appsync.CfnDataSource.RdsHttpEndpointConfigProperty(\n aws_region=\"awsRegion\",\n aws_secret_store_arn=\"awsSecretStoreArn\",\n db_cluster_identifier=\"dbClusterIdentifier\",\n\n # the properties below are optional\n database_name=\"databaseName\",\n schema=\"schema\"\n )\n)","version":"2"},"csharp":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nusing Amazon.CDK.AWS.AppSync;\n\nvar relationalDatabaseConfigProperty = new RelationalDatabaseConfigProperty {\n RelationalDatabaseSourceType = \"relationalDatabaseSourceType\",\n\n // the properties below are optional\n RdsHttpEndpointConfig = new RdsHttpEndpointConfigProperty {\n AwsRegion = \"awsRegion\",\n AwsSecretStoreArn = \"awsSecretStoreArn\",\n DbClusterIdentifier = \"dbClusterIdentifier\",\n\n // the properties below are optional\n DatabaseName = \"databaseName\",\n Schema = \"schema\"\n }\n};","version":"1"},"java":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport software.amazon.awscdk.services.appsync.*;\n\nRelationalDatabaseConfigProperty relationalDatabaseConfigProperty = RelationalDatabaseConfigProperty.builder()\n .relationalDatabaseSourceType(\"relationalDatabaseSourceType\")\n\n // the properties below are optional\n .rdsHttpEndpointConfig(RdsHttpEndpointConfigProperty.builder()\n .awsRegion(\"awsRegion\")\n .awsSecretStoreArn(\"awsSecretStoreArn\")\n .dbClusterIdentifier(\"dbClusterIdentifier\")\n\n // the properties below are optional\n .databaseName(\"databaseName\")\n .schema(\"schema\")\n .build())\n .build();","version":"1"},"go":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport appsync \"github.com/aws-samples/dummy/awscdkawsappsync\"\n\nrelationalDatabaseConfigProperty := &RelationalDatabaseConfigProperty{\n\tRelationalDatabaseSourceType: jsii.String(\"relationalDatabaseSourceType\"),\n\n\t// the properties below are optional\n\tRdsHttpEndpointConfig: &RdsHttpEndpointConfigProperty{\n\t\tAwsRegion: jsii.String(\"awsRegion\"),\n\t\tAwsSecretStoreArn: jsii.String(\"awsSecretStoreArn\"),\n\t\tDbClusterIdentifier: jsii.String(\"dbClusterIdentifier\"),\n\n\t\t// the properties below are optional\n\t\tDatabaseName: jsii.String(\"databaseName\"),\n\t\tSchema: jsii.String(\"schema\"),\n\t},\n}","version":"1"},"$":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as appsync from '@aws-cdk/aws-appsync';\nconst relationalDatabaseConfigProperty: appsync.CfnDataSource.RelationalDatabaseConfigProperty = {\n relationalDatabaseSourceType: 'relationalDatabaseSourceType',\n\n // the properties below are optional\n rdsHttpEndpointConfig: {\n awsRegion: 'awsRegion',\n awsSecretStoreArn: 'awsSecretStoreArn',\n dbClusterIdentifier: 'dbClusterIdentifier',\n\n // the properties below are optional\n databaseName: 'databaseName',\n schema: 'schema',\n },\n};","version":"0"}},"location":{"api":{"api":"type","fqn":"@aws-cdk/aws-appsync.CfnDataSource.RelationalDatabaseConfigProperty"},"field":{"field":"example"}},"didCompile":true,"fqnsReferenced":["@aws-cdk/aws-appsync.CfnDataSource.RelationalDatabaseConfigProperty"],"fullSource":"// Hoisted imports begin after !show marker below\n/// !show\n// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as appsync from '@aws-cdk/aws-appsync';\n/// !hide\n// Hoisted imports ended before !hide marker above\nimport { Construct } from \"@aws-cdk/core\";\nclass MyConstruct extends Construct {\nconstructor(scope: Construct, id: string) {\nsuper(scope, id);\n// Code snippet begins after !show marker below\n/// !show\n\nconst relationalDatabaseConfigProperty: appsync.CfnDataSource.RelationalDatabaseConfigProperty = {\n relationalDatabaseSourceType: 'relationalDatabaseSourceType',\n\n // the properties below are optional\n rdsHttpEndpointConfig: {\n awsRegion: 'awsRegion',\n awsSecretStoreArn: 'awsSecretStoreArn',\n dbClusterIdentifier: 'dbClusterIdentifier',\n\n // the properties below are optional\n databaseName: 'databaseName',\n schema: 'schema',\n },\n};\n/// !hide\n// Code snippet ended before !hide marker above\n} }","syntaxKindCounter":{"10":7,"75":12,"153":2,"169":1,"193":2,"225":1,"242":1,"243":1,"254":1,"255":1,"256":1,"281":7,"290":1},"fqnsFingerprint":"e0846a7b7ebfe3405f2b45c32526d574b9aa61ac7ec1a7f123689785ec60e505"},"72a4140d5dfb944d08b21361eb081e762b63a426a7f9977ab682b758d816afe2":{"translations":{"python":{"source":"# The code below shows an example of how to instantiate this type.\n# The values are placeholders you should change.\nimport aws_cdk.aws_appsync as appsync\n\ncfn_data_source_props = appsync.CfnDataSourceProps(\n api_id=\"apiId\",\n name=\"name\",\n type=\"type\",\n\n # the properties below are optional\n description=\"description\",\n dynamo_db_config=appsync.CfnDataSource.DynamoDBConfigProperty(\n aws_region=\"awsRegion\",\n table_name=\"tableName\",\n\n # the properties below are optional\n delta_sync_config=appsync.CfnDataSource.DeltaSyncConfigProperty(\n base_table_ttl=\"baseTableTtl\",\n delta_sync_table_name=\"deltaSyncTableName\",\n delta_sync_table_ttl=\"deltaSyncTableTtl\"\n ),\n use_caller_credentials=False,\n versioned=False\n ),\n elasticsearch_config=appsync.CfnDataSource.ElasticsearchConfigProperty(\n aws_region=\"awsRegion\",\n endpoint=\"endpoint\"\n ),\n event_bridge_config=appsync.CfnDataSource.EventBridgeConfigProperty(\n event_bus_arn=\"eventBusArn\"\n ),\n http_config=appsync.CfnDataSource.HttpConfigProperty(\n endpoint=\"endpoint\",\n\n # the properties below are optional\n authorization_config=appsync.CfnDataSource.AuthorizationConfigProperty(\n authorization_type=\"authorizationType\",\n\n # the properties below are optional\n aws_iam_config=appsync.CfnDataSource.AwsIamConfigProperty(\n signing_region=\"signingRegion\",\n signing_service_name=\"signingServiceName\"\n )\n )\n ),\n lambda_config=appsync.CfnDataSource.LambdaConfigProperty(\n lambda_function_arn=\"lambdaFunctionArn\"\n ),\n open_search_service_config=appsync.CfnDataSource.OpenSearchServiceConfigProperty(\n aws_region=\"awsRegion\",\n endpoint=\"endpoint\"\n ),\n relational_database_config=appsync.CfnDataSource.RelationalDatabaseConfigProperty(\n relational_database_source_type=\"relationalDatabaseSourceType\",\n\n # the properties below are optional\n rds_http_endpoint_config=appsync.CfnDataSource.RdsHttpEndpointConfigProperty(\n aws_region=\"awsRegion\",\n aws_secret_store_arn=\"awsSecretStoreArn\",\n db_cluster_identifier=\"dbClusterIdentifier\",\n\n # the properties below are optional\n database_name=\"databaseName\",\n schema=\"schema\"\n )\n ),\n service_role_arn=\"serviceRoleArn\"\n)","version":"2"},"csharp":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nusing Amazon.CDK.AWS.AppSync;\n\nvar cfnDataSourceProps = new CfnDataSourceProps {\n ApiId = \"apiId\",\n Name = \"name\",\n Type = \"type\",\n\n // the properties below are optional\n Description = \"description\",\n DynamoDbConfig = new DynamoDBConfigProperty {\n AwsRegion = \"awsRegion\",\n TableName = \"tableName\",\n\n // the properties below are optional\n DeltaSyncConfig = new DeltaSyncConfigProperty {\n BaseTableTtl = \"baseTableTtl\",\n DeltaSyncTableName = \"deltaSyncTableName\",\n DeltaSyncTableTtl = \"deltaSyncTableTtl\"\n },\n UseCallerCredentials = false,\n Versioned = false\n },\n ElasticsearchConfig = new ElasticsearchConfigProperty {\n AwsRegion = \"awsRegion\",\n Endpoint = \"endpoint\"\n },\n EventBridgeConfig = new EventBridgeConfigProperty {\n EventBusArn = \"eventBusArn\"\n },\n HttpConfig = new HttpConfigProperty {\n Endpoint = \"endpoint\",\n\n // the properties below are optional\n AuthorizationConfig = new AuthorizationConfigProperty {\n AuthorizationType = \"authorizationType\",\n\n // the properties below are optional\n AwsIamConfig = new AwsIamConfigProperty {\n SigningRegion = \"signingRegion\",\n SigningServiceName = \"signingServiceName\"\n }\n }\n },\n LambdaConfig = new LambdaConfigProperty {\n LambdaFunctionArn = \"lambdaFunctionArn\"\n },\n OpenSearchServiceConfig = new OpenSearchServiceConfigProperty {\n AwsRegion = \"awsRegion\",\n Endpoint = \"endpoint\"\n },\n RelationalDatabaseConfig = new RelationalDatabaseConfigProperty {\n RelationalDatabaseSourceType = \"relationalDatabaseSourceType\",\n\n // the properties below are optional\n RdsHttpEndpointConfig = new RdsHttpEndpointConfigProperty {\n AwsRegion = \"awsRegion\",\n AwsSecretStoreArn = \"awsSecretStoreArn\",\n DbClusterIdentifier = \"dbClusterIdentifier\",\n\n // the properties below are optional\n DatabaseName = \"databaseName\",\n Schema = \"schema\"\n }\n },\n ServiceRoleArn = \"serviceRoleArn\"\n};","version":"1"},"java":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport software.amazon.awscdk.services.appsync.*;\n\nCfnDataSourceProps cfnDataSourceProps = CfnDataSourceProps.builder()\n .apiId(\"apiId\")\n .name(\"name\")\n .type(\"type\")\n\n // the properties below are optional\n .description(\"description\")\n .dynamoDbConfig(DynamoDBConfigProperty.builder()\n .awsRegion(\"awsRegion\")\n .tableName(\"tableName\")\n\n // the properties below are optional\n .deltaSyncConfig(DeltaSyncConfigProperty.builder()\n .baseTableTtl(\"baseTableTtl\")\n .deltaSyncTableName(\"deltaSyncTableName\")\n .deltaSyncTableTtl(\"deltaSyncTableTtl\")\n .build())\n .useCallerCredentials(false)\n .versioned(false)\n .build())\n .elasticsearchConfig(ElasticsearchConfigProperty.builder()\n .awsRegion(\"awsRegion\")\n .endpoint(\"endpoint\")\n .build())\n .eventBridgeConfig(EventBridgeConfigProperty.builder()\n .eventBusArn(\"eventBusArn\")\n .build())\n .httpConfig(HttpConfigProperty.builder()\n .endpoint(\"endpoint\")\n\n // the properties below are optional\n .authorizationConfig(AuthorizationConfigProperty.builder()\n .authorizationType(\"authorizationType\")\n\n // the properties below are optional\n .awsIamConfig(AwsIamConfigProperty.builder()\n .signingRegion(\"signingRegion\")\n .signingServiceName(\"signingServiceName\")\n .build())\n .build())\n .build())\n .lambdaConfig(LambdaConfigProperty.builder()\n .lambdaFunctionArn(\"lambdaFunctionArn\")\n .build())\n .openSearchServiceConfig(OpenSearchServiceConfigProperty.builder()\n .awsRegion(\"awsRegion\")\n .endpoint(\"endpoint\")\n .build())\n .relationalDatabaseConfig(RelationalDatabaseConfigProperty.builder()\n .relationalDatabaseSourceType(\"relationalDatabaseSourceType\")\n\n // the properties below are optional\n .rdsHttpEndpointConfig(RdsHttpEndpointConfigProperty.builder()\n .awsRegion(\"awsRegion\")\n .awsSecretStoreArn(\"awsSecretStoreArn\")\n .dbClusterIdentifier(\"dbClusterIdentifier\")\n\n // the properties below are optional\n .databaseName(\"databaseName\")\n .schema(\"schema\")\n .build())\n .build())\n .serviceRoleArn(\"serviceRoleArn\")\n .build();","version":"1"},"go":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport appsync \"github.com/aws-samples/dummy/awscdkawsappsync\"\n\ncfnDataSourceProps := &CfnDataSourceProps{\n\tApiId: jsii.String(\"apiId\"),\n\tName: jsii.String(\"name\"),\n\tType: jsii.String(\"type\"),\n\n\t// the properties below are optional\n\tDescription: jsii.String(\"description\"),\n\tDynamoDbConfig: &DynamoDBConfigProperty{\n\t\tAwsRegion: jsii.String(\"awsRegion\"),\n\t\tTableName: jsii.String(\"tableName\"),\n\n\t\t// the properties below are optional\n\t\tDeltaSyncConfig: &DeltaSyncConfigProperty{\n\t\t\tBaseTableTtl: jsii.String(\"baseTableTtl\"),\n\t\t\tDeltaSyncTableName: jsii.String(\"deltaSyncTableName\"),\n\t\t\tDeltaSyncTableTtl: jsii.String(\"deltaSyncTableTtl\"),\n\t\t},\n\t\tUseCallerCredentials: jsii.Boolean(false),\n\t\tVersioned: jsii.Boolean(false),\n\t},\n\tElasticsearchConfig: &ElasticsearchConfigProperty{\n\t\tAwsRegion: jsii.String(\"awsRegion\"),\n\t\tEndpoint: jsii.String(\"endpoint\"),\n\t},\n\tEventBridgeConfig: &EventBridgeConfigProperty{\n\t\tEventBusArn: jsii.String(\"eventBusArn\"),\n\t},\n\tHttpConfig: &HttpConfigProperty{\n\t\tEndpoint: jsii.String(\"endpoint\"),\n\n\t\t// the properties below are optional\n\t\tAuthorizationConfig: &AuthorizationConfigProperty{\n\t\t\tAuthorizationType: jsii.String(\"authorizationType\"),\n\n\t\t\t// the properties below are optional\n\t\t\tAwsIamConfig: &AwsIamConfigProperty{\n\t\t\t\tSigningRegion: jsii.String(\"signingRegion\"),\n\t\t\t\tSigningServiceName: jsii.String(\"signingServiceName\"),\n\t\t\t},\n\t\t},\n\t},\n\tLambdaConfig: &LambdaConfigProperty{\n\t\tLambdaFunctionArn: jsii.String(\"lambdaFunctionArn\"),\n\t},\n\tOpenSearchServiceConfig: &OpenSearchServiceConfigProperty{\n\t\tAwsRegion: jsii.String(\"awsRegion\"),\n\t\tEndpoint: jsii.String(\"endpoint\"),\n\t},\n\tRelationalDatabaseConfig: &RelationalDatabaseConfigProperty{\n\t\tRelationalDatabaseSourceType: jsii.String(\"relationalDatabaseSourceType\"),\n\n\t\t// the properties below are optional\n\t\tRdsHttpEndpointConfig: &RdsHttpEndpointConfigProperty{\n\t\t\tAwsRegion: jsii.String(\"awsRegion\"),\n\t\t\tAwsSecretStoreArn: jsii.String(\"awsSecretStoreArn\"),\n\t\t\tDbClusterIdentifier: jsii.String(\"dbClusterIdentifier\"),\n\n\t\t\t// the properties below are optional\n\t\t\tDatabaseName: jsii.String(\"databaseName\"),\n\t\t\tSchema: jsii.String(\"schema\"),\n\t\t},\n\t},\n\tServiceRoleArn: jsii.String(\"serviceRoleArn\"),\n}","version":"1"},"$":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as appsync from '@aws-cdk/aws-appsync';\nconst cfnDataSourceProps: appsync.CfnDataSourceProps = {\n apiId: 'apiId',\n name: 'name',\n type: 'type',\n\n // the properties below are optional\n description: 'description',\n dynamoDbConfig: {\n awsRegion: 'awsRegion',\n tableName: 'tableName',\n\n // the properties below are optional\n deltaSyncConfig: {\n baseTableTtl: 'baseTableTtl',\n deltaSyncTableName: 'deltaSyncTableName',\n deltaSyncTableTtl: 'deltaSyncTableTtl',\n },\n useCallerCredentials: false,\n versioned: false,\n },\n elasticsearchConfig: {\n awsRegion: 'awsRegion',\n endpoint: 'endpoint',\n },\n eventBridgeConfig: {\n eventBusArn: 'eventBusArn',\n },\n httpConfig: {\n endpoint: 'endpoint',\n\n // the properties below are optional\n authorizationConfig: {\n authorizationType: 'authorizationType',\n\n // the properties below are optional\n awsIamConfig: {\n signingRegion: 'signingRegion',\n signingServiceName: 'signingServiceName',\n },\n },\n },\n lambdaConfig: {\n lambdaFunctionArn: 'lambdaFunctionArn',\n },\n openSearchServiceConfig: {\n awsRegion: 'awsRegion',\n endpoint: 'endpoint',\n },\n relationalDatabaseConfig: {\n relationalDatabaseSourceType: 'relationalDatabaseSourceType',\n\n // the properties below are optional\n rdsHttpEndpointConfig: {\n awsRegion: 'awsRegion',\n awsSecretStoreArn: 'awsSecretStoreArn',\n dbClusterIdentifier: 'dbClusterIdentifier',\n\n // the properties below are optional\n databaseName: 'databaseName',\n schema: 'schema',\n },\n },\n serviceRoleArn: 'serviceRoleArn',\n};","version":"0"}},"location":{"api":{"api":"type","fqn":"@aws-cdk/aws-appsync.CfnDataSourceProps"},"field":{"field":"example"}},"didCompile":true,"fqnsReferenced":["@aws-cdk/aws-appsync.CfnDataSourceProps"],"fullSource":"// Hoisted imports begin after !show marker below\n/// !show\n// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as appsync from '@aws-cdk/aws-appsync';\n/// !hide\n// Hoisted imports ended before !hide marker above\nimport { Construct } from \"@aws-cdk/core\";\nclass MyConstruct extends Construct {\nconstructor(scope: Construct, id: string) {\nsuper(scope, id);\n// Code snippet begins after !show marker below\n/// !show\n\nconst cfnDataSourceProps: appsync.CfnDataSourceProps = {\n apiId: 'apiId',\n name: 'name',\n type: 'type',\n\n // the properties below are optional\n description: 'description',\n dynamoDbConfig: {\n awsRegion: 'awsRegion',\n tableName: 'tableName',\n\n // the properties below are optional\n deltaSyncConfig: {\n baseTableTtl: 'baseTableTtl',\n deltaSyncTableName: 'deltaSyncTableName',\n deltaSyncTableTtl: 'deltaSyncTableTtl',\n },\n useCallerCredentials: false,\n versioned: false,\n },\n elasticsearchConfig: {\n awsRegion: 'awsRegion',\n endpoint: 'endpoint',\n },\n eventBridgeConfig: {\n eventBusArn: 'eventBusArn',\n },\n httpConfig: {\n endpoint: 'endpoint',\n\n // the properties below are optional\n authorizationConfig: {\n authorizationType: 'authorizationType',\n\n // the properties below are optional\n awsIamConfig: {\n signingRegion: 'signingRegion',\n signingServiceName: 'signingServiceName',\n },\n },\n },\n lambdaConfig: {\n lambdaFunctionArn: 'lambdaFunctionArn',\n },\n openSearchServiceConfig: {\n awsRegion: 'awsRegion',\n endpoint: 'endpoint',\n },\n relationalDatabaseConfig: {\n relationalDatabaseSourceType: 'relationalDatabaseSourceType',\n\n // the properties below are optional\n rdsHttpEndpointConfig: {\n awsRegion: 'awsRegion',\n awsSecretStoreArn: 'awsSecretStoreArn',\n dbClusterIdentifier: 'dbClusterIdentifier',\n\n // the properties below are optional\n databaseName: 'databaseName',\n schema: 'schema',\n },\n },\n serviceRoleArn: 'serviceRoleArn',\n};\n/// !hide\n// Code snippet ended before !hide marker above\n} }","syntaxKindCounter":{"10":27,"75":43,"91":2,"153":1,"169":1,"193":12,"225":1,"242":1,"243":1,"254":1,"255":1,"256":1,"281":39,"290":1},"fqnsFingerprint":"9d6e804ad7f93855c8c5b82524b027047c10e201da469db1888395b238784102"},"41ed16446921da00f8dd320bfd6732938d2b194759763acc9483c0f3de720a13":{"translations":{"python":{"source":"# The code below shows an example of how to instantiate this type.\n# The values are placeholders you should change.\nimport aws_cdk.aws_appsync as appsync\n\ncfn_domain_name = appsync.CfnDomainName(self, \"MyCfnDomainName\",\n certificate_arn=\"certificateArn\",\n domain_name=\"domainName\",\n\n # the properties below are optional\n description=\"description\"\n)","version":"2"},"csharp":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nusing Amazon.CDK.AWS.AppSync;\n\nvar cfnDomainName = new CfnDomainName(this, \"MyCfnDomainName\", new CfnDomainNameProps {\n CertificateArn = \"certificateArn\",\n DomainName = \"domainName\",\n\n // the properties below are optional\n Description = \"description\"\n});","version":"1"},"java":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport software.amazon.awscdk.services.appsync.*;\n\nCfnDomainName cfnDomainName = CfnDomainName.Builder.create(this, \"MyCfnDomainName\")\n .certificateArn(\"certificateArn\")\n .domainName(\"domainName\")\n\n // the properties below are optional\n .description(\"description\")\n .build();","version":"1"},"go":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport appsync \"github.com/aws-samples/dummy/awscdkawsappsync\"\n\ncfnDomainName := appsync.NewCfnDomainName(this, jsii.String(\"MyCfnDomainName\"), &CfnDomainNameProps{\n\tCertificateArn: jsii.String(\"certificateArn\"),\n\tDomainName: jsii.String(\"domainName\"),\n\n\t// the properties below are optional\n\tDescription: jsii.String(\"description\"),\n})","version":"1"},"$":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as appsync from '@aws-cdk/aws-appsync';\nconst cfnDomainName = new appsync.CfnDomainName(this, 'MyCfnDomainName', {\n certificateArn: 'certificateArn',\n domainName: 'domainName',\n\n // the properties below are optional\n description: 'description',\n});","version":"0"}},"location":{"api":{"api":"type","fqn":"@aws-cdk/aws-appsync.CfnDomainName"},"field":{"field":"example"}},"didCompile":true,"fqnsReferenced":["@aws-cdk/aws-appsync.CfnDomainName","@aws-cdk/aws-appsync.CfnDomainNameProps","@aws-cdk/core.Construct"],"fullSource":"// Hoisted imports begin after !show marker below\n/// !show\n// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as appsync from '@aws-cdk/aws-appsync';\n/// !hide\n// Hoisted imports ended before !hide marker above\nimport { Construct } from \"@aws-cdk/core\";\nclass MyConstruct extends Construct {\nconstructor(scope: Construct, id: string) {\nsuper(scope, id);\n// Code snippet begins after !show marker below\n/// !show\n\nconst cfnDomainName = new appsync.CfnDomainName(this, 'MyCfnDomainName', {\n certificateArn: 'certificateArn',\n domainName: 'domainName',\n\n // the properties below are optional\n description: 'description',\n});\n/// !hide\n// Code snippet ended before !hide marker above\n} }","syntaxKindCounter":{"10":5,"75":7,"104":1,"193":1,"194":1,"197":1,"225":1,"242":1,"243":1,"254":1,"255":1,"256":1,"281":3,"290":1},"fqnsFingerprint":"b5673b04b3c69e74790c6946b70abd4dd26c852490adeac81824fead75b9f6b3"},"afa81a24cbe940b1be1363a7ed5365fdb13bca662ba8a58dbb7a1d54d6d5ecc1":{"translations":{"python":{"source":"# The code below shows an example of how to instantiate this type.\n# The values are placeholders you should change.\nimport aws_cdk.aws_appsync as appsync\n\ncfn_domain_name_api_association = appsync.CfnDomainNameApiAssociation(self, \"MyCfnDomainNameApiAssociation\",\n api_id=\"apiId\",\n domain_name=\"domainName\"\n)","version":"2"},"csharp":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nusing Amazon.CDK.AWS.AppSync;\n\nvar cfnDomainNameApiAssociation = new CfnDomainNameApiAssociation(this, \"MyCfnDomainNameApiAssociation\", new CfnDomainNameApiAssociationProps {\n ApiId = \"apiId\",\n DomainName = \"domainName\"\n});","version":"1"},"java":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport software.amazon.awscdk.services.appsync.*;\n\nCfnDomainNameApiAssociation cfnDomainNameApiAssociation = CfnDomainNameApiAssociation.Builder.create(this, \"MyCfnDomainNameApiAssociation\")\n .apiId(\"apiId\")\n .domainName(\"domainName\")\n .build();","version":"1"},"go":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport appsync \"github.com/aws-samples/dummy/awscdkawsappsync\"\n\ncfnDomainNameApiAssociation := appsync.NewCfnDomainNameApiAssociation(this, jsii.String(\"MyCfnDomainNameApiAssociation\"), &CfnDomainNameApiAssociationProps{\n\tApiId: jsii.String(\"apiId\"),\n\tDomainName: jsii.String(\"domainName\"),\n})","version":"1"},"$":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as appsync from '@aws-cdk/aws-appsync';\nconst cfnDomainNameApiAssociation = new appsync.CfnDomainNameApiAssociation(this, 'MyCfnDomainNameApiAssociation', {\n apiId: 'apiId',\n domainName: 'domainName',\n});","version":"0"}},"location":{"api":{"api":"type","fqn":"@aws-cdk/aws-appsync.CfnDomainNameApiAssociation"},"field":{"field":"example"}},"didCompile":true,"fqnsReferenced":["@aws-cdk/aws-appsync.CfnDomainNameApiAssociation","@aws-cdk/aws-appsync.CfnDomainNameApiAssociationProps","@aws-cdk/core.Construct"],"fullSource":"// Hoisted imports begin after !show marker below\n/// !show\n// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as appsync from '@aws-cdk/aws-appsync';\n/// !hide\n// Hoisted imports ended before !hide marker above\nimport { Construct } from \"@aws-cdk/core\";\nclass MyConstruct extends Construct {\nconstructor(scope: Construct, id: string) {\nsuper(scope, id);\n// Code snippet begins after !show marker below\n/// !show\n\nconst cfnDomainNameApiAssociation = new appsync.CfnDomainNameApiAssociation(this, 'MyCfnDomainNameApiAssociation', {\n apiId: 'apiId',\n domainName: 'domainName',\n});\n/// !hide\n// Code snippet ended before !hide marker above\n} }","syntaxKindCounter":{"10":4,"75":6,"104":1,"193":1,"194":1,"197":1,"225":1,"242":1,"243":1,"254":1,"255":1,"256":1,"281":2,"290":1},"fqnsFingerprint":"f25f9b8252ad07a9f6f32d8279ba6edb1bb34dac04b6d022ff79150ea0b7dac9"},"ad414b74033e41b737a97f99dccc65a93449c7e98ffa10832aea4b70a60ac281":{"translations":{"python":{"source":"# The code below shows an example of how to instantiate this type.\n# The values are placeholders you should change.\nimport aws_cdk.aws_appsync as appsync\n\ncfn_domain_name_api_association_props = appsync.CfnDomainNameApiAssociationProps(\n api_id=\"apiId\",\n domain_name=\"domainName\"\n)","version":"2"},"csharp":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nusing Amazon.CDK.AWS.AppSync;\n\nvar cfnDomainNameApiAssociationProps = new CfnDomainNameApiAssociationProps {\n ApiId = \"apiId\",\n DomainName = \"domainName\"\n};","version":"1"},"java":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport software.amazon.awscdk.services.appsync.*;\n\nCfnDomainNameApiAssociationProps cfnDomainNameApiAssociationProps = CfnDomainNameApiAssociationProps.builder()\n .apiId(\"apiId\")\n .domainName(\"domainName\")\n .build();","version":"1"},"go":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport appsync \"github.com/aws-samples/dummy/awscdkawsappsync\"\n\ncfnDomainNameApiAssociationProps := &CfnDomainNameApiAssociationProps{\n\tApiId: jsii.String(\"apiId\"),\n\tDomainName: jsii.String(\"domainName\"),\n}","version":"1"},"$":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as appsync from '@aws-cdk/aws-appsync';\nconst cfnDomainNameApiAssociationProps: appsync.CfnDomainNameApiAssociationProps = {\n apiId: 'apiId',\n domainName: 'domainName',\n};","version":"0"}},"location":{"api":{"api":"type","fqn":"@aws-cdk/aws-appsync.CfnDomainNameApiAssociationProps"},"field":{"field":"example"}},"didCompile":true,"fqnsReferenced":["@aws-cdk/aws-appsync.CfnDomainNameApiAssociationProps"],"fullSource":"// Hoisted imports begin after !show marker below\n/// !show\n// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as appsync from '@aws-cdk/aws-appsync';\n/// !hide\n// Hoisted imports ended before !hide marker above\nimport { Construct } from \"@aws-cdk/core\";\nclass MyConstruct extends Construct {\nconstructor(scope: Construct, id: string) {\nsuper(scope, id);\n// Code snippet begins after !show marker below\n/// !show\n\nconst cfnDomainNameApiAssociationProps: appsync.CfnDomainNameApiAssociationProps = {\n apiId: 'apiId',\n domainName: 'domainName',\n};\n/// !hide\n// Code snippet ended before !hide marker above\n} }","syntaxKindCounter":{"10":3,"75":6,"153":1,"169":1,"193":1,"225":1,"242":1,"243":1,"254":1,"255":1,"256":1,"281":2,"290":1},"fqnsFingerprint":"76d3a9383b1a23079c883c7fa1d2f53b952153b74b9fa45caa033732f0919ccf"},"e626e9994d358b4163bd914e52c9883bfc4b095b8e64bc2a66caeeefdbc84c0d":{"translations":{"python":{"source":"# The code below shows an example of how to instantiate this type.\n# The values are placeholders you should change.\nimport aws_cdk.aws_appsync as appsync\n\ncfn_domain_name_props = appsync.CfnDomainNameProps(\n certificate_arn=\"certificateArn\",\n domain_name=\"domainName\",\n\n # the properties below are optional\n description=\"description\"\n)","version":"2"},"csharp":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nusing Amazon.CDK.AWS.AppSync;\n\nvar cfnDomainNameProps = new CfnDomainNameProps {\n CertificateArn = \"certificateArn\",\n DomainName = \"domainName\",\n\n // the properties below are optional\n Description = \"description\"\n};","version":"1"},"java":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport software.amazon.awscdk.services.appsync.*;\n\nCfnDomainNameProps cfnDomainNameProps = CfnDomainNameProps.builder()\n .certificateArn(\"certificateArn\")\n .domainName(\"domainName\")\n\n // the properties below are optional\n .description(\"description\")\n .build();","version":"1"},"go":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport appsync \"github.com/aws-samples/dummy/awscdkawsappsync\"\n\ncfnDomainNameProps := &CfnDomainNameProps{\n\tCertificateArn: jsii.String(\"certificateArn\"),\n\tDomainName: jsii.String(\"domainName\"),\n\n\t// the properties below are optional\n\tDescription: jsii.String(\"description\"),\n}","version":"1"},"$":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as appsync from '@aws-cdk/aws-appsync';\nconst cfnDomainNameProps: appsync.CfnDomainNameProps = {\n certificateArn: 'certificateArn',\n domainName: 'domainName',\n\n // the properties below are optional\n description: 'description',\n};","version":"0"}},"location":{"api":{"api":"type","fqn":"@aws-cdk/aws-appsync.CfnDomainNameProps"},"field":{"field":"example"}},"didCompile":true,"fqnsReferenced":["@aws-cdk/aws-appsync.CfnDomainNameProps"],"fullSource":"// Hoisted imports begin after !show marker below\n/// !show\n// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as appsync from '@aws-cdk/aws-appsync';\n/// !hide\n// Hoisted imports ended before !hide marker above\nimport { Construct } from \"@aws-cdk/core\";\nclass MyConstruct extends Construct {\nconstructor(scope: Construct, id: string) {\nsuper(scope, id);\n// Code snippet begins after !show marker below\n/// !show\n\nconst cfnDomainNameProps: appsync.CfnDomainNameProps = {\n certificateArn: 'certificateArn',\n domainName: 'domainName',\n\n // the properties below are optional\n description: 'description',\n};\n/// !hide\n// Code snippet ended before !hide marker above\n} }","syntaxKindCounter":{"10":4,"75":7,"153":1,"169":1,"193":1,"225":1,"242":1,"243":1,"254":1,"255":1,"256":1,"281":3,"290":1},"fqnsFingerprint":"10b8e497d9b4b42bb163c53f12a40ca3196d42c3a04e8a9944c49528daae1024"},"149fa64fdd02c69cd0d67301946dd4864f6dbced27a867b9481aa2d1ce3f3a81":{"translations":{"python":{"source":"# The code below shows an example of how to instantiate this type.\n# The values are placeholders you should change.\nimport aws_cdk.aws_appsync as appsync\n\ncfn_function_configuration = appsync.CfnFunctionConfiguration(self, \"MyCfnFunctionConfiguration\",\n api_id=\"apiId\",\n data_source_name=\"dataSourceName\",\n name=\"name\",\n\n # the properties below are optional\n code=\"code\",\n code_s3_location=\"codeS3Location\",\n description=\"description\",\n function_version=\"functionVersion\",\n max_batch_size=123,\n request_mapping_template=\"requestMappingTemplate\",\n request_mapping_template_s3_location=\"requestMappingTemplateS3Location\",\n response_mapping_template=\"responseMappingTemplate\",\n response_mapping_template_s3_location=\"responseMappingTemplateS3Location\",\n runtime=appsync.CfnFunctionConfiguration.AppSyncRuntimeProperty(\n name=\"name\",\n runtime_version=\"runtimeVersion\"\n ),\n sync_config=appsync.CfnFunctionConfiguration.SyncConfigProperty(\n conflict_detection=\"conflictDetection\",\n\n # the properties below are optional\n conflict_handler=\"conflictHandler\",\n lambda_conflict_handler_config=appsync.CfnFunctionConfiguration.LambdaConflictHandlerConfigProperty(\n lambda_conflict_handler_arn=\"lambdaConflictHandlerArn\"\n )\n )\n)","version":"2"},"csharp":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nusing Amazon.CDK.AWS.AppSync;\n\nvar cfnFunctionConfiguration = new CfnFunctionConfiguration(this, \"MyCfnFunctionConfiguration\", new CfnFunctionConfigurationProps {\n ApiId = \"apiId\",\n DataSourceName = \"dataSourceName\",\n Name = \"name\",\n\n // the properties below are optional\n Code = \"code\",\n CodeS3Location = \"codeS3Location\",\n Description = \"description\",\n FunctionVersion = \"functionVersion\",\n MaxBatchSize = 123,\n RequestMappingTemplate = \"requestMappingTemplate\",\n RequestMappingTemplateS3Location = \"requestMappingTemplateS3Location\",\n ResponseMappingTemplate = \"responseMappingTemplate\",\n ResponseMappingTemplateS3Location = \"responseMappingTemplateS3Location\",\n Runtime = new AppSyncRuntimeProperty {\n Name = \"name\",\n RuntimeVersion = \"runtimeVersion\"\n },\n SyncConfig = new SyncConfigProperty {\n ConflictDetection = \"conflictDetection\",\n\n // the properties below are optional\n ConflictHandler = \"conflictHandler\",\n LambdaConflictHandlerConfig = new LambdaConflictHandlerConfigProperty {\n LambdaConflictHandlerArn = \"lambdaConflictHandlerArn\"\n }\n }\n});","version":"1"},"java":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport software.amazon.awscdk.services.appsync.*;\n\nCfnFunctionConfiguration cfnFunctionConfiguration = CfnFunctionConfiguration.Builder.create(this, \"MyCfnFunctionConfiguration\")\n .apiId(\"apiId\")\n .dataSourceName(\"dataSourceName\")\n .name(\"name\")\n\n // the properties below are optional\n .code(\"code\")\n .codeS3Location(\"codeS3Location\")\n .description(\"description\")\n .functionVersion(\"functionVersion\")\n .maxBatchSize(123)\n .requestMappingTemplate(\"requestMappingTemplate\")\n .requestMappingTemplateS3Location(\"requestMappingTemplateS3Location\")\n .responseMappingTemplate(\"responseMappingTemplate\")\n .responseMappingTemplateS3Location(\"responseMappingTemplateS3Location\")\n .runtime(AppSyncRuntimeProperty.builder()\n .name(\"name\")\n .runtimeVersion(\"runtimeVersion\")\n .build())\n .syncConfig(SyncConfigProperty.builder()\n .conflictDetection(\"conflictDetection\")\n\n // the properties below are optional\n .conflictHandler(\"conflictHandler\")\n .lambdaConflictHandlerConfig(LambdaConflictHandlerConfigProperty.builder()\n .lambdaConflictHandlerArn(\"lambdaConflictHandlerArn\")\n .build())\n .build())\n .build();","version":"1"},"go":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport appsync \"github.com/aws-samples/dummy/awscdkawsappsync\"\n\ncfnFunctionConfiguration := appsync.NewCfnFunctionConfiguration(this, jsii.String(\"MyCfnFunctionConfiguration\"), &CfnFunctionConfigurationProps{\n\tApiId: jsii.String(\"apiId\"),\n\tDataSourceName: jsii.String(\"dataSourceName\"),\n\tName: jsii.String(\"name\"),\n\n\t// the properties below are optional\n\tCode: jsii.String(\"code\"),\n\tCodeS3Location: jsii.String(\"codeS3Location\"),\n\tDescription: jsii.String(\"description\"),\n\tFunctionVersion: jsii.String(\"functionVersion\"),\n\tMaxBatchSize: jsii.Number(123),\n\tRequestMappingTemplate: jsii.String(\"requestMappingTemplate\"),\n\tRequestMappingTemplateS3Location: jsii.String(\"requestMappingTemplateS3Location\"),\n\tResponseMappingTemplate: jsii.String(\"responseMappingTemplate\"),\n\tResponseMappingTemplateS3Location: jsii.String(\"responseMappingTemplateS3Location\"),\n\tRuntime: &AppSyncRuntimeProperty{\n\t\tName: jsii.String(\"name\"),\n\t\tRuntimeVersion: jsii.String(\"runtimeVersion\"),\n\t},\n\tSyncConfig: &SyncConfigProperty{\n\t\tConflictDetection: jsii.String(\"conflictDetection\"),\n\n\t\t// the properties below are optional\n\t\tConflictHandler: jsii.String(\"conflictHandler\"),\n\t\tLambdaConflictHandlerConfig: &LambdaConflictHandlerConfigProperty{\n\t\t\tLambdaConflictHandlerArn: jsii.String(\"lambdaConflictHandlerArn\"),\n\t\t},\n\t},\n})","version":"1"},"$":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as appsync from '@aws-cdk/aws-appsync';\nconst cfnFunctionConfiguration = new appsync.CfnFunctionConfiguration(this, 'MyCfnFunctionConfiguration', {\n apiId: 'apiId',\n dataSourceName: 'dataSourceName',\n name: 'name',\n\n // the properties below are optional\n code: 'code',\n codeS3Location: 'codeS3Location',\n description: 'description',\n functionVersion: 'functionVersion',\n maxBatchSize: 123,\n requestMappingTemplate: 'requestMappingTemplate',\n requestMappingTemplateS3Location: 'requestMappingTemplateS3Location',\n responseMappingTemplate: 'responseMappingTemplate',\n responseMappingTemplateS3Location: 'responseMappingTemplateS3Location',\n runtime: {\n name: 'name',\n runtimeVersion: 'runtimeVersion',\n },\n syncConfig: {\n conflictDetection: 'conflictDetection',\n\n // the properties below are optional\n conflictHandler: 'conflictHandler',\n lambdaConflictHandlerConfig: {\n lambdaConflictHandlerArn: 'lambdaConflictHandlerArn',\n },\n },\n});","version":"0"}},"location":{"api":{"api":"type","fqn":"@aws-cdk/aws-appsync.CfnFunctionConfiguration"},"field":{"field":"example"}},"didCompile":true,"fqnsReferenced":["@aws-cdk/aws-appsync.CfnFunctionConfiguration","@aws-cdk/aws-appsync.CfnFunctionConfigurationProps","@aws-cdk/core.Construct"],"fullSource":"// Hoisted imports begin after !show marker below\n/// !show\n// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as appsync from '@aws-cdk/aws-appsync';\n/// !hide\n// Hoisted imports ended before !hide marker above\nimport { Construct } from \"@aws-cdk/core\";\nclass MyConstruct extends Construct {\nconstructor(scope: Construct, id: string) {\nsuper(scope, id);\n// Code snippet begins after !show marker below\n/// !show\n\nconst cfnFunctionConfiguration = new appsync.CfnFunctionConfiguration(this, 'MyCfnFunctionConfiguration', {\n apiId: 'apiId',\n dataSourceName: 'dataSourceName',\n name: 'name',\n\n // the properties below are optional\n code: 'code',\n codeS3Location: 'codeS3Location',\n description: 'description',\n functionVersion: 'functionVersion',\n maxBatchSize: 123,\n requestMappingTemplate: 'requestMappingTemplate',\n requestMappingTemplateS3Location: 'requestMappingTemplateS3Location',\n responseMappingTemplate: 'responseMappingTemplate',\n responseMappingTemplateS3Location: 'responseMappingTemplateS3Location',\n runtime: {\n name: 'name',\n runtimeVersion: 'runtimeVersion',\n },\n syncConfig: {\n conflictDetection: 'conflictDetection',\n\n // the properties below are optional\n conflictHandler: 'conflictHandler',\n lambdaConflictHandlerConfig: {\n lambdaConflictHandlerArn: 'lambdaConflictHandlerArn',\n },\n },\n});\n/// !hide\n// Code snippet ended before !hide marker above\n} }","syntaxKindCounter":{"8":1,"10":18,"75":24,"104":1,"193":4,"194":1,"197":1,"225":1,"242":1,"243":1,"254":1,"255":1,"256":1,"281":20,"290":1},"fqnsFingerprint":"813db95e8887571e800615e44ecf69f259d11a74361fad611da8c4ac44ba02b2"},"19c814488b629a8783e6acab9a7a7f743161d46b474f086a992aa7d79050213f":{"translations":{"python":{"source":"# The code below shows an example of how to instantiate this type.\n# The values are placeholders you should change.\nimport aws_cdk.aws_appsync as appsync\n\napp_sync_runtime_property = appsync.CfnFunctionConfiguration.AppSyncRuntimeProperty(\n name=\"name\",\n runtime_version=\"runtimeVersion\"\n)","version":"2"},"csharp":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nusing Amazon.CDK.AWS.AppSync;\n\nvar appSyncRuntimeProperty = new AppSyncRuntimeProperty {\n Name = \"name\",\n RuntimeVersion = \"runtimeVersion\"\n};","version":"1"},"java":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport software.amazon.awscdk.services.appsync.*;\n\nAppSyncRuntimeProperty appSyncRuntimeProperty = AppSyncRuntimeProperty.builder()\n .name(\"name\")\n .runtimeVersion(\"runtimeVersion\")\n .build();","version":"1"},"go":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport appsync \"github.com/aws-samples/dummy/awscdkawsappsync\"\n\nappSyncRuntimeProperty := &AppSyncRuntimeProperty{\n\tName: jsii.String(\"name\"),\n\tRuntimeVersion: jsii.String(\"runtimeVersion\"),\n}","version":"1"},"$":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as appsync from '@aws-cdk/aws-appsync';\nconst appSyncRuntimeProperty: appsync.CfnFunctionConfiguration.AppSyncRuntimeProperty = {\n name: 'name',\n runtimeVersion: 'runtimeVersion',\n};","version":"0"}},"location":{"api":{"api":"type","fqn":"@aws-cdk/aws-appsync.CfnFunctionConfiguration.AppSyncRuntimeProperty"},"field":{"field":"example"}},"didCompile":true,"fqnsReferenced":["@aws-cdk/aws-appsync.CfnFunctionConfiguration.AppSyncRuntimeProperty"],"fullSource":"// Hoisted imports begin after !show marker below\n/// !show\n// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as appsync from '@aws-cdk/aws-appsync';\n/// !hide\n// Hoisted imports ended before !hide marker above\nimport { Construct } from \"@aws-cdk/core\";\nclass MyConstruct extends Construct {\nconstructor(scope: Construct, id: string) {\nsuper(scope, id);\n// Code snippet begins after !show marker below\n/// !show\n\nconst appSyncRuntimeProperty: appsync.CfnFunctionConfiguration.AppSyncRuntimeProperty = {\n name: 'name',\n runtimeVersion: 'runtimeVersion',\n};\n/// !hide\n// Code snippet ended before !hide marker above\n} }","syntaxKindCounter":{"10":3,"75":7,"153":2,"169":1,"193":1,"225":1,"242":1,"243":1,"254":1,"255":1,"256":1,"281":2,"290":1},"fqnsFingerprint":"079229c2052c470bb8621c5cc8307bbcf26a7ed1fa3733f5b579b6dcaa08985e"},"958a0864e7941b4f4f0ce80e011e35c9fd30a3d2ba9342757daa48460fdc41f1":{"translations":{"python":{"source":"# The code below shows an example of how to instantiate this type.\n# The values are placeholders you should change.\nimport aws_cdk.aws_appsync as appsync\n\nlambda_conflict_handler_config_property = appsync.CfnFunctionConfiguration.LambdaConflictHandlerConfigProperty(\n lambda_conflict_handler_arn=\"lambdaConflictHandlerArn\"\n)","version":"2"},"csharp":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nusing Amazon.CDK.AWS.AppSync;\n\nvar lambdaConflictHandlerConfigProperty = new LambdaConflictHandlerConfigProperty {\n LambdaConflictHandlerArn = \"lambdaConflictHandlerArn\"\n};","version":"1"},"java":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport software.amazon.awscdk.services.appsync.*;\n\nLambdaConflictHandlerConfigProperty lambdaConflictHandlerConfigProperty = LambdaConflictHandlerConfigProperty.builder()\n .lambdaConflictHandlerArn(\"lambdaConflictHandlerArn\")\n .build();","version":"1"},"go":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport appsync \"github.com/aws-samples/dummy/awscdkawsappsync\"\n\nlambdaConflictHandlerConfigProperty := &LambdaConflictHandlerConfigProperty{\n\tLambdaConflictHandlerArn: jsii.String(\"lambdaConflictHandlerArn\"),\n}","version":"1"},"$":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as appsync from '@aws-cdk/aws-appsync';\nconst lambdaConflictHandlerConfigProperty: appsync.CfnFunctionConfiguration.LambdaConflictHandlerConfigProperty = {\n lambdaConflictHandlerArn: 'lambdaConflictHandlerArn',\n};","version":"0"}},"location":{"api":{"api":"type","fqn":"@aws-cdk/aws-appsync.CfnFunctionConfiguration.LambdaConflictHandlerConfigProperty"},"field":{"field":"example"}},"didCompile":true,"fqnsReferenced":["@aws-cdk/aws-appsync.CfnFunctionConfiguration.LambdaConflictHandlerConfigProperty"],"fullSource":"// Hoisted imports begin after !show marker below\n/// !show\n// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as appsync from '@aws-cdk/aws-appsync';\n/// !hide\n// Hoisted imports ended before !hide marker above\nimport { Construct } from \"@aws-cdk/core\";\nclass MyConstruct extends Construct {\nconstructor(scope: Construct, id: string) {\nsuper(scope, id);\n// Code snippet begins after !show marker below\n/// !show\n\nconst lambdaConflictHandlerConfigProperty: appsync.CfnFunctionConfiguration.LambdaConflictHandlerConfigProperty = {\n lambdaConflictHandlerArn: 'lambdaConflictHandlerArn',\n};\n/// !hide\n// Code snippet ended before !hide marker above\n} }","syntaxKindCounter":{"10":2,"75":6,"153":2,"169":1,"193":1,"225":1,"242":1,"243":1,"254":1,"255":1,"256":1,"281":1,"290":1},"fqnsFingerprint":"1a4eb6b62f6199cd6c2a36f3ae911181610389d4ea68d9331a5ff049605454b6"},"50b0605d3d285b2e2b6e880b7d0bbb6f17deb48a643e6f4ae810cd071c88f841":{"translations":{"python":{"source":"# The code below shows an example of how to instantiate this type.\n# The values are placeholders you should change.\nimport aws_cdk.aws_appsync as appsync\n\nsync_config_property = appsync.CfnFunctionConfiguration.SyncConfigProperty(\n conflict_detection=\"conflictDetection\",\n\n # the properties below are optional\n conflict_handler=\"conflictHandler\",\n lambda_conflict_handler_config=appsync.CfnFunctionConfiguration.LambdaConflictHandlerConfigProperty(\n lambda_conflict_handler_arn=\"lambdaConflictHandlerArn\"\n )\n)","version":"2"},"csharp":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nusing Amazon.CDK.AWS.AppSync;\n\nvar syncConfigProperty = new SyncConfigProperty {\n ConflictDetection = \"conflictDetection\",\n\n // the properties below are optional\n ConflictHandler = \"conflictHandler\",\n LambdaConflictHandlerConfig = new LambdaConflictHandlerConfigProperty {\n LambdaConflictHandlerArn = \"lambdaConflictHandlerArn\"\n }\n};","version":"1"},"java":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport software.amazon.awscdk.services.appsync.*;\n\nSyncConfigProperty syncConfigProperty = SyncConfigProperty.builder()\n .conflictDetection(\"conflictDetection\")\n\n // the properties below are optional\n .conflictHandler(\"conflictHandler\")\n .lambdaConflictHandlerConfig(LambdaConflictHandlerConfigProperty.builder()\n .lambdaConflictHandlerArn(\"lambdaConflictHandlerArn\")\n .build())\n .build();","version":"1"},"go":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport appsync \"github.com/aws-samples/dummy/awscdkawsappsync\"\n\nsyncConfigProperty := &SyncConfigProperty{\n\tConflictDetection: jsii.String(\"conflictDetection\"),\n\n\t// the properties below are optional\n\tConflictHandler: jsii.String(\"conflictHandler\"),\n\tLambdaConflictHandlerConfig: &LambdaConflictHandlerConfigProperty{\n\t\tLambdaConflictHandlerArn: jsii.String(\"lambdaConflictHandlerArn\"),\n\t},\n}","version":"1"},"$":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as appsync from '@aws-cdk/aws-appsync';\nconst syncConfigProperty: appsync.CfnFunctionConfiguration.SyncConfigProperty = {\n conflictDetection: 'conflictDetection',\n\n // the properties below are optional\n conflictHandler: 'conflictHandler',\n lambdaConflictHandlerConfig: {\n lambdaConflictHandlerArn: 'lambdaConflictHandlerArn',\n },\n};","version":"0"}},"location":{"api":{"api":"type","fqn":"@aws-cdk/aws-appsync.CfnFunctionConfiguration.SyncConfigProperty"},"field":{"field":"example"}},"didCompile":true,"fqnsReferenced":["@aws-cdk/aws-appsync.CfnFunctionConfiguration.SyncConfigProperty"],"fullSource":"// Hoisted imports begin after !show marker below\n/// !show\n// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as appsync from '@aws-cdk/aws-appsync';\n/// !hide\n// Hoisted imports ended before !hide marker above\nimport { Construct } from \"@aws-cdk/core\";\nclass MyConstruct extends Construct {\nconstructor(scope: Construct, id: string) {\nsuper(scope, id);\n// Code snippet begins after !show marker below\n/// !show\n\nconst syncConfigProperty: appsync.CfnFunctionConfiguration.SyncConfigProperty = {\n conflictDetection: 'conflictDetection',\n\n // the properties below are optional\n conflictHandler: 'conflictHandler',\n lambdaConflictHandlerConfig: {\n lambdaConflictHandlerArn: 'lambdaConflictHandlerArn',\n },\n};\n/// !hide\n// Code snippet ended before !hide marker above\n} }","syntaxKindCounter":{"10":4,"75":9,"153":2,"169":1,"193":2,"225":1,"242":1,"243":1,"254":1,"255":1,"256":1,"281":4,"290":1},"fqnsFingerprint":"031cc06c51ace2b084fcda553747277e858a955110113b95320fc887bbdd3af3"},"8ac956550711a1e0f257ec3952b77f8ee894b13fabb37647778de438cd189f2f":{"translations":{"python":{"source":"# The code below shows an example of how to instantiate this type.\n# The values are placeholders you should change.\nimport aws_cdk.aws_appsync as appsync\n\ncfn_function_configuration_props = appsync.CfnFunctionConfigurationProps(\n api_id=\"apiId\",\n data_source_name=\"dataSourceName\",\n name=\"name\",\n\n # the properties below are optional\n code=\"code\",\n code_s3_location=\"codeS3Location\",\n description=\"description\",\n function_version=\"functionVersion\",\n max_batch_size=123,\n request_mapping_template=\"requestMappingTemplate\",\n request_mapping_template_s3_location=\"requestMappingTemplateS3Location\",\n response_mapping_template=\"responseMappingTemplate\",\n response_mapping_template_s3_location=\"responseMappingTemplateS3Location\",\n runtime=appsync.CfnFunctionConfiguration.AppSyncRuntimeProperty(\n name=\"name\",\n runtime_version=\"runtimeVersion\"\n ),\n sync_config=appsync.CfnFunctionConfiguration.SyncConfigProperty(\n conflict_detection=\"conflictDetection\",\n\n # the properties below are optional\n conflict_handler=\"conflictHandler\",\n lambda_conflict_handler_config=appsync.CfnFunctionConfiguration.LambdaConflictHandlerConfigProperty(\n lambda_conflict_handler_arn=\"lambdaConflictHandlerArn\"\n )\n )\n)","version":"2"},"csharp":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nusing Amazon.CDK.AWS.AppSync;\n\nvar cfnFunctionConfigurationProps = new CfnFunctionConfigurationProps {\n ApiId = \"apiId\",\n DataSourceName = \"dataSourceName\",\n Name = \"name\",\n\n // the properties below are optional\n Code = \"code\",\n CodeS3Location = \"codeS3Location\",\n Description = \"description\",\n FunctionVersion = \"functionVersion\",\n MaxBatchSize = 123,\n RequestMappingTemplate = \"requestMappingTemplate\",\n RequestMappingTemplateS3Location = \"requestMappingTemplateS3Location\",\n ResponseMappingTemplate = \"responseMappingTemplate\",\n ResponseMappingTemplateS3Location = \"responseMappingTemplateS3Location\",\n Runtime = new AppSyncRuntimeProperty {\n Name = \"name\",\n RuntimeVersion = \"runtimeVersion\"\n },\n SyncConfig = new SyncConfigProperty {\n ConflictDetection = \"conflictDetection\",\n\n // the properties below are optional\n ConflictHandler = \"conflictHandler\",\n LambdaConflictHandlerConfig = new LambdaConflictHandlerConfigProperty {\n LambdaConflictHandlerArn = \"lambdaConflictHandlerArn\"\n }\n }\n};","version":"1"},"java":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport software.amazon.awscdk.services.appsync.*;\n\nCfnFunctionConfigurationProps cfnFunctionConfigurationProps = CfnFunctionConfigurationProps.builder()\n .apiId(\"apiId\")\n .dataSourceName(\"dataSourceName\")\n .name(\"name\")\n\n // the properties below are optional\n .code(\"code\")\n .codeS3Location(\"codeS3Location\")\n .description(\"description\")\n .functionVersion(\"functionVersion\")\n .maxBatchSize(123)\n .requestMappingTemplate(\"requestMappingTemplate\")\n .requestMappingTemplateS3Location(\"requestMappingTemplateS3Location\")\n .responseMappingTemplate(\"responseMappingTemplate\")\n .responseMappingTemplateS3Location(\"responseMappingTemplateS3Location\")\n .runtime(AppSyncRuntimeProperty.builder()\n .name(\"name\")\n .runtimeVersion(\"runtimeVersion\")\n .build())\n .syncConfig(SyncConfigProperty.builder()\n .conflictDetection(\"conflictDetection\")\n\n // the properties below are optional\n .conflictHandler(\"conflictHandler\")\n .lambdaConflictHandlerConfig(LambdaConflictHandlerConfigProperty.builder()\n .lambdaConflictHandlerArn(\"lambdaConflictHandlerArn\")\n .build())\n .build())\n .build();","version":"1"},"go":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport appsync \"github.com/aws-samples/dummy/awscdkawsappsync\"\n\ncfnFunctionConfigurationProps := &CfnFunctionConfigurationProps{\n\tApiId: jsii.String(\"apiId\"),\n\tDataSourceName: jsii.String(\"dataSourceName\"),\n\tName: jsii.String(\"name\"),\n\n\t// the properties below are optional\n\tCode: jsii.String(\"code\"),\n\tCodeS3Location: jsii.String(\"codeS3Location\"),\n\tDescription: jsii.String(\"description\"),\n\tFunctionVersion: jsii.String(\"functionVersion\"),\n\tMaxBatchSize: jsii.Number(123),\n\tRequestMappingTemplate: jsii.String(\"requestMappingTemplate\"),\n\tRequestMappingTemplateS3Location: jsii.String(\"requestMappingTemplateS3Location\"),\n\tResponseMappingTemplate: jsii.String(\"responseMappingTemplate\"),\n\tResponseMappingTemplateS3Location: jsii.String(\"responseMappingTemplateS3Location\"),\n\tRuntime: &AppSyncRuntimeProperty{\n\t\tName: jsii.String(\"name\"),\n\t\tRuntimeVersion: jsii.String(\"runtimeVersion\"),\n\t},\n\tSyncConfig: &SyncConfigProperty{\n\t\tConflictDetection: jsii.String(\"conflictDetection\"),\n\n\t\t// the properties below are optional\n\t\tConflictHandler: jsii.String(\"conflictHandler\"),\n\t\tLambdaConflictHandlerConfig: &LambdaConflictHandlerConfigProperty{\n\t\t\tLambdaConflictHandlerArn: jsii.String(\"lambdaConflictHandlerArn\"),\n\t\t},\n\t},\n}","version":"1"},"$":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as appsync from '@aws-cdk/aws-appsync';\nconst cfnFunctionConfigurationProps: appsync.CfnFunctionConfigurationProps = {\n apiId: 'apiId',\n dataSourceName: 'dataSourceName',\n name: 'name',\n\n // the properties below are optional\n code: 'code',\n codeS3Location: 'codeS3Location',\n description: 'description',\n functionVersion: 'functionVersion',\n maxBatchSize: 123,\n requestMappingTemplate: 'requestMappingTemplate',\n requestMappingTemplateS3Location: 'requestMappingTemplateS3Location',\n responseMappingTemplate: 'responseMappingTemplate',\n responseMappingTemplateS3Location: 'responseMappingTemplateS3Location',\n runtime: {\n name: 'name',\n runtimeVersion: 'runtimeVersion',\n },\n syncConfig: {\n conflictDetection: 'conflictDetection',\n\n // the properties below are optional\n conflictHandler: 'conflictHandler',\n lambdaConflictHandlerConfig: {\n lambdaConflictHandlerArn: 'lambdaConflictHandlerArn',\n },\n },\n};","version":"0"}},"location":{"api":{"api":"type","fqn":"@aws-cdk/aws-appsync.CfnFunctionConfigurationProps"},"field":{"field":"example"}},"didCompile":true,"fqnsReferenced":["@aws-cdk/aws-appsync.CfnFunctionConfigurationProps"],"fullSource":"// Hoisted imports begin after !show marker below\n/// !show\n// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as appsync from '@aws-cdk/aws-appsync';\n/// !hide\n// Hoisted imports ended before !hide marker above\nimport { Construct } from \"@aws-cdk/core\";\nclass MyConstruct extends Construct {\nconstructor(scope: Construct, id: string) {\nsuper(scope, id);\n// Code snippet begins after !show marker below\n/// !show\n\nconst cfnFunctionConfigurationProps: appsync.CfnFunctionConfigurationProps = {\n apiId: 'apiId',\n dataSourceName: 'dataSourceName',\n name: 'name',\n\n // the properties below are optional\n code: 'code',\n codeS3Location: 'codeS3Location',\n description: 'description',\n functionVersion: 'functionVersion',\n maxBatchSize: 123,\n requestMappingTemplate: 'requestMappingTemplate',\n requestMappingTemplateS3Location: 'requestMappingTemplateS3Location',\n responseMappingTemplate: 'responseMappingTemplate',\n responseMappingTemplateS3Location: 'responseMappingTemplateS3Location',\n runtime: {\n name: 'name',\n runtimeVersion: 'runtimeVersion',\n },\n syncConfig: {\n conflictDetection: 'conflictDetection',\n\n // the properties below are optional\n conflictHandler: 'conflictHandler',\n lambdaConflictHandlerConfig: {\n lambdaConflictHandlerArn: 'lambdaConflictHandlerArn',\n },\n },\n};\n/// !hide\n// Code snippet ended before !hide marker above\n} }","syntaxKindCounter":{"8":1,"10":17,"75":24,"153":1,"169":1,"193":4,"225":1,"242":1,"243":1,"254":1,"255":1,"256":1,"281":20,"290":1},"fqnsFingerprint":"406d8bae0a007b5966e52f12b3fde59f5900cdb587af35b8b1d6fab2ea19e339"},"440b4a125d7638b8c87af958f3782d4fa0b5acff1e63c4af54f13e507cc6b998":{"translations":{"python":{"source":"# The code below shows an example of how to instantiate this type.\n# The values are placeholders you should change.\nimport aws_cdk.aws_appsync as appsync\n\ncfn_graph_qLApi = appsync.CfnGraphQLApi(self, \"MyCfnGraphQLApi\",\n authentication_type=\"authenticationType\",\n name=\"name\",\n\n # the properties below are optional\n additional_authentication_providers=[appsync.CfnGraphQLApi.AdditionalAuthenticationProviderProperty(\n authentication_type=\"authenticationType\",\n\n # the properties below are optional\n lambda_authorizer_config=appsync.CfnGraphQLApi.LambdaAuthorizerConfigProperty(\n authorizer_result_ttl_in_seconds=123,\n authorizer_uri=\"authorizerUri\",\n identity_validation_expression=\"identityValidationExpression\"\n ),\n open_id_connect_config=appsync.CfnGraphQLApi.OpenIDConnectConfigProperty(\n auth_ttl=123,\n client_id=\"clientId\",\n iat_ttl=123,\n issuer=\"issuer\"\n ),\n user_pool_config=appsync.CfnGraphQLApi.CognitoUserPoolConfigProperty(\n app_id_client_regex=\"appIdClientRegex\",\n aws_region=\"awsRegion\",\n user_pool_id=\"userPoolId\"\n )\n )],\n api_type=\"apiType\",\n lambda_authorizer_config=appsync.CfnGraphQLApi.LambdaAuthorizerConfigProperty(\n authorizer_result_ttl_in_seconds=123,\n authorizer_uri=\"authorizerUri\",\n identity_validation_expression=\"identityValidationExpression\"\n ),\n log_config=appsync.CfnGraphQLApi.LogConfigProperty(\n cloud_watch_logs_role_arn=\"cloudWatchLogsRoleArn\",\n exclude_verbose_content=False,\n field_log_level=\"fieldLogLevel\"\n ),\n merged_api_execution_role_arn=\"mergedApiExecutionRoleArn\",\n open_id_connect_config=appsync.CfnGraphQLApi.OpenIDConnectConfigProperty(\n auth_ttl=123,\n client_id=\"clientId\",\n iat_ttl=123,\n issuer=\"issuer\"\n ),\n owner_contact=\"ownerContact\",\n tags=[CfnTag(\n key=\"key\",\n value=\"value\"\n )],\n user_pool_config=appsync.CfnGraphQLApi.UserPoolConfigProperty(\n app_id_client_regex=\"appIdClientRegex\",\n aws_region=\"awsRegion\",\n default_action=\"defaultAction\",\n user_pool_id=\"userPoolId\"\n ),\n visibility=\"visibility\",\n xray_enabled=False\n)","version":"2"},"csharp":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nusing Amazon.CDK.AWS.AppSync;\n\nvar cfnGraphQLApi = new CfnGraphQLApi(this, \"MyCfnGraphQLApi\", new CfnGraphQLApiProps {\n AuthenticationType = \"authenticationType\",\n Name = \"name\",\n\n // the properties below are optional\n AdditionalAuthenticationProviders = new [] { new AdditionalAuthenticationProviderProperty {\n AuthenticationType = \"authenticationType\",\n\n // the properties below are optional\n LambdaAuthorizerConfig = new LambdaAuthorizerConfigProperty {\n AuthorizerResultTtlInSeconds = 123,\n AuthorizerUri = \"authorizerUri\",\n IdentityValidationExpression = \"identityValidationExpression\"\n },\n OpenIdConnectConfig = new OpenIDConnectConfigProperty {\n AuthTtl = 123,\n ClientId = \"clientId\",\n IatTtl = 123,\n Issuer = \"issuer\"\n },\n UserPoolConfig = new CognitoUserPoolConfigProperty {\n AppIdClientRegex = \"appIdClientRegex\",\n AwsRegion = \"awsRegion\",\n UserPoolId = \"userPoolId\"\n }\n } },\n ApiType = \"apiType\",\n LambdaAuthorizerConfig = new LambdaAuthorizerConfigProperty {\n AuthorizerResultTtlInSeconds = 123,\n AuthorizerUri = \"authorizerUri\",\n IdentityValidationExpression = \"identityValidationExpression\"\n },\n LogConfig = new LogConfigProperty {\n CloudWatchLogsRoleArn = \"cloudWatchLogsRoleArn\",\n ExcludeVerboseContent = false,\n FieldLogLevel = \"fieldLogLevel\"\n },\n MergedApiExecutionRoleArn = \"mergedApiExecutionRoleArn\",\n OpenIdConnectConfig = new OpenIDConnectConfigProperty {\n AuthTtl = 123,\n ClientId = \"clientId\",\n IatTtl = 123,\n Issuer = \"issuer\"\n },\n OwnerContact = \"ownerContact\",\n Tags = new [] { new CfnTag {\n Key = \"key\",\n Value = \"value\"\n } },\n UserPoolConfig = new UserPoolConfigProperty {\n AppIdClientRegex = \"appIdClientRegex\",\n AwsRegion = \"awsRegion\",\n DefaultAction = \"defaultAction\",\n UserPoolId = \"userPoolId\"\n },\n Visibility = \"visibility\",\n XrayEnabled = false\n});","version":"1"},"java":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport software.amazon.awscdk.services.appsync.*;\n\nCfnGraphQLApi cfnGraphQLApi = CfnGraphQLApi.Builder.create(this, \"MyCfnGraphQLApi\")\n .authenticationType(\"authenticationType\")\n .name(\"name\")\n\n // the properties below are optional\n .additionalAuthenticationProviders(List.of(AdditionalAuthenticationProviderProperty.builder()\n .authenticationType(\"authenticationType\")\n\n // the properties below are optional\n .lambdaAuthorizerConfig(LambdaAuthorizerConfigProperty.builder()\n .authorizerResultTtlInSeconds(123)\n .authorizerUri(\"authorizerUri\")\n .identityValidationExpression(\"identityValidationExpression\")\n .build())\n .openIdConnectConfig(OpenIDConnectConfigProperty.builder()\n .authTtl(123)\n .clientId(\"clientId\")\n .iatTtl(123)\n .issuer(\"issuer\")\n .build())\n .userPoolConfig(CognitoUserPoolConfigProperty.builder()\n .appIdClientRegex(\"appIdClientRegex\")\n .awsRegion(\"awsRegion\")\n .userPoolId(\"userPoolId\")\n .build())\n .build()))\n .apiType(\"apiType\")\n .lambdaAuthorizerConfig(LambdaAuthorizerConfigProperty.builder()\n .authorizerResultTtlInSeconds(123)\n .authorizerUri(\"authorizerUri\")\n .identityValidationExpression(\"identityValidationExpression\")\n .build())\n .logConfig(LogConfigProperty.builder()\n .cloudWatchLogsRoleArn(\"cloudWatchLogsRoleArn\")\n .excludeVerboseContent(false)\n .fieldLogLevel(\"fieldLogLevel\")\n .build())\n .mergedApiExecutionRoleArn(\"mergedApiExecutionRoleArn\")\n .openIdConnectConfig(OpenIDConnectConfigProperty.builder()\n .authTtl(123)\n .clientId(\"clientId\")\n .iatTtl(123)\n .issuer(\"issuer\")\n .build())\n .ownerContact(\"ownerContact\")\n .tags(List.of(CfnTag.builder()\n .key(\"key\")\n .value(\"value\")\n .build()))\n .userPoolConfig(UserPoolConfigProperty.builder()\n .appIdClientRegex(\"appIdClientRegex\")\n .awsRegion(\"awsRegion\")\n .defaultAction(\"defaultAction\")\n .userPoolId(\"userPoolId\")\n .build())\n .visibility(\"visibility\")\n .xrayEnabled(false)\n .build();","version":"1"},"go":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport appsync \"github.com/aws-samples/dummy/awscdkawsappsync\"\n\ncfnGraphQLApi := appsync.NewCfnGraphQLApi(this, jsii.String(\"MyCfnGraphQLApi\"), &CfnGraphQLApiProps{\n\tAuthenticationType: jsii.String(\"authenticationType\"),\n\tName: jsii.String(\"name\"),\n\n\t// the properties below are optional\n\tAdditionalAuthenticationProviders: []interface{}{\n\t\t&AdditionalAuthenticationProviderProperty{\n\t\t\tAuthenticationType: jsii.String(\"authenticationType\"),\n\n\t\t\t// the properties below are optional\n\t\t\tLambdaAuthorizerConfig: &LambdaAuthorizerConfigProperty{\n\t\t\t\tAuthorizerResultTtlInSeconds: jsii.Number(123),\n\t\t\t\tAuthorizerUri: jsii.String(\"authorizerUri\"),\n\t\t\t\tIdentityValidationExpression: jsii.String(\"identityValidationExpression\"),\n\t\t\t},\n\t\t\tOpenIdConnectConfig: &OpenIDConnectConfigProperty{\n\t\t\t\tAuthTtl: jsii.Number(123),\n\t\t\t\tClientId: jsii.String(\"clientId\"),\n\t\t\t\tIatTtl: jsii.Number(123),\n\t\t\t\tIssuer: jsii.String(\"issuer\"),\n\t\t\t},\n\t\t\tUserPoolConfig: &CognitoUserPoolConfigProperty{\n\t\t\t\tAppIdClientRegex: jsii.String(\"appIdClientRegex\"),\n\t\t\t\tAwsRegion: jsii.String(\"awsRegion\"),\n\t\t\t\tUserPoolId: jsii.String(\"userPoolId\"),\n\t\t\t},\n\t\t},\n\t},\n\tApiType: jsii.String(\"apiType\"),\n\tLambdaAuthorizerConfig: &LambdaAuthorizerConfigProperty{\n\t\tAuthorizerResultTtlInSeconds: jsii.Number(123),\n\t\tAuthorizerUri: jsii.String(\"authorizerUri\"),\n\t\tIdentityValidationExpression: jsii.String(\"identityValidationExpression\"),\n\t},\n\tLogConfig: &LogConfigProperty{\n\t\tCloudWatchLogsRoleArn: jsii.String(\"cloudWatchLogsRoleArn\"),\n\t\tExcludeVerboseContent: jsii.Boolean(false),\n\t\tFieldLogLevel: jsii.String(\"fieldLogLevel\"),\n\t},\n\tMergedApiExecutionRoleArn: jsii.String(\"mergedApiExecutionRoleArn\"),\n\tOpenIdConnectConfig: &OpenIDConnectConfigProperty{\n\t\tAuthTtl: jsii.Number(123),\n\t\tClientId: jsii.String(\"clientId\"),\n\t\tIatTtl: jsii.Number(123),\n\t\tIssuer: jsii.String(\"issuer\"),\n\t},\n\tOwnerContact: jsii.String(\"ownerContact\"),\n\tTags: []cfnTag{\n\t\t&cfnTag{\n\t\t\tKey: jsii.String(\"key\"),\n\t\t\tValue: jsii.String(\"value\"),\n\t\t},\n\t},\n\tUserPoolConfig: &UserPoolConfigProperty{\n\t\tAppIdClientRegex: jsii.String(\"appIdClientRegex\"),\n\t\tAwsRegion: jsii.String(\"awsRegion\"),\n\t\tDefaultAction: jsii.String(\"defaultAction\"),\n\t\tUserPoolId: jsii.String(\"userPoolId\"),\n\t},\n\tVisibility: jsii.String(\"visibility\"),\n\tXrayEnabled: jsii.Boolean(false),\n})","version":"1"},"$":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as appsync from '@aws-cdk/aws-appsync';\nconst cfnGraphQLApi = new appsync.CfnGraphQLApi(this, 'MyCfnGraphQLApi', {\n authenticationType: 'authenticationType',\n name: 'name',\n\n // the properties below are optional\n additionalAuthenticationProviders: [{\n authenticationType: 'authenticationType',\n\n // the properties below are optional\n lambdaAuthorizerConfig: {\n authorizerResultTtlInSeconds: 123,\n authorizerUri: 'authorizerUri',\n identityValidationExpression: 'identityValidationExpression',\n },\n openIdConnectConfig: {\n authTtl: 123,\n clientId: 'clientId',\n iatTtl: 123,\n issuer: 'issuer',\n },\n userPoolConfig: {\n appIdClientRegex: 'appIdClientRegex',\n awsRegion: 'awsRegion',\n userPoolId: 'userPoolId',\n },\n }],\n apiType: 'apiType',\n lambdaAuthorizerConfig: {\n authorizerResultTtlInSeconds: 123,\n authorizerUri: 'authorizerUri',\n identityValidationExpression: 'identityValidationExpression',\n },\n logConfig: {\n cloudWatchLogsRoleArn: 'cloudWatchLogsRoleArn',\n excludeVerboseContent: false,\n fieldLogLevel: 'fieldLogLevel',\n },\n mergedApiExecutionRoleArn: 'mergedApiExecutionRoleArn',\n openIdConnectConfig: {\n authTtl: 123,\n clientId: 'clientId',\n iatTtl: 123,\n issuer: 'issuer',\n },\n ownerContact: 'ownerContact',\n tags: [{\n key: 'key',\n value: 'value',\n }],\n userPoolConfig: {\n appIdClientRegex: 'appIdClientRegex',\n awsRegion: 'awsRegion',\n defaultAction: 'defaultAction',\n userPoolId: 'userPoolId',\n },\n visibility: 'visibility',\n xrayEnabled: false,\n});","version":"0"}},"location":{"api":{"api":"type","fqn":"@aws-cdk/aws-appsync.CfnGraphQLApi"},"field":{"field":"example"}},"didCompile":true,"fqnsReferenced":["@aws-cdk/aws-appsync.CfnGraphQLApi","@aws-cdk/aws-appsync.CfnGraphQLApiProps","@aws-cdk/core.Construct"],"fullSource":"// Hoisted imports begin after !show marker below\n/// !show\n// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as appsync from '@aws-cdk/aws-appsync';\n/// !hide\n// Hoisted imports ended before !hide marker above\nimport { Construct } from \"@aws-cdk/core\";\nclass MyConstruct extends Construct {\nconstructor(scope: Construct, id: string) {\nsuper(scope, id);\n// Code snippet begins after !show marker below\n/// !show\n\nconst cfnGraphQLApi = new appsync.CfnGraphQLApi(this, 'MyCfnGraphQLApi', {\n authenticationType: 'authenticationType',\n name: 'name',\n\n // the properties below are optional\n additionalAuthenticationProviders: [{\n authenticationType: 'authenticationType',\n\n // the properties below are optional\n lambdaAuthorizerConfig: {\n authorizerResultTtlInSeconds: 123,\n authorizerUri: 'authorizerUri',\n identityValidationExpression: 'identityValidationExpression',\n },\n openIdConnectConfig: {\n authTtl: 123,\n clientId: 'clientId',\n iatTtl: 123,\n issuer: 'issuer',\n },\n userPoolConfig: {\n appIdClientRegex: 'appIdClientRegex',\n awsRegion: 'awsRegion',\n userPoolId: 'userPoolId',\n },\n }],\n apiType: 'apiType',\n lambdaAuthorizerConfig: {\n authorizerResultTtlInSeconds: 123,\n authorizerUri: 'authorizerUri',\n identityValidationExpression: 'identityValidationExpression',\n },\n logConfig: {\n cloudWatchLogsRoleArn: 'cloudWatchLogsRoleArn',\n excludeVerboseContent: false,\n fieldLogLevel: 'fieldLogLevel',\n },\n mergedApiExecutionRoleArn: 'mergedApiExecutionRoleArn',\n openIdConnectConfig: {\n authTtl: 123,\n clientId: 'clientId',\n iatTtl: 123,\n issuer: 'issuer',\n },\n ownerContact: 'ownerContact',\n tags: [{\n key: 'key',\n value: 'value',\n }],\n userPoolConfig: {\n appIdClientRegex: 'appIdClientRegex',\n awsRegion: 'awsRegion',\n defaultAction: 'defaultAction',\n userPoolId: 'userPoolId',\n },\n visibility: 'visibility',\n xrayEnabled: false,\n});\n/// !hide\n// Code snippet ended before !hide marker above\n} }","syntaxKindCounter":{"8":6,"10":28,"75":47,"91":2,"104":1,"192":2,"193":10,"194":1,"197":1,"225":1,"242":1,"243":1,"254":1,"255":1,"256":1,"281":43,"290":1},"fqnsFingerprint":"55f5f7483c8f446c7d30c8ab6fec0ed100714d15a1fe7425a092e8e42e2169f9"},"6a18bf14fded8bb756489745badafae2a84bd69d6b978bca5c306459412cd438":{"translations":{"python":{"source":"# The code below shows an example of how to instantiate this type.\n# The values are placeholders you should change.\nimport aws_cdk.aws_appsync as appsync\n\nadditional_authentication_provider_property = appsync.CfnGraphQLApi.AdditionalAuthenticationProviderProperty(\n authentication_type=\"authenticationType\",\n\n # the properties below are optional\n lambda_authorizer_config=appsync.CfnGraphQLApi.LambdaAuthorizerConfigProperty(\n authorizer_result_ttl_in_seconds=123,\n authorizer_uri=\"authorizerUri\",\n identity_validation_expression=\"identityValidationExpression\"\n ),\n open_id_connect_config=appsync.CfnGraphQLApi.OpenIDConnectConfigProperty(\n auth_ttl=123,\n client_id=\"clientId\",\n iat_ttl=123,\n issuer=\"issuer\"\n ),\n user_pool_config=appsync.CfnGraphQLApi.CognitoUserPoolConfigProperty(\n app_id_client_regex=\"appIdClientRegex\",\n aws_region=\"awsRegion\",\n user_pool_id=\"userPoolId\"\n )\n)","version":"2"},"csharp":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nusing Amazon.CDK.AWS.AppSync;\n\nvar additionalAuthenticationProviderProperty = new AdditionalAuthenticationProviderProperty {\n AuthenticationType = \"authenticationType\",\n\n // the properties below are optional\n LambdaAuthorizerConfig = new LambdaAuthorizerConfigProperty {\n AuthorizerResultTtlInSeconds = 123,\n AuthorizerUri = \"authorizerUri\",\n IdentityValidationExpression = \"identityValidationExpression\"\n },\n OpenIdConnectConfig = new OpenIDConnectConfigProperty {\n AuthTtl = 123,\n ClientId = \"clientId\",\n IatTtl = 123,\n Issuer = \"issuer\"\n },\n UserPoolConfig = new CognitoUserPoolConfigProperty {\n AppIdClientRegex = \"appIdClientRegex\",\n AwsRegion = \"awsRegion\",\n UserPoolId = \"userPoolId\"\n }\n};","version":"1"},"java":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport software.amazon.awscdk.services.appsync.*;\n\nAdditionalAuthenticationProviderProperty additionalAuthenticationProviderProperty = AdditionalAuthenticationProviderProperty.builder()\n .authenticationType(\"authenticationType\")\n\n // the properties below are optional\n .lambdaAuthorizerConfig(LambdaAuthorizerConfigProperty.builder()\n .authorizerResultTtlInSeconds(123)\n .authorizerUri(\"authorizerUri\")\n .identityValidationExpression(\"identityValidationExpression\")\n .build())\n .openIdConnectConfig(OpenIDConnectConfigProperty.builder()\n .authTtl(123)\n .clientId(\"clientId\")\n .iatTtl(123)\n .issuer(\"issuer\")\n .build())\n .userPoolConfig(CognitoUserPoolConfigProperty.builder()\n .appIdClientRegex(\"appIdClientRegex\")\n .awsRegion(\"awsRegion\")\n .userPoolId(\"userPoolId\")\n .build())\n .build();","version":"1"},"go":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport appsync \"github.com/aws-samples/dummy/awscdkawsappsync\"\n\nadditionalAuthenticationProviderProperty := &AdditionalAuthenticationProviderProperty{\n\tAuthenticationType: jsii.String(\"authenticationType\"),\n\n\t// the properties below are optional\n\tLambdaAuthorizerConfig: &LambdaAuthorizerConfigProperty{\n\t\tAuthorizerResultTtlInSeconds: jsii.Number(123),\n\t\tAuthorizerUri: jsii.String(\"authorizerUri\"),\n\t\tIdentityValidationExpression: jsii.String(\"identityValidationExpression\"),\n\t},\n\tOpenIdConnectConfig: &OpenIDConnectConfigProperty{\n\t\tAuthTtl: jsii.Number(123),\n\t\tClientId: jsii.String(\"clientId\"),\n\t\tIatTtl: jsii.Number(123),\n\t\tIssuer: jsii.String(\"issuer\"),\n\t},\n\tUserPoolConfig: &CognitoUserPoolConfigProperty{\n\t\tAppIdClientRegex: jsii.String(\"appIdClientRegex\"),\n\t\tAwsRegion: jsii.String(\"awsRegion\"),\n\t\tUserPoolId: jsii.String(\"userPoolId\"),\n\t},\n}","version":"1"},"$":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as appsync from '@aws-cdk/aws-appsync';\nconst additionalAuthenticationProviderProperty: appsync.CfnGraphQLApi.AdditionalAuthenticationProviderProperty = {\n authenticationType: 'authenticationType',\n\n // the properties below are optional\n lambdaAuthorizerConfig: {\n authorizerResultTtlInSeconds: 123,\n authorizerUri: 'authorizerUri',\n identityValidationExpression: 'identityValidationExpression',\n },\n openIdConnectConfig: {\n authTtl: 123,\n clientId: 'clientId',\n iatTtl: 123,\n issuer: 'issuer',\n },\n userPoolConfig: {\n appIdClientRegex: 'appIdClientRegex',\n awsRegion: 'awsRegion',\n userPoolId: 'userPoolId',\n },\n};","version":"0"}},"location":{"api":{"api":"type","fqn":"@aws-cdk/aws-appsync.CfnGraphQLApi.AdditionalAuthenticationProviderProperty"},"field":{"field":"example"}},"didCompile":true,"fqnsReferenced":["@aws-cdk/aws-appsync.CfnGraphQLApi.AdditionalAuthenticationProviderProperty"],"fullSource":"// Hoisted imports begin after !show marker below\n/// !show\n// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as appsync from '@aws-cdk/aws-appsync';\n/// !hide\n// Hoisted imports ended before !hide marker above\nimport { Construct } from \"@aws-cdk/core\";\nclass MyConstruct extends Construct {\nconstructor(scope: Construct, id: string) {\nsuper(scope, id);\n// Code snippet begins after !show marker below\n/// !show\n\nconst additionalAuthenticationProviderProperty: appsync.CfnGraphQLApi.AdditionalAuthenticationProviderProperty = {\n authenticationType: 'authenticationType',\n\n // the properties below are optional\n lambdaAuthorizerConfig: {\n authorizerResultTtlInSeconds: 123,\n authorizerUri: 'authorizerUri',\n identityValidationExpression: 'identityValidationExpression',\n },\n openIdConnectConfig: {\n authTtl: 123,\n clientId: 'clientId',\n iatTtl: 123,\n issuer: 'issuer',\n },\n userPoolConfig: {\n appIdClientRegex: 'appIdClientRegex',\n awsRegion: 'awsRegion',\n userPoolId: 'userPoolId',\n },\n};\n/// !hide\n// Code snippet ended before !hide marker above\n} }","syntaxKindCounter":{"8":3,"10":9,"75":19,"153":2,"169":1,"193":4,"225":1,"242":1,"243":1,"254":1,"255":1,"256":1,"281":14,"290":1},"fqnsFingerprint":"9d4faa4bd25e6d4fe71027b6eff4ccbe002f8043fc65619f4009bdcf7270d160"},"cf05a337f5ac206087402381998581a7f32e4bb16061a136dcca17827d77c412":{"translations":{"python":{"source":"# The code below shows an example of how to instantiate this type.\n# The values are placeholders you should change.\nimport aws_cdk.aws_appsync as appsync\n\ncognito_user_pool_config_property = appsync.CfnGraphQLApi.CognitoUserPoolConfigProperty(\n app_id_client_regex=\"appIdClientRegex\",\n aws_region=\"awsRegion\",\n user_pool_id=\"userPoolId\"\n)","version":"2"},"csharp":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nusing Amazon.CDK.AWS.AppSync;\n\nvar cognitoUserPoolConfigProperty = new CognitoUserPoolConfigProperty {\n AppIdClientRegex = \"appIdClientRegex\",\n AwsRegion = \"awsRegion\",\n UserPoolId = \"userPoolId\"\n};","version":"1"},"java":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport software.amazon.awscdk.services.appsync.*;\n\nCognitoUserPoolConfigProperty cognitoUserPoolConfigProperty = CognitoUserPoolConfigProperty.builder()\n .appIdClientRegex(\"appIdClientRegex\")\n .awsRegion(\"awsRegion\")\n .userPoolId(\"userPoolId\")\n .build();","version":"1"},"go":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport appsync \"github.com/aws-samples/dummy/awscdkawsappsync\"\n\ncognitoUserPoolConfigProperty := &CognitoUserPoolConfigProperty{\n\tAppIdClientRegex: jsii.String(\"appIdClientRegex\"),\n\tAwsRegion: jsii.String(\"awsRegion\"),\n\tUserPoolId: jsii.String(\"userPoolId\"),\n}","version":"1"},"$":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as appsync from '@aws-cdk/aws-appsync';\nconst cognitoUserPoolConfigProperty: appsync.CfnGraphQLApi.CognitoUserPoolConfigProperty = {\n appIdClientRegex: 'appIdClientRegex',\n awsRegion: 'awsRegion',\n userPoolId: 'userPoolId',\n};","version":"0"}},"location":{"api":{"api":"type","fqn":"@aws-cdk/aws-appsync.CfnGraphQLApi.CognitoUserPoolConfigProperty"},"field":{"field":"example"}},"didCompile":true,"fqnsReferenced":["@aws-cdk/aws-appsync.CfnGraphQLApi.CognitoUserPoolConfigProperty"],"fullSource":"// Hoisted imports begin after !show marker below\n/// !show\n// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as appsync from '@aws-cdk/aws-appsync';\n/// !hide\n// Hoisted imports ended before !hide marker above\nimport { Construct } from \"@aws-cdk/core\";\nclass MyConstruct extends Construct {\nconstructor(scope: Construct, id: string) {\nsuper(scope, id);\n// Code snippet begins after !show marker below\n/// !show\n\nconst cognitoUserPoolConfigProperty: appsync.CfnGraphQLApi.CognitoUserPoolConfigProperty = {\n appIdClientRegex: 'appIdClientRegex',\n awsRegion: 'awsRegion',\n userPoolId: 'userPoolId',\n};\n/// !hide\n// Code snippet ended before !hide marker above\n} }","syntaxKindCounter":{"10":4,"75":8,"153":2,"169":1,"193":1,"225":1,"242":1,"243":1,"254":1,"255":1,"256":1,"281":3,"290":1},"fqnsFingerprint":"7e16ddd4f2905a365957252d3b192b57165cfb4659b400978e52d309c1502dfe"},"ed9e6ea5189de35d6fa5573c599f16bbd8ed25a9bf5bfc8389ba8fc8e7bd1808":{"translations":{"python":{"source":"# The code below shows an example of how to instantiate this type.\n# The values are placeholders you should change.\nimport aws_cdk.aws_appsync as appsync\n\nlambda_authorizer_config_property = appsync.CfnGraphQLApi.LambdaAuthorizerConfigProperty(\n authorizer_result_ttl_in_seconds=123,\n authorizer_uri=\"authorizerUri\",\n identity_validation_expression=\"identityValidationExpression\"\n)","version":"2"},"csharp":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nusing Amazon.CDK.AWS.AppSync;\n\nvar lambdaAuthorizerConfigProperty = new LambdaAuthorizerConfigProperty {\n AuthorizerResultTtlInSeconds = 123,\n AuthorizerUri = \"authorizerUri\",\n IdentityValidationExpression = \"identityValidationExpression\"\n};","version":"1"},"java":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport software.amazon.awscdk.services.appsync.*;\n\nLambdaAuthorizerConfigProperty lambdaAuthorizerConfigProperty = LambdaAuthorizerConfigProperty.builder()\n .authorizerResultTtlInSeconds(123)\n .authorizerUri(\"authorizerUri\")\n .identityValidationExpression(\"identityValidationExpression\")\n .build();","version":"1"},"go":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport appsync \"github.com/aws-samples/dummy/awscdkawsappsync\"\n\nlambdaAuthorizerConfigProperty := &LambdaAuthorizerConfigProperty{\n\tAuthorizerResultTtlInSeconds: jsii.Number(123),\n\tAuthorizerUri: jsii.String(\"authorizerUri\"),\n\tIdentityValidationExpression: jsii.String(\"identityValidationExpression\"),\n}","version":"1"},"$":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as appsync from '@aws-cdk/aws-appsync';\nconst lambdaAuthorizerConfigProperty: appsync.CfnGraphQLApi.LambdaAuthorizerConfigProperty = {\n authorizerResultTtlInSeconds: 123,\n authorizerUri: 'authorizerUri',\n identityValidationExpression: 'identityValidationExpression',\n};","version":"0"}},"location":{"api":{"api":"type","fqn":"@aws-cdk/aws-appsync.CfnGraphQLApi.LambdaAuthorizerConfigProperty"},"field":{"field":"example"}},"didCompile":true,"fqnsReferenced":["@aws-cdk/aws-appsync.CfnGraphQLApi.LambdaAuthorizerConfigProperty"],"fullSource":"// Hoisted imports begin after !show marker below\n/// !show\n// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as appsync from '@aws-cdk/aws-appsync';\n/// !hide\n// Hoisted imports ended before !hide marker above\nimport { Construct } from \"@aws-cdk/core\";\nclass MyConstruct extends Construct {\nconstructor(scope: Construct, id: string) {\nsuper(scope, id);\n// Code snippet begins after !show marker below\n/// !show\n\nconst lambdaAuthorizerConfigProperty: appsync.CfnGraphQLApi.LambdaAuthorizerConfigProperty = {\n authorizerResultTtlInSeconds: 123,\n authorizerUri: 'authorizerUri',\n identityValidationExpression: 'identityValidationExpression',\n};\n/// !hide\n// Code snippet ended before !hide marker above\n} }","syntaxKindCounter":{"8":1,"10":3,"75":8,"153":2,"169":1,"193":1,"225":1,"242":1,"243":1,"254":1,"255":1,"256":1,"281":3,"290":1},"fqnsFingerprint":"768d9926851396af18f7824da83d44fb016e8e984489efebe3d37314342fa8c9"},"4c4dd3e4b7468f1c5d354e66248d978bebe42c13b45c3b27528701db2060f0d6":{"translations":{"python":{"source":"# The code below shows an example of how to instantiate this type.\n# The values are placeholders you should change.\nimport aws_cdk.aws_appsync as appsync\n\nlog_config_property = appsync.CfnGraphQLApi.LogConfigProperty(\n cloud_watch_logs_role_arn=\"cloudWatchLogsRoleArn\",\n exclude_verbose_content=False,\n field_log_level=\"fieldLogLevel\"\n)","version":"2"},"csharp":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nusing Amazon.CDK.AWS.AppSync;\n\nvar logConfigProperty = new LogConfigProperty {\n CloudWatchLogsRoleArn = \"cloudWatchLogsRoleArn\",\n ExcludeVerboseContent = false,\n FieldLogLevel = \"fieldLogLevel\"\n};","version":"1"},"java":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport software.amazon.awscdk.services.appsync.*;\n\nLogConfigProperty logConfigProperty = LogConfigProperty.builder()\n .cloudWatchLogsRoleArn(\"cloudWatchLogsRoleArn\")\n .excludeVerboseContent(false)\n .fieldLogLevel(\"fieldLogLevel\")\n .build();","version":"1"},"go":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport appsync \"github.com/aws-samples/dummy/awscdkawsappsync\"\n\nlogConfigProperty := &LogConfigProperty{\n\tCloudWatchLogsRoleArn: jsii.String(\"cloudWatchLogsRoleArn\"),\n\tExcludeVerboseContent: jsii.Boolean(false),\n\tFieldLogLevel: jsii.String(\"fieldLogLevel\"),\n}","version":"1"},"$":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as appsync from '@aws-cdk/aws-appsync';\nconst logConfigProperty: appsync.CfnGraphQLApi.LogConfigProperty = {\n cloudWatchLogsRoleArn: 'cloudWatchLogsRoleArn',\n excludeVerboseContent: false,\n fieldLogLevel: 'fieldLogLevel',\n};","version":"0"}},"location":{"api":{"api":"type","fqn":"@aws-cdk/aws-appsync.CfnGraphQLApi.LogConfigProperty"},"field":{"field":"example"}},"didCompile":true,"fqnsReferenced":["@aws-cdk/aws-appsync.CfnGraphQLApi.LogConfigProperty"],"fullSource":"// Hoisted imports begin after !show marker below\n/// !show\n// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as appsync from '@aws-cdk/aws-appsync';\n/// !hide\n// Hoisted imports ended before !hide marker above\nimport { Construct } from \"@aws-cdk/core\";\nclass MyConstruct extends Construct {\nconstructor(scope: Construct, id: string) {\nsuper(scope, id);\n// Code snippet begins after !show marker below\n/// !show\n\nconst logConfigProperty: appsync.CfnGraphQLApi.LogConfigProperty = {\n cloudWatchLogsRoleArn: 'cloudWatchLogsRoleArn',\n excludeVerboseContent: false,\n fieldLogLevel: 'fieldLogLevel',\n};\n/// !hide\n// Code snippet ended before !hide marker above\n} }","syntaxKindCounter":{"10":3,"75":8,"91":1,"153":2,"169":1,"193":1,"225":1,"242":1,"243":1,"254":1,"255":1,"256":1,"281":3,"290":1},"fqnsFingerprint":"412a92b0d1efa94e46b0089b51218f8f7018b09d7603d4bbb2b8b0f40b3cdbb1"},"6d324b051c4f45e9707c9c3292bd9eee3d82bb5f0075e6f90cdca242f9321576":{"translations":{"python":{"source":"# The code below shows an example of how to instantiate this type.\n# The values are placeholders you should change.\nimport aws_cdk.aws_appsync as appsync\n\nopen_iDConnect_config_property = appsync.CfnGraphQLApi.OpenIDConnectConfigProperty(\n auth_ttl=123,\n client_id=\"clientId\",\n iat_ttl=123,\n issuer=\"issuer\"\n)","version":"2"},"csharp":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nusing Amazon.CDK.AWS.AppSync;\n\nvar openIDConnectConfigProperty = new OpenIDConnectConfigProperty {\n AuthTtl = 123,\n ClientId = \"clientId\",\n IatTtl = 123,\n Issuer = \"issuer\"\n};","version":"1"},"java":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport software.amazon.awscdk.services.appsync.*;\n\nOpenIDConnectConfigProperty openIDConnectConfigProperty = OpenIDConnectConfigProperty.builder()\n .authTtl(123)\n .clientId(\"clientId\")\n .iatTtl(123)\n .issuer(\"issuer\")\n .build();","version":"1"},"go":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport appsync \"github.com/aws-samples/dummy/awscdkawsappsync\"\n\nopenIDConnectConfigProperty := &OpenIDConnectConfigProperty{\n\tAuthTtl: jsii.Number(123),\n\tClientId: jsii.String(\"clientId\"),\n\tIatTtl: jsii.Number(123),\n\tIssuer: jsii.String(\"issuer\"),\n}","version":"1"},"$":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as appsync from '@aws-cdk/aws-appsync';\nconst openIDConnectConfigProperty: appsync.CfnGraphQLApi.OpenIDConnectConfigProperty = {\n authTtl: 123,\n clientId: 'clientId',\n iatTtl: 123,\n issuer: 'issuer',\n};","version":"0"}},"location":{"api":{"api":"type","fqn":"@aws-cdk/aws-appsync.CfnGraphQLApi.OpenIDConnectConfigProperty"},"field":{"field":"example"}},"didCompile":true,"fqnsReferenced":["@aws-cdk/aws-appsync.CfnGraphQLApi.OpenIDConnectConfigProperty"],"fullSource":"// Hoisted imports begin after !show marker below\n/// !show\n// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as appsync from '@aws-cdk/aws-appsync';\n/// !hide\n// Hoisted imports ended before !hide marker above\nimport { Construct } from \"@aws-cdk/core\";\nclass MyConstruct extends Construct {\nconstructor(scope: Construct, id: string) {\nsuper(scope, id);\n// Code snippet begins after !show marker below\n/// !show\n\nconst openIDConnectConfigProperty: appsync.CfnGraphQLApi.OpenIDConnectConfigProperty = {\n authTtl: 123,\n clientId: 'clientId',\n iatTtl: 123,\n issuer: 'issuer',\n};\n/// !hide\n// Code snippet ended before !hide marker above\n} }","syntaxKindCounter":{"8":2,"10":3,"75":9,"153":2,"169":1,"193":1,"225":1,"242":1,"243":1,"254":1,"255":1,"256":1,"281":4,"290":1},"fqnsFingerprint":"f07b8937fba57fc2e60eca18253bcb29af148b3e863a0dbcaa690f33fe0f4166"},"23f78ec1fa542ce31763fa5f0022f334c52ee49372a6237464d47271889587fb":{"translations":{"python":{"source":"# The code below shows an example of how to instantiate this type.\n# The values are placeholders you should change.\nimport aws_cdk.aws_appsync as appsync\n\nuser_pool_config_property = appsync.CfnGraphQLApi.UserPoolConfigProperty(\n app_id_client_regex=\"appIdClientRegex\",\n aws_region=\"awsRegion\",\n default_action=\"defaultAction\",\n user_pool_id=\"userPoolId\"\n)","version":"2"},"csharp":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nusing Amazon.CDK.AWS.AppSync;\n\nvar userPoolConfigProperty = new UserPoolConfigProperty {\n AppIdClientRegex = \"appIdClientRegex\",\n AwsRegion = \"awsRegion\",\n DefaultAction = \"defaultAction\",\n UserPoolId = \"userPoolId\"\n};","version":"1"},"java":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport software.amazon.awscdk.services.appsync.*;\n\nUserPoolConfigProperty userPoolConfigProperty = UserPoolConfigProperty.builder()\n .appIdClientRegex(\"appIdClientRegex\")\n .awsRegion(\"awsRegion\")\n .defaultAction(\"defaultAction\")\n .userPoolId(\"userPoolId\")\n .build();","version":"1"},"go":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport appsync \"github.com/aws-samples/dummy/awscdkawsappsync\"\n\nuserPoolConfigProperty := &UserPoolConfigProperty{\n\tAppIdClientRegex: jsii.String(\"appIdClientRegex\"),\n\tAwsRegion: jsii.String(\"awsRegion\"),\n\tDefaultAction: jsii.String(\"defaultAction\"),\n\tUserPoolId: jsii.String(\"userPoolId\"),\n}","version":"1"},"$":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as appsync from '@aws-cdk/aws-appsync';\nconst userPoolConfigProperty: appsync.CfnGraphQLApi.UserPoolConfigProperty = {\n appIdClientRegex: 'appIdClientRegex',\n awsRegion: 'awsRegion',\n defaultAction: 'defaultAction',\n userPoolId: 'userPoolId',\n};","version":"0"}},"location":{"api":{"api":"type","fqn":"@aws-cdk/aws-appsync.CfnGraphQLApi.UserPoolConfigProperty"},"field":{"field":"example"}},"didCompile":true,"fqnsReferenced":["@aws-cdk/aws-appsync.CfnGraphQLApi.UserPoolConfigProperty"],"fullSource":"// Hoisted imports begin after !show marker below\n/// !show\n// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as appsync from '@aws-cdk/aws-appsync';\n/// !hide\n// Hoisted imports ended before !hide marker above\nimport { Construct } from \"@aws-cdk/core\";\nclass MyConstruct extends Construct {\nconstructor(scope: Construct, id: string) {\nsuper(scope, id);\n// Code snippet begins after !show marker below\n/// !show\n\nconst userPoolConfigProperty: appsync.CfnGraphQLApi.UserPoolConfigProperty = {\n appIdClientRegex: 'appIdClientRegex',\n awsRegion: 'awsRegion',\n defaultAction: 'defaultAction',\n userPoolId: 'userPoolId',\n};\n/// !hide\n// Code snippet ended before !hide marker above\n} }","syntaxKindCounter":{"10":5,"75":9,"153":2,"169":1,"193":1,"225":1,"242":1,"243":1,"254":1,"255":1,"256":1,"281":4,"290":1},"fqnsFingerprint":"e738d346817ead23d874209fdcd5c44da088891de81ca53c097c5406e692ecd8"},"ba4b28a5128a3517ed97d1b8cf7a32744e734fb76de29d2c724fc1b70fba2874":{"translations":{"python":{"source":"# The code below shows an example of how to instantiate this type.\n# The values are placeholders you should change.\nimport aws_cdk.aws_appsync as appsync\n\ncfn_graph_qLApi_props = appsync.CfnGraphQLApiProps(\n authentication_type=\"authenticationType\",\n name=\"name\",\n\n # the properties below are optional\n additional_authentication_providers=[appsync.CfnGraphQLApi.AdditionalAuthenticationProviderProperty(\n authentication_type=\"authenticationType\",\n\n # the properties below are optional\n lambda_authorizer_config=appsync.CfnGraphQLApi.LambdaAuthorizerConfigProperty(\n authorizer_result_ttl_in_seconds=123,\n authorizer_uri=\"authorizerUri\",\n identity_validation_expression=\"identityValidationExpression\"\n ),\n open_id_connect_config=appsync.CfnGraphQLApi.OpenIDConnectConfigProperty(\n auth_ttl=123,\n client_id=\"clientId\",\n iat_ttl=123,\n issuer=\"issuer\"\n ),\n user_pool_config=appsync.CfnGraphQLApi.CognitoUserPoolConfigProperty(\n app_id_client_regex=\"appIdClientRegex\",\n aws_region=\"awsRegion\",\n user_pool_id=\"userPoolId\"\n )\n )],\n api_type=\"apiType\",\n lambda_authorizer_config=appsync.CfnGraphQLApi.LambdaAuthorizerConfigProperty(\n authorizer_result_ttl_in_seconds=123,\n authorizer_uri=\"authorizerUri\",\n identity_validation_expression=\"identityValidationExpression\"\n ),\n log_config=appsync.CfnGraphQLApi.LogConfigProperty(\n cloud_watch_logs_role_arn=\"cloudWatchLogsRoleArn\",\n exclude_verbose_content=False,\n field_log_level=\"fieldLogLevel\"\n ),\n merged_api_execution_role_arn=\"mergedApiExecutionRoleArn\",\n open_id_connect_config=appsync.CfnGraphQLApi.OpenIDConnectConfigProperty(\n auth_ttl=123,\n client_id=\"clientId\",\n iat_ttl=123,\n issuer=\"issuer\"\n ),\n owner_contact=\"ownerContact\",\n tags=[CfnTag(\n key=\"key\",\n value=\"value\"\n )],\n user_pool_config=appsync.CfnGraphQLApi.UserPoolConfigProperty(\n app_id_client_regex=\"appIdClientRegex\",\n aws_region=\"awsRegion\",\n default_action=\"defaultAction\",\n user_pool_id=\"userPoolId\"\n ),\n visibility=\"visibility\",\n xray_enabled=False\n)","version":"2"},"csharp":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nusing Amazon.CDK.AWS.AppSync;\n\nvar cfnGraphQLApiProps = new CfnGraphQLApiProps {\n AuthenticationType = \"authenticationType\",\n Name = \"name\",\n\n // the properties below are optional\n AdditionalAuthenticationProviders = new [] { new AdditionalAuthenticationProviderProperty {\n AuthenticationType = \"authenticationType\",\n\n // the properties below are optional\n LambdaAuthorizerConfig = new LambdaAuthorizerConfigProperty {\n AuthorizerResultTtlInSeconds = 123,\n AuthorizerUri = \"authorizerUri\",\n IdentityValidationExpression = \"identityValidationExpression\"\n },\n OpenIdConnectConfig = new OpenIDConnectConfigProperty {\n AuthTtl = 123,\n ClientId = \"clientId\",\n IatTtl = 123,\n Issuer = \"issuer\"\n },\n UserPoolConfig = new CognitoUserPoolConfigProperty {\n AppIdClientRegex = \"appIdClientRegex\",\n AwsRegion = \"awsRegion\",\n UserPoolId = \"userPoolId\"\n }\n } },\n ApiType = \"apiType\",\n LambdaAuthorizerConfig = new LambdaAuthorizerConfigProperty {\n AuthorizerResultTtlInSeconds = 123,\n AuthorizerUri = \"authorizerUri\",\n IdentityValidationExpression = \"identityValidationExpression\"\n },\n LogConfig = new LogConfigProperty {\n CloudWatchLogsRoleArn = \"cloudWatchLogsRoleArn\",\n ExcludeVerboseContent = false,\n FieldLogLevel = \"fieldLogLevel\"\n },\n MergedApiExecutionRoleArn = \"mergedApiExecutionRoleArn\",\n OpenIdConnectConfig = new OpenIDConnectConfigProperty {\n AuthTtl = 123,\n ClientId = \"clientId\",\n IatTtl = 123,\n Issuer = \"issuer\"\n },\n OwnerContact = \"ownerContact\",\n Tags = new [] { new CfnTag {\n Key = \"key\",\n Value = \"value\"\n } },\n UserPoolConfig = new UserPoolConfigProperty {\n AppIdClientRegex = \"appIdClientRegex\",\n AwsRegion = \"awsRegion\",\n DefaultAction = \"defaultAction\",\n UserPoolId = \"userPoolId\"\n },\n Visibility = \"visibility\",\n XrayEnabled = false\n};","version":"1"},"java":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport software.amazon.awscdk.services.appsync.*;\n\nCfnGraphQLApiProps cfnGraphQLApiProps = CfnGraphQLApiProps.builder()\n .authenticationType(\"authenticationType\")\n .name(\"name\")\n\n // the properties below are optional\n .additionalAuthenticationProviders(List.of(AdditionalAuthenticationProviderProperty.builder()\n .authenticationType(\"authenticationType\")\n\n // the properties below are optional\n .lambdaAuthorizerConfig(LambdaAuthorizerConfigProperty.builder()\n .authorizerResultTtlInSeconds(123)\n .authorizerUri(\"authorizerUri\")\n .identityValidationExpression(\"identityValidationExpression\")\n .build())\n .openIdConnectConfig(OpenIDConnectConfigProperty.builder()\n .authTtl(123)\n .clientId(\"clientId\")\n .iatTtl(123)\n .issuer(\"issuer\")\n .build())\n .userPoolConfig(CognitoUserPoolConfigProperty.builder()\n .appIdClientRegex(\"appIdClientRegex\")\n .awsRegion(\"awsRegion\")\n .userPoolId(\"userPoolId\")\n .build())\n .build()))\n .apiType(\"apiType\")\n .lambdaAuthorizerConfig(LambdaAuthorizerConfigProperty.builder()\n .authorizerResultTtlInSeconds(123)\n .authorizerUri(\"authorizerUri\")\n .identityValidationExpression(\"identityValidationExpression\")\n .build())\n .logConfig(LogConfigProperty.builder()\n .cloudWatchLogsRoleArn(\"cloudWatchLogsRoleArn\")\n .excludeVerboseContent(false)\n .fieldLogLevel(\"fieldLogLevel\")\n .build())\n .mergedApiExecutionRoleArn(\"mergedApiExecutionRoleArn\")\n .openIdConnectConfig(OpenIDConnectConfigProperty.builder()\n .authTtl(123)\n .clientId(\"clientId\")\n .iatTtl(123)\n .issuer(\"issuer\")\n .build())\n .ownerContact(\"ownerContact\")\n .tags(List.of(CfnTag.builder()\n .key(\"key\")\n .value(\"value\")\n .build()))\n .userPoolConfig(UserPoolConfigProperty.builder()\n .appIdClientRegex(\"appIdClientRegex\")\n .awsRegion(\"awsRegion\")\n .defaultAction(\"defaultAction\")\n .userPoolId(\"userPoolId\")\n .build())\n .visibility(\"visibility\")\n .xrayEnabled(false)\n .build();","version":"1"},"go":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport appsync \"github.com/aws-samples/dummy/awscdkawsappsync\"\n\ncfnGraphQLApiProps := &CfnGraphQLApiProps{\n\tAuthenticationType: jsii.String(\"authenticationType\"),\n\tName: jsii.String(\"name\"),\n\n\t// the properties below are optional\n\tAdditionalAuthenticationProviders: []interface{}{\n\t\t&AdditionalAuthenticationProviderProperty{\n\t\t\tAuthenticationType: jsii.String(\"authenticationType\"),\n\n\t\t\t// the properties below are optional\n\t\t\tLambdaAuthorizerConfig: &LambdaAuthorizerConfigProperty{\n\t\t\t\tAuthorizerResultTtlInSeconds: jsii.Number(123),\n\t\t\t\tAuthorizerUri: jsii.String(\"authorizerUri\"),\n\t\t\t\tIdentityValidationExpression: jsii.String(\"identityValidationExpression\"),\n\t\t\t},\n\t\t\tOpenIdConnectConfig: &OpenIDConnectConfigProperty{\n\t\t\t\tAuthTtl: jsii.Number(123),\n\t\t\t\tClientId: jsii.String(\"clientId\"),\n\t\t\t\tIatTtl: jsii.Number(123),\n\t\t\t\tIssuer: jsii.String(\"issuer\"),\n\t\t\t},\n\t\t\tUserPoolConfig: &CognitoUserPoolConfigProperty{\n\t\t\t\tAppIdClientRegex: jsii.String(\"appIdClientRegex\"),\n\t\t\t\tAwsRegion: jsii.String(\"awsRegion\"),\n\t\t\t\tUserPoolId: jsii.String(\"userPoolId\"),\n\t\t\t},\n\t\t},\n\t},\n\tApiType: jsii.String(\"apiType\"),\n\tLambdaAuthorizerConfig: &LambdaAuthorizerConfigProperty{\n\t\tAuthorizerResultTtlInSeconds: jsii.Number(123),\n\t\tAuthorizerUri: jsii.String(\"authorizerUri\"),\n\t\tIdentityValidationExpression: jsii.String(\"identityValidationExpression\"),\n\t},\n\tLogConfig: &LogConfigProperty{\n\t\tCloudWatchLogsRoleArn: jsii.String(\"cloudWatchLogsRoleArn\"),\n\t\tExcludeVerboseContent: jsii.Boolean(false),\n\t\tFieldLogLevel: jsii.String(\"fieldLogLevel\"),\n\t},\n\tMergedApiExecutionRoleArn: jsii.String(\"mergedApiExecutionRoleArn\"),\n\tOpenIdConnectConfig: &OpenIDConnectConfigProperty{\n\t\tAuthTtl: jsii.Number(123),\n\t\tClientId: jsii.String(\"clientId\"),\n\t\tIatTtl: jsii.Number(123),\n\t\tIssuer: jsii.String(\"issuer\"),\n\t},\n\tOwnerContact: jsii.String(\"ownerContact\"),\n\tTags: []cfnTag{\n\t\t&cfnTag{\n\t\t\tKey: jsii.String(\"key\"),\n\t\t\tValue: jsii.String(\"value\"),\n\t\t},\n\t},\n\tUserPoolConfig: &UserPoolConfigProperty{\n\t\tAppIdClientRegex: jsii.String(\"appIdClientRegex\"),\n\t\tAwsRegion: jsii.String(\"awsRegion\"),\n\t\tDefaultAction: jsii.String(\"defaultAction\"),\n\t\tUserPoolId: jsii.String(\"userPoolId\"),\n\t},\n\tVisibility: jsii.String(\"visibility\"),\n\tXrayEnabled: jsii.Boolean(false),\n}","version":"1"},"$":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as appsync from '@aws-cdk/aws-appsync';\nconst cfnGraphQLApiProps: appsync.CfnGraphQLApiProps = {\n authenticationType: 'authenticationType',\n name: 'name',\n\n // the properties below are optional\n additionalAuthenticationProviders: [{\n authenticationType: 'authenticationType',\n\n // the properties below are optional\n lambdaAuthorizerConfig: {\n authorizerResultTtlInSeconds: 123,\n authorizerUri: 'authorizerUri',\n identityValidationExpression: 'identityValidationExpression',\n },\n openIdConnectConfig: {\n authTtl: 123,\n clientId: 'clientId',\n iatTtl: 123,\n issuer: 'issuer',\n },\n userPoolConfig: {\n appIdClientRegex: 'appIdClientRegex',\n awsRegion: 'awsRegion',\n userPoolId: 'userPoolId',\n },\n }],\n apiType: 'apiType',\n lambdaAuthorizerConfig: {\n authorizerResultTtlInSeconds: 123,\n authorizerUri: 'authorizerUri',\n identityValidationExpression: 'identityValidationExpression',\n },\n logConfig: {\n cloudWatchLogsRoleArn: 'cloudWatchLogsRoleArn',\n excludeVerboseContent: false,\n fieldLogLevel: 'fieldLogLevel',\n },\n mergedApiExecutionRoleArn: 'mergedApiExecutionRoleArn',\n openIdConnectConfig: {\n authTtl: 123,\n clientId: 'clientId',\n iatTtl: 123,\n issuer: 'issuer',\n },\n ownerContact: 'ownerContact',\n tags: [{\n key: 'key',\n value: 'value',\n }],\n userPoolConfig: {\n appIdClientRegex: 'appIdClientRegex',\n awsRegion: 'awsRegion',\n defaultAction: 'defaultAction',\n userPoolId: 'userPoolId',\n },\n visibility: 'visibility',\n xrayEnabled: false,\n};","version":"0"}},"location":{"api":{"api":"type","fqn":"@aws-cdk/aws-appsync.CfnGraphQLApiProps"},"field":{"field":"example"}},"didCompile":true,"fqnsReferenced":["@aws-cdk/aws-appsync.CfnGraphQLApiProps"],"fullSource":"// Hoisted imports begin after !show marker below\n/// !show\n// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as appsync from '@aws-cdk/aws-appsync';\n/// !hide\n// Hoisted imports ended before !hide marker above\nimport { Construct } from \"@aws-cdk/core\";\nclass MyConstruct extends Construct {\nconstructor(scope: Construct, id: string) {\nsuper(scope, id);\n// Code snippet begins after !show marker below\n/// !show\n\nconst cfnGraphQLApiProps: appsync.CfnGraphQLApiProps = {\n authenticationType: 'authenticationType',\n name: 'name',\n\n // the properties below are optional\n additionalAuthenticationProviders: [{\n authenticationType: 'authenticationType',\n\n // the properties below are optional\n lambdaAuthorizerConfig: {\n authorizerResultTtlInSeconds: 123,\n authorizerUri: 'authorizerUri',\n identityValidationExpression: 'identityValidationExpression',\n },\n openIdConnectConfig: {\n authTtl: 123,\n clientId: 'clientId',\n iatTtl: 123,\n issuer: 'issuer',\n },\n userPoolConfig: {\n appIdClientRegex: 'appIdClientRegex',\n awsRegion: 'awsRegion',\n userPoolId: 'userPoolId',\n },\n }],\n apiType: 'apiType',\n lambdaAuthorizerConfig: {\n authorizerResultTtlInSeconds: 123,\n authorizerUri: 'authorizerUri',\n identityValidationExpression: 'identityValidationExpression',\n },\n logConfig: {\n cloudWatchLogsRoleArn: 'cloudWatchLogsRoleArn',\n excludeVerboseContent: false,\n fieldLogLevel: 'fieldLogLevel',\n },\n mergedApiExecutionRoleArn: 'mergedApiExecutionRoleArn',\n openIdConnectConfig: {\n authTtl: 123,\n clientId: 'clientId',\n iatTtl: 123,\n issuer: 'issuer',\n },\n ownerContact: 'ownerContact',\n tags: [{\n key: 'key',\n value: 'value',\n }],\n userPoolConfig: {\n appIdClientRegex: 'appIdClientRegex',\n awsRegion: 'awsRegion',\n defaultAction: 'defaultAction',\n userPoolId: 'userPoolId',\n },\n visibility: 'visibility',\n xrayEnabled: false,\n};\n/// !hide\n// Code snippet ended before !hide marker above\n} }","syntaxKindCounter":{"8":6,"10":27,"75":47,"91":2,"153":1,"169":1,"192":2,"193":10,"225":1,"242":1,"243":1,"254":1,"255":1,"256":1,"281":43,"290":1},"fqnsFingerprint":"2923c5362c65b9189c08f244bd31ca3f60f4e2449e7a6448432ea67c8b0d4253"},"5c0ef90ed1fcaf0dffca0346abc8064179fb62b0eb0bc593636781b250dd9a53":{"translations":{"python":{"source":"# The code below shows an example of how to instantiate this type.\n# The values are placeholders you should change.\nimport aws_cdk.aws_appsync as appsync\n\ncfn_graph_qLSchema = appsync.CfnGraphQLSchema(self, \"MyCfnGraphQLSchema\",\n api_id=\"apiId\",\n\n # the properties below are optional\n definition=\"definition\",\n definition_s3_location=\"definitionS3Location\"\n)","version":"2"},"csharp":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nusing Amazon.CDK.AWS.AppSync;\n\nvar cfnGraphQLSchema = new CfnGraphQLSchema(this, \"MyCfnGraphQLSchema\", new CfnGraphQLSchemaProps {\n ApiId = \"apiId\",\n\n // the properties below are optional\n Definition = \"definition\",\n DefinitionS3Location = \"definitionS3Location\"\n});","version":"1"},"java":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport software.amazon.awscdk.services.appsync.*;\n\nCfnGraphQLSchema cfnGraphQLSchema = CfnGraphQLSchema.Builder.create(this, \"MyCfnGraphQLSchema\")\n .apiId(\"apiId\")\n\n // the properties below are optional\n .definition(\"definition\")\n .definitionS3Location(\"definitionS3Location\")\n .build();","version":"1"},"go":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport appsync \"github.com/aws-samples/dummy/awscdkawsappsync\"\n\ncfnGraphQLSchema := appsync.NewCfnGraphQLSchema(this, jsii.String(\"MyCfnGraphQLSchema\"), &CfnGraphQLSchemaProps{\n\tApiId: jsii.String(\"apiId\"),\n\n\t// the properties below are optional\n\tDefinition: jsii.String(\"definition\"),\n\tDefinitionS3Location: jsii.String(\"definitionS3Location\"),\n})","version":"1"},"$":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as appsync from '@aws-cdk/aws-appsync';\nconst cfnGraphQLSchema = new appsync.CfnGraphQLSchema(this, 'MyCfnGraphQLSchema', {\n apiId: 'apiId',\n\n // the properties below are optional\n definition: 'definition',\n definitionS3Location: 'definitionS3Location',\n});","version":"0"}},"location":{"api":{"api":"type","fqn":"@aws-cdk/aws-appsync.CfnGraphQLSchema"},"field":{"field":"example"}},"didCompile":true,"fqnsReferenced":["@aws-cdk/aws-appsync.CfnGraphQLSchema","@aws-cdk/aws-appsync.CfnGraphQLSchemaProps","@aws-cdk/core.Construct"],"fullSource":"// Hoisted imports begin after !show marker below\n/// !show\n// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as appsync from '@aws-cdk/aws-appsync';\n/// !hide\n// Hoisted imports ended before !hide marker above\nimport { Construct } from \"@aws-cdk/core\";\nclass MyConstruct extends Construct {\nconstructor(scope: Construct, id: string) {\nsuper(scope, id);\n// Code snippet begins after !show marker below\n/// !show\n\nconst cfnGraphQLSchema = new appsync.CfnGraphQLSchema(this, 'MyCfnGraphQLSchema', {\n apiId: 'apiId',\n\n // the properties below are optional\n definition: 'definition',\n definitionS3Location: 'definitionS3Location',\n});\n/// !hide\n// Code snippet ended before !hide marker above\n} }","syntaxKindCounter":{"10":5,"75":7,"104":1,"193":1,"194":1,"197":1,"225":1,"242":1,"243":1,"254":1,"255":1,"256":1,"281":3,"290":1},"fqnsFingerprint":"bc3aa8a620698e3b66ea0508434695d44cf6cc67049683ae1ff4dc306106aacd"},"6b624f7ea6d705372588acb8dcf12df8d560370c79d8425a480ff2b3d21a8ca4":{"translations":{"python":{"source":"# The code below shows an example of how to instantiate this type.\n# The values are placeholders you should change.\nimport aws_cdk.aws_appsync as appsync\n\ncfn_graph_qLSchema_props = appsync.CfnGraphQLSchemaProps(\n api_id=\"apiId\",\n\n # the properties below are optional\n definition=\"definition\",\n definition_s3_location=\"definitionS3Location\"\n)","version":"2"},"csharp":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nusing Amazon.CDK.AWS.AppSync;\n\nvar cfnGraphQLSchemaProps = new CfnGraphQLSchemaProps {\n ApiId = \"apiId\",\n\n // the properties below are optional\n Definition = \"definition\",\n DefinitionS3Location = \"definitionS3Location\"\n};","version":"1"},"java":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport software.amazon.awscdk.services.appsync.*;\n\nCfnGraphQLSchemaProps cfnGraphQLSchemaProps = CfnGraphQLSchemaProps.builder()\n .apiId(\"apiId\")\n\n // the properties below are optional\n .definition(\"definition\")\n .definitionS3Location(\"definitionS3Location\")\n .build();","version":"1"},"go":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport appsync \"github.com/aws-samples/dummy/awscdkawsappsync\"\n\ncfnGraphQLSchemaProps := &CfnGraphQLSchemaProps{\n\tApiId: jsii.String(\"apiId\"),\n\n\t// the properties below are optional\n\tDefinition: jsii.String(\"definition\"),\n\tDefinitionS3Location: jsii.String(\"definitionS3Location\"),\n}","version":"1"},"$":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as appsync from '@aws-cdk/aws-appsync';\nconst cfnGraphQLSchemaProps: appsync.CfnGraphQLSchemaProps = {\n apiId: 'apiId',\n\n // the properties below are optional\n definition: 'definition',\n definitionS3Location: 'definitionS3Location',\n};","version":"0"}},"location":{"api":{"api":"type","fqn":"@aws-cdk/aws-appsync.CfnGraphQLSchemaProps"},"field":{"field":"example"}},"didCompile":true,"fqnsReferenced":["@aws-cdk/aws-appsync.CfnGraphQLSchemaProps"],"fullSource":"// Hoisted imports begin after !show marker below\n/// !show\n// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as appsync from '@aws-cdk/aws-appsync';\n/// !hide\n// Hoisted imports ended before !hide marker above\nimport { Construct } from \"@aws-cdk/core\";\nclass MyConstruct extends Construct {\nconstructor(scope: Construct, id: string) {\nsuper(scope, id);\n// Code snippet begins after !show marker below\n/// !show\n\nconst cfnGraphQLSchemaProps: appsync.CfnGraphQLSchemaProps = {\n apiId: 'apiId',\n\n // the properties below are optional\n definition: 'definition',\n definitionS3Location: 'definitionS3Location',\n};\n/// !hide\n// Code snippet ended before !hide marker above\n} }","syntaxKindCounter":{"10":4,"75":7,"153":1,"169":1,"193":1,"225":1,"242":1,"243":1,"254":1,"255":1,"256":1,"281":3,"290":1},"fqnsFingerprint":"cb3b2be7752216e24ef7f0505b75a033790487c2fc6ad01fcefe79715dc77698"},"5786350f7644da89d060def844f91be119b45f6d511019f35a9d6569c6de6322":{"translations":{"python":{"source":"# The code below shows an example of how to instantiate this type.\n# The values are placeholders you should change.\nimport aws_cdk.aws_appsync as appsync\n\ncfn_resolver = appsync.CfnResolver(self, \"MyCfnResolver\",\n api_id=\"apiId\",\n field_name=\"fieldName\",\n type_name=\"typeName\",\n\n # the properties below are optional\n caching_config=appsync.CfnResolver.CachingConfigProperty(\n ttl=123,\n\n # the properties below are optional\n caching_keys=[\"cachingKeys\"]\n ),\n code=\"code\",\n code_s3_location=\"codeS3Location\",\n data_source_name=\"dataSourceName\",\n kind=\"kind\",\n max_batch_size=123,\n pipeline_config=appsync.CfnResolver.PipelineConfigProperty(\n functions=[\"functions\"]\n ),\n request_mapping_template=\"requestMappingTemplate\",\n request_mapping_template_s3_location=\"requestMappingTemplateS3Location\",\n response_mapping_template=\"responseMappingTemplate\",\n response_mapping_template_s3_location=\"responseMappingTemplateS3Location\",\n runtime=appsync.CfnResolver.AppSyncRuntimeProperty(\n name=\"name\",\n runtime_version=\"runtimeVersion\"\n ),\n sync_config=appsync.CfnResolver.SyncConfigProperty(\n conflict_detection=\"conflictDetection\",\n\n # the properties below are optional\n conflict_handler=\"conflictHandler\",\n lambda_conflict_handler_config=appsync.CfnResolver.LambdaConflictHandlerConfigProperty(\n lambda_conflict_handler_arn=\"lambdaConflictHandlerArn\"\n )\n )\n)","version":"2"},"csharp":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nusing Amazon.CDK.AWS.AppSync;\n\nvar cfnResolver = new CfnResolver(this, \"MyCfnResolver\", new CfnResolverProps {\n ApiId = \"apiId\",\n FieldName = \"fieldName\",\n TypeName = \"typeName\",\n\n // the properties below are optional\n CachingConfig = new CachingConfigProperty {\n Ttl = 123,\n\n // the properties below are optional\n CachingKeys = new [] { \"cachingKeys\" }\n },\n Code = \"code\",\n CodeS3Location = \"codeS3Location\",\n DataSourceName = \"dataSourceName\",\n Kind = \"kind\",\n MaxBatchSize = 123,\n PipelineConfig = new PipelineConfigProperty {\n Functions = new [] { \"functions\" }\n },\n RequestMappingTemplate = \"requestMappingTemplate\",\n RequestMappingTemplateS3Location = \"requestMappingTemplateS3Location\",\n ResponseMappingTemplate = \"responseMappingTemplate\",\n ResponseMappingTemplateS3Location = \"responseMappingTemplateS3Location\",\n Runtime = new AppSyncRuntimeProperty {\n Name = \"name\",\n RuntimeVersion = \"runtimeVersion\"\n },\n SyncConfig = new SyncConfigProperty {\n ConflictDetection = \"conflictDetection\",\n\n // the properties below are optional\n ConflictHandler = \"conflictHandler\",\n LambdaConflictHandlerConfig = new LambdaConflictHandlerConfigProperty {\n LambdaConflictHandlerArn = \"lambdaConflictHandlerArn\"\n }\n }\n});","version":"1"},"java":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport software.amazon.awscdk.services.appsync.*;\n\nCfnResolver cfnResolver = CfnResolver.Builder.create(this, \"MyCfnResolver\")\n .apiId(\"apiId\")\n .fieldName(\"fieldName\")\n .typeName(\"typeName\")\n\n // the properties below are optional\n .cachingConfig(CachingConfigProperty.builder()\n .ttl(123)\n\n // the properties below are optional\n .cachingKeys(List.of(\"cachingKeys\"))\n .build())\n .code(\"code\")\n .codeS3Location(\"codeS3Location\")\n .dataSourceName(\"dataSourceName\")\n .kind(\"kind\")\n .maxBatchSize(123)\n .pipelineConfig(PipelineConfigProperty.builder()\n .functions(List.of(\"functions\"))\n .build())\n .requestMappingTemplate(\"requestMappingTemplate\")\n .requestMappingTemplateS3Location(\"requestMappingTemplateS3Location\")\n .responseMappingTemplate(\"responseMappingTemplate\")\n .responseMappingTemplateS3Location(\"responseMappingTemplateS3Location\")\n .runtime(AppSyncRuntimeProperty.builder()\n .name(\"name\")\n .runtimeVersion(\"runtimeVersion\")\n .build())\n .syncConfig(SyncConfigProperty.builder()\n .conflictDetection(\"conflictDetection\")\n\n // the properties below are optional\n .conflictHandler(\"conflictHandler\")\n .lambdaConflictHandlerConfig(LambdaConflictHandlerConfigProperty.builder()\n .lambdaConflictHandlerArn(\"lambdaConflictHandlerArn\")\n .build())\n .build())\n .build();","version":"1"},"go":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport appsync \"github.com/aws-samples/dummy/awscdkawsappsync\"\n\ncfnResolver := appsync.NewCfnResolver(this, jsii.String(\"MyCfnResolver\"), &CfnResolverProps{\n\tApiId: jsii.String(\"apiId\"),\n\tFieldName: jsii.String(\"fieldName\"),\n\tTypeName: jsii.String(\"typeName\"),\n\n\t// the properties below are optional\n\tCachingConfig: &CachingConfigProperty{\n\t\tTtl: jsii.Number(123),\n\n\t\t// the properties below are optional\n\t\tCachingKeys: []*string{\n\t\t\tjsii.String(\"cachingKeys\"),\n\t\t},\n\t},\n\tCode: jsii.String(\"code\"),\n\tCodeS3Location: jsii.String(\"codeS3Location\"),\n\tDataSourceName: jsii.String(\"dataSourceName\"),\n\tKind: jsii.String(\"kind\"),\n\tMaxBatchSize: jsii.Number(123),\n\tPipelineConfig: &PipelineConfigProperty{\n\t\tFunctions: []*string{\n\t\t\tjsii.String(\"functions\"),\n\t\t},\n\t},\n\tRequestMappingTemplate: jsii.String(\"requestMappingTemplate\"),\n\tRequestMappingTemplateS3Location: jsii.String(\"requestMappingTemplateS3Location\"),\n\tResponseMappingTemplate: jsii.String(\"responseMappingTemplate\"),\n\tResponseMappingTemplateS3Location: jsii.String(\"responseMappingTemplateS3Location\"),\n\tRuntime: &AppSyncRuntimeProperty{\n\t\tName: jsii.String(\"name\"),\n\t\tRuntimeVersion: jsii.String(\"runtimeVersion\"),\n\t},\n\tSyncConfig: &SyncConfigProperty{\n\t\tConflictDetection: jsii.String(\"conflictDetection\"),\n\n\t\t// the properties below are optional\n\t\tConflictHandler: jsii.String(\"conflictHandler\"),\n\t\tLambdaConflictHandlerConfig: &LambdaConflictHandlerConfigProperty{\n\t\t\tLambdaConflictHandlerArn: jsii.String(\"lambdaConflictHandlerArn\"),\n\t\t},\n\t},\n})","version":"1"},"$":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as appsync from '@aws-cdk/aws-appsync';\nconst cfnResolver = new appsync.CfnResolver(this, 'MyCfnResolver', {\n apiId: 'apiId',\n fieldName: 'fieldName',\n typeName: 'typeName',\n\n // the properties below are optional\n cachingConfig: {\n ttl: 123,\n\n // the properties below are optional\n cachingKeys: ['cachingKeys'],\n },\n code: 'code',\n codeS3Location: 'codeS3Location',\n dataSourceName: 'dataSourceName',\n kind: 'kind',\n maxBatchSize: 123,\n pipelineConfig: {\n functions: ['functions'],\n },\n requestMappingTemplate: 'requestMappingTemplate',\n requestMappingTemplateS3Location: 'requestMappingTemplateS3Location',\n responseMappingTemplate: 'responseMappingTemplate',\n responseMappingTemplateS3Location: 'responseMappingTemplateS3Location',\n runtime: {\n name: 'name',\n runtimeVersion: 'runtimeVersion',\n },\n syncConfig: {\n conflictDetection: 'conflictDetection',\n\n // the properties below are optional\n conflictHandler: 'conflictHandler',\n lambdaConflictHandlerConfig: {\n lambdaConflictHandlerArn: 'lambdaConflictHandlerArn',\n },\n },\n});","version":"0"}},"location":{"api":{"api":"type","fqn":"@aws-cdk/aws-appsync.CfnResolver"},"field":{"field":"example"}},"didCompile":true,"fqnsReferenced":["@aws-cdk/aws-appsync.CfnResolver","@aws-cdk/aws-appsync.CfnResolverProps","@aws-cdk/core.Construct"],"fullSource":"// Hoisted imports begin after !show marker below\n/// !show\n// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as appsync from '@aws-cdk/aws-appsync';\n/// !hide\n// Hoisted imports ended before !hide marker above\nimport { Construct } from \"@aws-cdk/core\";\nclass MyConstruct extends Construct {\nconstructor(scope: Construct, id: string) {\nsuper(scope, id);\n// Code snippet begins after !show marker below\n/// !show\n\nconst cfnResolver = new appsync.CfnResolver(this, 'MyCfnResolver', {\n apiId: 'apiId',\n fieldName: 'fieldName',\n typeName: 'typeName',\n\n // the properties below are optional\n cachingConfig: {\n ttl: 123,\n\n // the properties below are optional\n cachingKeys: ['cachingKeys'],\n },\n code: 'code',\n codeS3Location: 'codeS3Location',\n dataSourceName: 'dataSourceName',\n kind: 'kind',\n maxBatchSize: 123,\n pipelineConfig: {\n functions: ['functions'],\n },\n requestMappingTemplate: 'requestMappingTemplate',\n requestMappingTemplateS3Location: 'requestMappingTemplateS3Location',\n responseMappingTemplate: 'responseMappingTemplate',\n responseMappingTemplateS3Location: 'responseMappingTemplateS3Location',\n runtime: {\n name: 'name',\n runtimeVersion: 'runtimeVersion',\n },\n syncConfig: {\n conflictDetection: 'conflictDetection',\n\n // the properties below are optional\n conflictHandler: 'conflictHandler',\n lambdaConflictHandlerConfig: {\n lambdaConflictHandlerArn: 'lambdaConflictHandlerArn',\n },\n },\n});\n/// !hide\n// Code snippet ended before !hide marker above\n} }","syntaxKindCounter":{"8":2,"10":20,"75":29,"104":1,"192":2,"193":6,"194":1,"197":1,"225":1,"242":1,"243":1,"254":1,"255":1,"256":1,"281":25,"290":1},"fqnsFingerprint":"71d0922490f12b1ac2721b05edcccbe804d5ba8065b501fe184bc88d1514c8ec"},"039e0853c015124c1e2e40b90c4dcf32b1d6b1f0e4eac3dc64fcc7476d5e0851":{"translations":{"python":{"source":"# The code below shows an example of how to instantiate this type.\n# The values are placeholders you should change.\nimport aws_cdk.aws_appsync as appsync\n\napp_sync_runtime_property = appsync.CfnResolver.AppSyncRuntimeProperty(\n name=\"name\",\n runtime_version=\"runtimeVersion\"\n)","version":"2"},"csharp":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nusing Amazon.CDK.AWS.AppSync;\n\nvar appSyncRuntimeProperty = new AppSyncRuntimeProperty {\n Name = \"name\",\n RuntimeVersion = \"runtimeVersion\"\n};","version":"1"},"java":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport software.amazon.awscdk.services.appsync.*;\n\nAppSyncRuntimeProperty appSyncRuntimeProperty = AppSyncRuntimeProperty.builder()\n .name(\"name\")\n .runtimeVersion(\"runtimeVersion\")\n .build();","version":"1"},"go":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport appsync \"github.com/aws-samples/dummy/awscdkawsappsync\"\n\nappSyncRuntimeProperty := &AppSyncRuntimeProperty{\n\tName: jsii.String(\"name\"),\n\tRuntimeVersion: jsii.String(\"runtimeVersion\"),\n}","version":"1"},"$":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as appsync from '@aws-cdk/aws-appsync';\nconst appSyncRuntimeProperty: appsync.CfnResolver.AppSyncRuntimeProperty = {\n name: 'name',\n runtimeVersion: 'runtimeVersion',\n};","version":"0"}},"location":{"api":{"api":"type","fqn":"@aws-cdk/aws-appsync.CfnResolver.AppSyncRuntimeProperty"},"field":{"field":"example"}},"didCompile":true,"fqnsReferenced":["@aws-cdk/aws-appsync.CfnResolver.AppSyncRuntimeProperty"],"fullSource":"// Hoisted imports begin after !show marker below\n/// !show\n// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as appsync from '@aws-cdk/aws-appsync';\n/// !hide\n// Hoisted imports ended before !hide marker above\nimport { Construct } from \"@aws-cdk/core\";\nclass MyConstruct extends Construct {\nconstructor(scope: Construct, id: string) {\nsuper(scope, id);\n// Code snippet begins after !show marker below\n/// !show\n\nconst appSyncRuntimeProperty: appsync.CfnResolver.AppSyncRuntimeProperty = {\n name: 'name',\n runtimeVersion: 'runtimeVersion',\n};\n/// !hide\n// Code snippet ended before !hide marker above\n} }","syntaxKindCounter":{"10":3,"75":7,"153":2,"169":1,"193":1,"225":1,"242":1,"243":1,"254":1,"255":1,"256":1,"281":2,"290":1},"fqnsFingerprint":"95bc293c8f266003ae4531a17713ae0707ae08681121aa8e1105be09f89b337f"},"7aafae134b64fde8e085a3aaa4e16cc3325f4e4bd62dff6857b1b740da5273f9":{"translations":{"python":{"source":"# The code below shows an example of how to instantiate this type.\n# The values are placeholders you should change.\nimport aws_cdk.aws_appsync as appsync\n\ncaching_config_property = appsync.CfnResolver.CachingConfigProperty(\n ttl=123,\n\n # the properties below are optional\n caching_keys=[\"cachingKeys\"]\n)","version":"2"},"csharp":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nusing Amazon.CDK.AWS.AppSync;\n\nvar cachingConfigProperty = new CachingConfigProperty {\n Ttl = 123,\n\n // the properties below are optional\n CachingKeys = new [] { \"cachingKeys\" }\n};","version":"1"},"java":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport software.amazon.awscdk.services.appsync.*;\n\nCachingConfigProperty cachingConfigProperty = CachingConfigProperty.builder()\n .ttl(123)\n\n // the properties below are optional\n .cachingKeys(List.of(\"cachingKeys\"))\n .build();","version":"1"},"go":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport appsync \"github.com/aws-samples/dummy/awscdkawsappsync\"\n\ncachingConfigProperty := &CachingConfigProperty{\n\tTtl: jsii.Number(123),\n\n\t// the properties below are optional\n\tCachingKeys: []*string{\n\t\tjsii.String(\"cachingKeys\"),\n\t},\n}","version":"1"},"$":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as appsync from '@aws-cdk/aws-appsync';\nconst cachingConfigProperty: appsync.CfnResolver.CachingConfigProperty = {\n ttl: 123,\n\n // the properties below are optional\n cachingKeys: ['cachingKeys'],\n};","version":"0"}},"location":{"api":{"api":"type","fqn":"@aws-cdk/aws-appsync.CfnResolver.CachingConfigProperty"},"field":{"field":"example"}},"didCompile":true,"fqnsReferenced":["@aws-cdk/aws-appsync.CfnResolver.CachingConfigProperty"],"fullSource":"// Hoisted imports begin after !show marker below\n/// !show\n// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as appsync from '@aws-cdk/aws-appsync';\n/// !hide\n// Hoisted imports ended before !hide marker above\nimport { Construct } from \"@aws-cdk/core\";\nclass MyConstruct extends Construct {\nconstructor(scope: Construct, id: string) {\nsuper(scope, id);\n// Code snippet begins after !show marker below\n/// !show\n\nconst cachingConfigProperty: appsync.CfnResolver.CachingConfigProperty = {\n ttl: 123,\n\n // the properties below are optional\n cachingKeys: ['cachingKeys'],\n};\n/// !hide\n// Code snippet ended before !hide marker above\n} }","syntaxKindCounter":{"8":1,"10":2,"75":7,"153":2,"169":1,"192":1,"193":1,"225":1,"242":1,"243":1,"254":1,"255":1,"256":1,"281":2,"290":1},"fqnsFingerprint":"fd62f32562289c0a976696ca1ea2ebb21f21d3b49ce720c70ffbb304df77fe8c"},"c8209e00af514a48c60e5c4401b5520deae849d26c87f2de514fa6e8b6fd0040":{"translations":{"python":{"source":"# The code below shows an example of how to instantiate this type.\n# The values are placeholders you should change.\nimport aws_cdk.aws_appsync as appsync\n\nlambda_conflict_handler_config_property = appsync.CfnResolver.LambdaConflictHandlerConfigProperty(\n lambda_conflict_handler_arn=\"lambdaConflictHandlerArn\"\n)","version":"2"},"csharp":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nusing Amazon.CDK.AWS.AppSync;\n\nvar lambdaConflictHandlerConfigProperty = new LambdaConflictHandlerConfigProperty {\n LambdaConflictHandlerArn = \"lambdaConflictHandlerArn\"\n};","version":"1"},"java":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport software.amazon.awscdk.services.appsync.*;\n\nLambdaConflictHandlerConfigProperty lambdaConflictHandlerConfigProperty = LambdaConflictHandlerConfigProperty.builder()\n .lambdaConflictHandlerArn(\"lambdaConflictHandlerArn\")\n .build();","version":"1"},"go":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport appsync \"github.com/aws-samples/dummy/awscdkawsappsync\"\n\nlambdaConflictHandlerConfigProperty := &LambdaConflictHandlerConfigProperty{\n\tLambdaConflictHandlerArn: jsii.String(\"lambdaConflictHandlerArn\"),\n}","version":"1"},"$":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as appsync from '@aws-cdk/aws-appsync';\nconst lambdaConflictHandlerConfigProperty: appsync.CfnResolver.LambdaConflictHandlerConfigProperty = {\n lambdaConflictHandlerArn: 'lambdaConflictHandlerArn',\n};","version":"0"}},"location":{"api":{"api":"type","fqn":"@aws-cdk/aws-appsync.CfnResolver.LambdaConflictHandlerConfigProperty"},"field":{"field":"example"}},"didCompile":true,"fqnsReferenced":["@aws-cdk/aws-appsync.CfnResolver.LambdaConflictHandlerConfigProperty"],"fullSource":"// Hoisted imports begin after !show marker below\n/// !show\n// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as appsync from '@aws-cdk/aws-appsync';\n/// !hide\n// Hoisted imports ended before !hide marker above\nimport { Construct } from \"@aws-cdk/core\";\nclass MyConstruct extends Construct {\nconstructor(scope: Construct, id: string) {\nsuper(scope, id);\n// Code snippet begins after !show marker below\n/// !show\n\nconst lambdaConflictHandlerConfigProperty: appsync.CfnResolver.LambdaConflictHandlerConfigProperty = {\n lambdaConflictHandlerArn: 'lambdaConflictHandlerArn',\n};\n/// !hide\n// Code snippet ended before !hide marker above\n} }","syntaxKindCounter":{"10":2,"75":6,"153":2,"169":1,"193":1,"225":1,"242":1,"243":1,"254":1,"255":1,"256":1,"281":1,"290":1},"fqnsFingerprint":"159494722e75d87207528a06bcb682c324504f87d2c8d774d9b5d768ed5d465d"},"16af45b18a9607f35b83fc765edc5b12c1abe3f0efe7c6cc557478ae149033c8":{"translations":{"python":{"source":"# The code below shows an example of how to instantiate this type.\n# The values are placeholders you should change.\nimport aws_cdk.aws_appsync as appsync\n\npipeline_config_property = appsync.CfnResolver.PipelineConfigProperty(\n functions=[\"functions\"]\n)","version":"2"},"csharp":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nusing Amazon.CDK.AWS.AppSync;\n\nvar pipelineConfigProperty = new PipelineConfigProperty {\n Functions = new [] { \"functions\" }\n};","version":"1"},"java":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport software.amazon.awscdk.services.appsync.*;\n\nPipelineConfigProperty pipelineConfigProperty = PipelineConfigProperty.builder()\n .functions(List.of(\"functions\"))\n .build();","version":"1"},"go":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport appsync \"github.com/aws-samples/dummy/awscdkawsappsync\"\n\npipelineConfigProperty := &PipelineConfigProperty{\n\tFunctions: []*string{\n\t\tjsii.String(\"functions\"),\n\t},\n}","version":"1"},"$":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as appsync from '@aws-cdk/aws-appsync';\nconst pipelineConfigProperty: appsync.CfnResolver.PipelineConfigProperty = {\n functions: ['functions'],\n};","version":"0"}},"location":{"api":{"api":"type","fqn":"@aws-cdk/aws-appsync.CfnResolver.PipelineConfigProperty"},"field":{"field":"example"}},"didCompile":true,"fqnsReferenced":["@aws-cdk/aws-appsync.CfnResolver.PipelineConfigProperty"],"fullSource":"// Hoisted imports begin after !show marker below\n/// !show\n// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as appsync from '@aws-cdk/aws-appsync';\n/// !hide\n// Hoisted imports ended before !hide marker above\nimport { Construct } from \"@aws-cdk/core\";\nclass MyConstruct extends Construct {\nconstructor(scope: Construct, id: string) {\nsuper(scope, id);\n// Code snippet begins after !show marker below\n/// !show\n\nconst pipelineConfigProperty: appsync.CfnResolver.PipelineConfigProperty = {\n functions: ['functions'],\n};\n/// !hide\n// Code snippet ended before !hide marker above\n} }","syntaxKindCounter":{"10":2,"75":6,"153":2,"169":1,"192":1,"193":1,"225":1,"242":1,"243":1,"254":1,"255":1,"256":1,"281":1,"290":1},"fqnsFingerprint":"5b80b098bc65fd344afc27704db1629de33a927b810977f398034661d59f1b52"},"64226d135a3208924c3f5c67717609bc28c09ec3e51336ec267f4fd174d4b2ce":{"translations":{"python":{"source":"# The code below shows an example of how to instantiate this type.\n# The values are placeholders you should change.\nimport aws_cdk.aws_appsync as appsync\n\nsync_config_property = appsync.CfnResolver.SyncConfigProperty(\n conflict_detection=\"conflictDetection\",\n\n # the properties below are optional\n conflict_handler=\"conflictHandler\",\n lambda_conflict_handler_config=appsync.CfnResolver.LambdaConflictHandlerConfigProperty(\n lambda_conflict_handler_arn=\"lambdaConflictHandlerArn\"\n )\n)","version":"2"},"csharp":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nusing Amazon.CDK.AWS.AppSync;\n\nvar syncConfigProperty = new SyncConfigProperty {\n ConflictDetection = \"conflictDetection\",\n\n // the properties below are optional\n ConflictHandler = \"conflictHandler\",\n LambdaConflictHandlerConfig = new LambdaConflictHandlerConfigProperty {\n LambdaConflictHandlerArn = \"lambdaConflictHandlerArn\"\n }\n};","version":"1"},"java":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport software.amazon.awscdk.services.appsync.*;\n\nSyncConfigProperty syncConfigProperty = SyncConfigProperty.builder()\n .conflictDetection(\"conflictDetection\")\n\n // the properties below are optional\n .conflictHandler(\"conflictHandler\")\n .lambdaConflictHandlerConfig(LambdaConflictHandlerConfigProperty.builder()\n .lambdaConflictHandlerArn(\"lambdaConflictHandlerArn\")\n .build())\n .build();","version":"1"},"go":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport appsync \"github.com/aws-samples/dummy/awscdkawsappsync\"\n\nsyncConfigProperty := &SyncConfigProperty{\n\tConflictDetection: jsii.String(\"conflictDetection\"),\n\n\t// the properties below are optional\n\tConflictHandler: jsii.String(\"conflictHandler\"),\n\tLambdaConflictHandlerConfig: &LambdaConflictHandlerConfigProperty{\n\t\tLambdaConflictHandlerArn: jsii.String(\"lambdaConflictHandlerArn\"),\n\t},\n}","version":"1"},"$":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as appsync from '@aws-cdk/aws-appsync';\nconst syncConfigProperty: appsync.CfnResolver.SyncConfigProperty = {\n conflictDetection: 'conflictDetection',\n\n // the properties below are optional\n conflictHandler: 'conflictHandler',\n lambdaConflictHandlerConfig: {\n lambdaConflictHandlerArn: 'lambdaConflictHandlerArn',\n },\n};","version":"0"}},"location":{"api":{"api":"type","fqn":"@aws-cdk/aws-appsync.CfnResolver.SyncConfigProperty"},"field":{"field":"example"}},"didCompile":true,"fqnsReferenced":["@aws-cdk/aws-appsync.CfnResolver.SyncConfigProperty"],"fullSource":"// Hoisted imports begin after !show marker below\n/// !show\n// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as appsync from '@aws-cdk/aws-appsync';\n/// !hide\n// Hoisted imports ended before !hide marker above\nimport { Construct } from \"@aws-cdk/core\";\nclass MyConstruct extends Construct {\nconstructor(scope: Construct, id: string) {\nsuper(scope, id);\n// Code snippet begins after !show marker below\n/// !show\n\nconst syncConfigProperty: appsync.CfnResolver.SyncConfigProperty = {\n conflictDetection: 'conflictDetection',\n\n // the properties below are optional\n conflictHandler: 'conflictHandler',\n lambdaConflictHandlerConfig: {\n lambdaConflictHandlerArn: 'lambdaConflictHandlerArn',\n },\n};\n/// !hide\n// Code snippet ended before !hide marker above\n} }","syntaxKindCounter":{"10":4,"75":9,"153":2,"169":1,"193":2,"225":1,"242":1,"243":1,"254":1,"255":1,"256":1,"281":4,"290":1},"fqnsFingerprint":"a390f7e7365dfc7a443d4e3e63409cbef8408ff4396c244713b8b8ea26dc9433"},"b09c25ac29ec79c4ef95b4502c6a7cf69d984efc2703fa7cafaf744bb0ea778b":{"translations":{"python":{"source":"# The code below shows an example of how to instantiate this type.\n# The values are placeholders you should change.\nimport aws_cdk.aws_appsync as appsync\n\ncfn_resolver_props = appsync.CfnResolverProps(\n api_id=\"apiId\",\n field_name=\"fieldName\",\n type_name=\"typeName\",\n\n # the properties below are optional\n caching_config=appsync.CfnResolver.CachingConfigProperty(\n ttl=123,\n\n # the properties below are optional\n caching_keys=[\"cachingKeys\"]\n ),\n code=\"code\",\n code_s3_location=\"codeS3Location\",\n data_source_name=\"dataSourceName\",\n kind=\"kind\",\n max_batch_size=123,\n pipeline_config=appsync.CfnResolver.PipelineConfigProperty(\n functions=[\"functions\"]\n ),\n request_mapping_template=\"requestMappingTemplate\",\n request_mapping_template_s3_location=\"requestMappingTemplateS3Location\",\n response_mapping_template=\"responseMappingTemplate\",\n response_mapping_template_s3_location=\"responseMappingTemplateS3Location\",\n runtime=appsync.CfnResolver.AppSyncRuntimeProperty(\n name=\"name\",\n runtime_version=\"runtimeVersion\"\n ),\n sync_config=appsync.CfnResolver.SyncConfigProperty(\n conflict_detection=\"conflictDetection\",\n\n # the properties below are optional\n conflict_handler=\"conflictHandler\",\n lambda_conflict_handler_config=appsync.CfnResolver.LambdaConflictHandlerConfigProperty(\n lambda_conflict_handler_arn=\"lambdaConflictHandlerArn\"\n )\n )\n)","version":"2"},"csharp":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nusing Amazon.CDK.AWS.AppSync;\n\nvar cfnResolverProps = new CfnResolverProps {\n ApiId = \"apiId\",\n FieldName = \"fieldName\",\n TypeName = \"typeName\",\n\n // the properties below are optional\n CachingConfig = new CachingConfigProperty {\n Ttl = 123,\n\n // the properties below are optional\n CachingKeys = new [] { \"cachingKeys\" }\n },\n Code = \"code\",\n CodeS3Location = \"codeS3Location\",\n DataSourceName = \"dataSourceName\",\n Kind = \"kind\",\n MaxBatchSize = 123,\n PipelineConfig = new PipelineConfigProperty {\n Functions = new [] { \"functions\" }\n },\n RequestMappingTemplate = \"requestMappingTemplate\",\n RequestMappingTemplateS3Location = \"requestMappingTemplateS3Location\",\n ResponseMappingTemplate = \"responseMappingTemplate\",\n ResponseMappingTemplateS3Location = \"responseMappingTemplateS3Location\",\n Runtime = new AppSyncRuntimeProperty {\n Name = \"name\",\n RuntimeVersion = \"runtimeVersion\"\n },\n SyncConfig = new SyncConfigProperty {\n ConflictDetection = \"conflictDetection\",\n\n // the properties below are optional\n ConflictHandler = \"conflictHandler\",\n LambdaConflictHandlerConfig = new LambdaConflictHandlerConfigProperty {\n LambdaConflictHandlerArn = \"lambdaConflictHandlerArn\"\n }\n }\n};","version":"1"},"java":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport software.amazon.awscdk.services.appsync.*;\n\nCfnResolverProps cfnResolverProps = CfnResolverProps.builder()\n .apiId(\"apiId\")\n .fieldName(\"fieldName\")\n .typeName(\"typeName\")\n\n // the properties below are optional\n .cachingConfig(CachingConfigProperty.builder()\n .ttl(123)\n\n // the properties below are optional\n .cachingKeys(List.of(\"cachingKeys\"))\n .build())\n .code(\"code\")\n .codeS3Location(\"codeS3Location\")\n .dataSourceName(\"dataSourceName\")\n .kind(\"kind\")\n .maxBatchSize(123)\n .pipelineConfig(PipelineConfigProperty.builder()\n .functions(List.of(\"functions\"))\n .build())\n .requestMappingTemplate(\"requestMappingTemplate\")\n .requestMappingTemplateS3Location(\"requestMappingTemplateS3Location\")\n .responseMappingTemplate(\"responseMappingTemplate\")\n .responseMappingTemplateS3Location(\"responseMappingTemplateS3Location\")\n .runtime(AppSyncRuntimeProperty.builder()\n .name(\"name\")\n .runtimeVersion(\"runtimeVersion\")\n .build())\n .syncConfig(SyncConfigProperty.builder()\n .conflictDetection(\"conflictDetection\")\n\n // the properties below are optional\n .conflictHandler(\"conflictHandler\")\n .lambdaConflictHandlerConfig(LambdaConflictHandlerConfigProperty.builder()\n .lambdaConflictHandlerArn(\"lambdaConflictHandlerArn\")\n .build())\n .build())\n .build();","version":"1"},"go":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport appsync \"github.com/aws-samples/dummy/awscdkawsappsync\"\n\ncfnResolverProps := &CfnResolverProps{\n\tApiId: jsii.String(\"apiId\"),\n\tFieldName: jsii.String(\"fieldName\"),\n\tTypeName: jsii.String(\"typeName\"),\n\n\t// the properties below are optional\n\tCachingConfig: &CachingConfigProperty{\n\t\tTtl: jsii.Number(123),\n\n\t\t// the properties below are optional\n\t\tCachingKeys: []*string{\n\t\t\tjsii.String(\"cachingKeys\"),\n\t\t},\n\t},\n\tCode: jsii.String(\"code\"),\n\tCodeS3Location: jsii.String(\"codeS3Location\"),\n\tDataSourceName: jsii.String(\"dataSourceName\"),\n\tKind: jsii.String(\"kind\"),\n\tMaxBatchSize: jsii.Number(123),\n\tPipelineConfig: &PipelineConfigProperty{\n\t\tFunctions: []*string{\n\t\t\tjsii.String(\"functions\"),\n\t\t},\n\t},\n\tRequestMappingTemplate: jsii.String(\"requestMappingTemplate\"),\n\tRequestMappingTemplateS3Location: jsii.String(\"requestMappingTemplateS3Location\"),\n\tResponseMappingTemplate: jsii.String(\"responseMappingTemplate\"),\n\tResponseMappingTemplateS3Location: jsii.String(\"responseMappingTemplateS3Location\"),\n\tRuntime: &AppSyncRuntimeProperty{\n\t\tName: jsii.String(\"name\"),\n\t\tRuntimeVersion: jsii.String(\"runtimeVersion\"),\n\t},\n\tSyncConfig: &SyncConfigProperty{\n\t\tConflictDetection: jsii.String(\"conflictDetection\"),\n\n\t\t// the properties below are optional\n\t\tConflictHandler: jsii.String(\"conflictHandler\"),\n\t\tLambdaConflictHandlerConfig: &LambdaConflictHandlerConfigProperty{\n\t\t\tLambdaConflictHandlerArn: jsii.String(\"lambdaConflictHandlerArn\"),\n\t\t},\n\t},\n}","version":"1"},"$":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as appsync from '@aws-cdk/aws-appsync';\nconst cfnResolverProps: appsync.CfnResolverProps = {\n apiId: 'apiId',\n fieldName: 'fieldName',\n typeName: 'typeName',\n\n // the properties below are optional\n cachingConfig: {\n ttl: 123,\n\n // the properties below are optional\n cachingKeys: ['cachingKeys'],\n },\n code: 'code',\n codeS3Location: 'codeS3Location',\n dataSourceName: 'dataSourceName',\n kind: 'kind',\n maxBatchSize: 123,\n pipelineConfig: {\n functions: ['functions'],\n },\n requestMappingTemplate: 'requestMappingTemplate',\n requestMappingTemplateS3Location: 'requestMappingTemplateS3Location',\n responseMappingTemplate: 'responseMappingTemplate',\n responseMappingTemplateS3Location: 'responseMappingTemplateS3Location',\n runtime: {\n name: 'name',\n runtimeVersion: 'runtimeVersion',\n },\n syncConfig: {\n conflictDetection: 'conflictDetection',\n\n // the properties below are optional\n conflictHandler: 'conflictHandler',\n lambdaConflictHandlerConfig: {\n lambdaConflictHandlerArn: 'lambdaConflictHandlerArn',\n },\n },\n};","version":"0"}},"location":{"api":{"api":"type","fqn":"@aws-cdk/aws-appsync.CfnResolverProps"},"field":{"field":"example"}},"didCompile":true,"fqnsReferenced":["@aws-cdk/aws-appsync.CfnResolverProps"],"fullSource":"// Hoisted imports begin after !show marker below\n/// !show\n// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as appsync from '@aws-cdk/aws-appsync';\n/// !hide\n// Hoisted imports ended before !hide marker above\nimport { Construct } from \"@aws-cdk/core\";\nclass MyConstruct extends Construct {\nconstructor(scope: Construct, id: string) {\nsuper(scope, id);\n// Code snippet begins after !show marker below\n/// !show\n\nconst cfnResolverProps: appsync.CfnResolverProps = {\n apiId: 'apiId',\n fieldName: 'fieldName',\n typeName: 'typeName',\n\n // the properties below are optional\n cachingConfig: {\n ttl: 123,\n\n // the properties below are optional\n cachingKeys: ['cachingKeys'],\n },\n code: 'code',\n codeS3Location: 'codeS3Location',\n dataSourceName: 'dataSourceName',\n kind: 'kind',\n maxBatchSize: 123,\n pipelineConfig: {\n functions: ['functions'],\n },\n requestMappingTemplate: 'requestMappingTemplate',\n requestMappingTemplateS3Location: 'requestMappingTemplateS3Location',\n responseMappingTemplate: 'responseMappingTemplate',\n responseMappingTemplateS3Location: 'responseMappingTemplateS3Location',\n runtime: {\n name: 'name',\n runtimeVersion: 'runtimeVersion',\n },\n syncConfig: {\n conflictDetection: 'conflictDetection',\n\n // the properties below are optional\n conflictHandler: 'conflictHandler',\n lambdaConflictHandlerConfig: {\n lambdaConflictHandlerArn: 'lambdaConflictHandlerArn',\n },\n },\n};\n/// !hide\n// Code snippet ended before !hide marker above\n} }","syntaxKindCounter":{"8":2,"10":19,"75":29,"153":1,"169":1,"192":2,"193":6,"225":1,"242":1,"243":1,"254":1,"255":1,"256":1,"281":25,"290":1},"fqnsFingerprint":"37a962b2d602aba67954bf7f02328daad11a06ebcfc07ecc38a7a8a0dad5f4a5"},"9506f63f3896898dc39154cfdf8a19a5ee93a60fbe1568ca34a91e67159c3491":{"translations":{"python":{"source":"# The code below shows an example of how to instantiate this type.\n# The values are placeholders you should change.\nimport aws_cdk.aws_appsync as appsync\n\ncfn_source_api_association = appsync.CfnSourceApiAssociation(self, \"MyCfnSourceApiAssociation\",\n description=\"description\",\n merged_api_identifier=\"mergedApiIdentifier\",\n source_api_association_config=appsync.CfnSourceApiAssociation.SourceApiAssociationConfigProperty(\n merge_type=\"mergeType\"\n ),\n source_api_identifier=\"sourceApiIdentifier\"\n)","version":"2"},"csharp":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nusing Amazon.CDK.AWS.AppSync;\n\nvar cfnSourceApiAssociation = new CfnSourceApiAssociation(this, \"MyCfnSourceApiAssociation\", new CfnSourceApiAssociationProps {\n Description = \"description\",\n MergedApiIdentifier = \"mergedApiIdentifier\",\n SourceApiAssociationConfig = new SourceApiAssociationConfigProperty {\n MergeType = \"mergeType\"\n },\n SourceApiIdentifier = \"sourceApiIdentifier\"\n});","version":"1"},"java":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport software.amazon.awscdk.services.appsync.*;\n\nCfnSourceApiAssociation cfnSourceApiAssociation = CfnSourceApiAssociation.Builder.create(this, \"MyCfnSourceApiAssociation\")\n .description(\"description\")\n .mergedApiIdentifier(\"mergedApiIdentifier\")\n .sourceApiAssociationConfig(SourceApiAssociationConfigProperty.builder()\n .mergeType(\"mergeType\")\n .build())\n .sourceApiIdentifier(\"sourceApiIdentifier\")\n .build();","version":"1"},"go":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport appsync \"github.com/aws-samples/dummy/awscdkawsappsync\"\n\ncfnSourceApiAssociation := appsync.NewCfnSourceApiAssociation(this, jsii.String(\"MyCfnSourceApiAssociation\"), &CfnSourceApiAssociationProps{\n\tDescription: jsii.String(\"description\"),\n\tMergedApiIdentifier: jsii.String(\"mergedApiIdentifier\"),\n\tSourceApiAssociationConfig: &SourceApiAssociationConfigProperty{\n\t\tMergeType: jsii.String(\"mergeType\"),\n\t},\n\tSourceApiIdentifier: jsii.String(\"sourceApiIdentifier\"),\n})","version":"1"},"$":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as appsync from '@aws-cdk/aws-appsync';\nconst cfnSourceApiAssociation = new appsync.CfnSourceApiAssociation(this, 'MyCfnSourceApiAssociation', /* all optional props */ {\n description: 'description',\n mergedApiIdentifier: 'mergedApiIdentifier',\n sourceApiAssociationConfig: {\n mergeType: 'mergeType',\n },\n sourceApiIdentifier: 'sourceApiIdentifier',\n});","version":"0"}},"location":{"api":{"api":"type","fqn":"@aws-cdk/aws-appsync.CfnSourceApiAssociation"},"field":{"field":"example"}},"didCompile":true,"fqnsReferenced":["@aws-cdk/aws-appsync.CfnSourceApiAssociation","@aws-cdk/aws-appsync.CfnSourceApiAssociationProps","@aws-cdk/core.Construct"],"fullSource":"// Hoisted imports begin after !show marker below\n/// !show\n// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as appsync from '@aws-cdk/aws-appsync';\n/// !hide\n// Hoisted imports ended before !hide marker above\nimport { Construct } from \"@aws-cdk/core\";\nclass MyConstruct extends Construct {\nconstructor(scope: Construct, id: string) {\nsuper(scope, id);\n// Code snippet begins after !show marker below\n/// !show\n\nconst cfnSourceApiAssociation = new appsync.CfnSourceApiAssociation(this, 'MyCfnSourceApiAssociation', /* all optional props */ {\n description: 'description',\n mergedApiIdentifier: 'mergedApiIdentifier',\n sourceApiAssociationConfig: {\n mergeType: 'mergeType',\n },\n sourceApiIdentifier: 'sourceApiIdentifier',\n});\n/// !hide\n// Code snippet ended before !hide marker above\n} }","syntaxKindCounter":{"10":6,"75":9,"104":1,"193":2,"194":1,"197":1,"225":1,"242":1,"243":1,"254":1,"255":1,"256":1,"281":5,"290":1},"fqnsFingerprint":"de1f40acd753e7b1e3a1a4bdd1b2c8bd0e4022d629041f0fae46834b5dbb6110"},"7848fcf2dc8077ff3b13ffb4e527ef9d33dbc081bdc46a82ac423f6871764de1":{"translations":{"python":{"source":"# The code below shows an example of how to instantiate this type.\n# The values are placeholders you should change.\nimport aws_cdk.aws_appsync as appsync\n\nsource_api_association_config_property = appsync.CfnSourceApiAssociation.SourceApiAssociationConfigProperty(\n merge_type=\"mergeType\"\n)","version":"2"},"csharp":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nusing Amazon.CDK.AWS.AppSync;\n\nvar sourceApiAssociationConfigProperty = new SourceApiAssociationConfigProperty {\n MergeType = \"mergeType\"\n};","version":"1"},"java":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport software.amazon.awscdk.services.appsync.*;\n\nSourceApiAssociationConfigProperty sourceApiAssociationConfigProperty = SourceApiAssociationConfigProperty.builder()\n .mergeType(\"mergeType\")\n .build();","version":"1"},"go":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport appsync \"github.com/aws-samples/dummy/awscdkawsappsync\"\n\nsourceApiAssociationConfigProperty := &SourceApiAssociationConfigProperty{\n\tMergeType: jsii.String(\"mergeType\"),\n}","version":"1"},"$":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as appsync from '@aws-cdk/aws-appsync';\nconst sourceApiAssociationConfigProperty: appsync.CfnSourceApiAssociation.SourceApiAssociationConfigProperty = {\n mergeType: 'mergeType',\n};","version":"0"}},"location":{"api":{"api":"type","fqn":"@aws-cdk/aws-appsync.CfnSourceApiAssociation.SourceApiAssociationConfigProperty"},"field":{"field":"example"}},"didCompile":true,"fqnsReferenced":["@aws-cdk/aws-appsync.CfnSourceApiAssociation.SourceApiAssociationConfigProperty"],"fullSource":"// Hoisted imports begin after !show marker below\n/// !show\n// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as appsync from '@aws-cdk/aws-appsync';\n/// !hide\n// Hoisted imports ended before !hide marker above\nimport { Construct } from \"@aws-cdk/core\";\nclass MyConstruct extends Construct {\nconstructor(scope: Construct, id: string) {\nsuper(scope, id);\n// Code snippet begins after !show marker below\n/// !show\n\nconst sourceApiAssociationConfigProperty: appsync.CfnSourceApiAssociation.SourceApiAssociationConfigProperty = {\n mergeType: 'mergeType',\n};\n/// !hide\n// Code snippet ended before !hide marker above\n} }","syntaxKindCounter":{"10":2,"75":6,"153":2,"169":1,"193":1,"225":1,"242":1,"243":1,"254":1,"255":1,"256":1,"281":1,"290":1},"fqnsFingerprint":"2565bbfe423f02ebffaf82b917256ef8b921ff7c212a4fc7f96fdaa8a9a8d933"},"e2f912e18dd142c00c4fd4f050c78815b4c5be2b86e03065e8256d2a04da30fc":{"translations":{"python":{"source":"# The code below shows an example of how to instantiate this type.\n# The values are placeholders you should change.\nimport aws_cdk.aws_appsync as appsync\n\ncfn_source_api_association_props = appsync.CfnSourceApiAssociationProps(\n description=\"description\",\n merged_api_identifier=\"mergedApiIdentifier\",\n source_api_association_config=appsync.CfnSourceApiAssociation.SourceApiAssociationConfigProperty(\n merge_type=\"mergeType\"\n ),\n source_api_identifier=\"sourceApiIdentifier\"\n)","version":"2"},"csharp":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nusing Amazon.CDK.AWS.AppSync;\n\nvar cfnSourceApiAssociationProps = new CfnSourceApiAssociationProps {\n Description = \"description\",\n MergedApiIdentifier = \"mergedApiIdentifier\",\n SourceApiAssociationConfig = new SourceApiAssociationConfigProperty {\n MergeType = \"mergeType\"\n },\n SourceApiIdentifier = \"sourceApiIdentifier\"\n};","version":"1"},"java":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport software.amazon.awscdk.services.appsync.*;\n\nCfnSourceApiAssociationProps cfnSourceApiAssociationProps = CfnSourceApiAssociationProps.builder()\n .description(\"description\")\n .mergedApiIdentifier(\"mergedApiIdentifier\")\n .sourceApiAssociationConfig(SourceApiAssociationConfigProperty.builder()\n .mergeType(\"mergeType\")\n .build())\n .sourceApiIdentifier(\"sourceApiIdentifier\")\n .build();","version":"1"},"go":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport appsync \"github.com/aws-samples/dummy/awscdkawsappsync\"\n\ncfnSourceApiAssociationProps := &CfnSourceApiAssociationProps{\n\tDescription: jsii.String(\"description\"),\n\tMergedApiIdentifier: jsii.String(\"mergedApiIdentifier\"),\n\tSourceApiAssociationConfig: &SourceApiAssociationConfigProperty{\n\t\tMergeType: jsii.String(\"mergeType\"),\n\t},\n\tSourceApiIdentifier: jsii.String(\"sourceApiIdentifier\"),\n}","version":"1"},"$":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as appsync from '@aws-cdk/aws-appsync';\nconst cfnSourceApiAssociationProps: appsync.CfnSourceApiAssociationProps = {\n description: 'description',\n mergedApiIdentifier: 'mergedApiIdentifier',\n sourceApiAssociationConfig: {\n mergeType: 'mergeType',\n },\n sourceApiIdentifier: 'sourceApiIdentifier',\n};","version":"0"}},"location":{"api":{"api":"type","fqn":"@aws-cdk/aws-appsync.CfnSourceApiAssociationProps"},"field":{"field":"example"}},"didCompile":true,"fqnsReferenced":["@aws-cdk/aws-appsync.CfnSourceApiAssociationProps"],"fullSource":"// Hoisted imports begin after !show marker below\n/// !show\n// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as appsync from '@aws-cdk/aws-appsync';\n/// !hide\n// Hoisted imports ended before !hide marker above\nimport { Construct } from \"@aws-cdk/core\";\nclass MyConstruct extends Construct {\nconstructor(scope: Construct, id: string) {\nsuper(scope, id);\n// Code snippet begins after !show marker below\n/// !show\n\nconst cfnSourceApiAssociationProps: appsync.CfnSourceApiAssociationProps = {\n description: 'description',\n mergedApiIdentifier: 'mergedApiIdentifier',\n sourceApiAssociationConfig: {\n mergeType: 'mergeType',\n },\n sourceApiIdentifier: 'sourceApiIdentifier',\n};\n/// !hide\n// Code snippet ended before !hide marker above\n} }","syntaxKindCounter":{"10":5,"75":9,"153":1,"169":1,"193":2,"225":1,"242":1,"243":1,"254":1,"255":1,"256":1,"281":5,"290":1},"fqnsFingerprint":"5c261a7a14093ceebf88d03409dc9c4ce3917fbac4f57a13592189c63383a4fc"},"354cc8206466449709448aa93cbd1e72f51cb5853d4ea3d8b1b4567306196565":{"translations":{"python":{"source":"# The code below shows an example of how to instantiate this type.\n# The values are placeholders you should change.\nimport aws_cdk.aws_appsync as appsync\n\ndata_source_options = appsync.DataSourceOptions(\n description=\"description\",\n name=\"name\"\n)","version":"2"},"csharp":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nusing Amazon.CDK.AWS.AppSync;\n\nvar dataSourceOptions = new DataSourceOptions {\n Description = \"description\",\n Name = \"name\"\n};","version":"1"},"java":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport software.amazon.awscdk.services.appsync.*;\n\nDataSourceOptions dataSourceOptions = DataSourceOptions.builder()\n .description(\"description\")\n .name(\"name\")\n .build();","version":"1"},"go":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport appsync \"github.com/aws-samples/dummy/awscdkawsappsync\"\n\ndataSourceOptions := &DataSourceOptions{\n\tDescription: jsii.String(\"description\"),\n\tName: jsii.String(\"name\"),\n}","version":"1"},"$":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as appsync from '@aws-cdk/aws-appsync';\nconst dataSourceOptions: appsync.DataSourceOptions = {\n description: 'description',\n name: 'name',\n};","version":"0"}},"location":{"api":{"api":"type","fqn":"@aws-cdk/aws-appsync.DataSourceOptions"},"field":{"field":"example"}},"didCompile":true,"fqnsReferenced":["@aws-cdk/aws-appsync.DataSourceOptions"],"fullSource":"// Hoisted imports begin after !show marker below\n/// !show\n// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as appsync from '@aws-cdk/aws-appsync';\n/// !hide\n// Hoisted imports ended before !hide marker above\nimport { Construct } from \"@aws-cdk/core\";\nclass MyConstruct extends Construct {\nconstructor(scope: Construct, id: string) {\nsuper(scope, id);\n// Code snippet begins after !show marker below\n/// !show\n\nconst dataSourceOptions: appsync.DataSourceOptions = {\n description: 'description',\n name: 'name',\n};\n/// !hide\n// Code snippet ended before !hide marker above\n} }","syntaxKindCounter":{"10":3,"75":6,"153":1,"169":1,"193":1,"225":1,"242":1,"243":1,"254":1,"255":1,"256":1,"281":2,"290":1},"fqnsFingerprint":"cfb5652121547954de83cf68d0f94ace86bbb5efcf833b64956a2ce7c6074d70"},"5020148facd07cd8db33284755773a76d3168252d127da93865e6b2d34c322a7":{"translations":{"python":{"source":"# api: appsync.GraphqlApi\n# film: appsync.InterfaceType\n\n\napi.add_subscription(\"addedFilm\", appsync.Field(\n return_type=film.attribute(),\n args={\"id\": appsync.GraphqlType.id(is_required=True)},\n directives=[appsync.Directive.subscribe(\"addFilm\")]\n))","version":"2"},"csharp":{"source":"GraphqlApi api;\nInterfaceType film;\n\n\napi.AddSubscription(\"addedFilm\", new Field(new FieldOptions {\n ReturnType = film.Attribute(),\n Args = new Dictionary { { \"id\", GraphqlType.Id(new BaseTypeOptions { IsRequired = true }) } },\n Directives = new [] { Directive.Subscribe(\"addFilm\") }\n}));","version":"1"},"java":{"source":"GraphqlApi api;\nInterfaceType film;\n\n\napi.addSubscription(\"addedFilm\", Field.Builder.create()\n .returnType(film.attribute())\n .args(Map.of(\"id\", GraphqlType.id(BaseTypeOptions.builder().isRequired(true).build())))\n .directives(List.of(Directive.subscribe(\"addFilm\")))\n .build());","version":"1"},"go":{"source":"var api graphqlApi\nvar film interfaceType\n\n\napi.AddSubscription(jsii.String(\"addedFilm\"), appsync.NewField(&FieldOptions{\n\tReturnType: film.Attribute(),\n\tArgs: map[string]graphqlType{\n\t\t\"id\": appsync.*graphqlType_id(&BaseTypeOptions{\n\t\t\t\"isRequired\": jsii.Boolean(true),\n\t\t}),\n\t},\n\tDirectives: []directive{\n\t\tappsync.*directive_Subscribe(jsii.String(\"addFilm\")),\n\t},\n}))","version":"1"},"$":{"source":"declare const api: appsync.GraphqlApi;\ndeclare const film: appsync.InterfaceType;\n\napi.addSubscription('addedFilm', new appsync.Field({\n returnType: film.attribute(),\n args: { id: appsync.GraphqlType.id({ isRequired: true }) },\n directives: [appsync.Directive.subscribe('addFilm')],\n}));","version":"0"}},"location":{"api":{"api":"type","fqn":"@aws-cdk/aws-appsync.Directive"},"field":{"field":"example"}},"didCompile":true,"fqnsReferenced":["@aws-cdk/aws-appsync.BaseTypeOptions","@aws-cdk/aws-appsync.Directive","@aws-cdk/aws-appsync.Directive#subscribe","@aws-cdk/aws-appsync.Field","@aws-cdk/aws-appsync.FieldOptions","@aws-cdk/aws-appsync.GraphqlApi#addSubscription","@aws-cdk/aws-appsync.GraphqlType","@aws-cdk/aws-appsync.GraphqlType#id","@aws-cdk/aws-appsync.InterfaceType#attribute","@aws-cdk/aws-appsync.ResolvableField"],"fullSource":"// Hoisted imports begin after !show marker below\n/// !show\ndeclare const api: appsync.GraphqlApi;\ndeclare const film: appsync.InterfaceType;\n/// !hide\n// Hoisted imports ended before !hide marker above\n// Fixture with packages imported, but nothing else\nimport { Construct } from 'constructs';\nimport { RemovalPolicy, Stack } from '@aws-cdk/core';\nimport appsync = require('@aws-cdk/aws-appsync');\nimport ec2 = require('@aws-cdk/aws-ec2');\nimport dynamodb = require('@aws-cdk/aws-dynamodb');\nimport iam = require('@aws-cdk/aws-iam');\nimport rds = require('@aws-cdk/aws-rds');\nimport path = require('path');\n\nclass Fixture extends Stack {\n constructor(scope: Construct, id: string) {\n super(scope, id);\n // Code snippet begins after !show marker below\n/// !show\n\n\napi.addSubscription('addedFilm', new appsync.Field({\n returnType: film.attribute(),\n args: { id: appsync.GraphqlType.id({ isRequired: true }) },\n directives: [appsync.Directive.subscribe('addFilm')],\n}));\n/// !hide\n// Code snippet ended before !hide marker above\n }\n}\n","syntaxKindCounter":{"10":2,"75":23,"106":1,"130":2,"153":2,"169":2,"192":1,"193":3,"194":7,"196":4,"197":1,"225":2,"226":1,"242":2,"243":2,"281":5,"290":1},"fqnsFingerprint":"f506898ebe178cf57f89ac1cb637990c2a1fc3c0e2a078674058027fee18c217"},"e952f87956f6799df4e20837d05ea293daa6a991b3b5af26b24f5cdb0ebf0769":{"translations":{"python":{"source":"import aws_cdk.aws_certificatemanager as acm\nimport aws_cdk.aws_route53 as route53\n\n# hosted zone and route53 features\n# hosted_zone_id: str\nzone_name = \"example.com\"\n\n\nmy_domain_name = \"api.example.com\"\ncertificate = acm.Certificate(self, \"cert\", domain_name=my_domain_name)\napi = appsync.GraphqlApi(self, \"api\",\n name=\"myApi\",\n domain_name=appsync.DomainOptions(\n certificate=certificate,\n domain_name=my_domain_name\n )\n)\n\n# hosted zone for adding appsync domain\nzone = route53.HostedZone.from_hosted_zone_attributes(self, \"HostedZone\",\n hosted_zone_id=hosted_zone_id,\n zone_name=zone_name\n)\n\n# create a cname to the appsync domain. will map to something like xxxx.cloudfront.net\nroute53.CnameRecord(self, \"CnameApiRecord\",\n record_name=\"api\",\n zone=zone,\n domain_name=my_domain_name\n)","version":"2"},"csharp":{"source":"using Amazon.CDK.AWS.CertificateManager;\nusing Amazon.CDK.AWS.Route53;\n\n// hosted zone and route53 features\nstring hostedZoneId;\nvar zoneName = \"example.com\";\n\n\nvar myDomainName = \"api.example.com\";\nvar certificate = new Certificate(this, \"cert\", new CertificateProps { DomainName = myDomainName });\nvar api = new GraphqlApi(this, \"api\", new GraphqlApiProps {\n Name = \"myApi\",\n DomainName = new DomainOptions {\n Certificate = certificate,\n DomainName = myDomainName\n }\n});\n\n// hosted zone for adding appsync domain\nvar zone = HostedZone.FromHostedZoneAttributes(this, \"HostedZone\", new HostedZoneAttributes {\n HostedZoneId = hostedZoneId,\n ZoneName = zoneName\n});\n\n// create a cname to the appsync domain. will map to something like xxxx.cloudfront.net\n// create a cname to the appsync domain. will map to something like xxxx.cloudfront.net\nnew CnameRecord(this, \"CnameApiRecord\", new CnameRecordProps {\n RecordName = \"api\",\n Zone = zone,\n DomainName = myDomainName\n});","version":"1"},"java":{"source":"import software.amazon.awscdk.services.certificatemanager.*;\nimport software.amazon.awscdk.services.route53.*;\n\n// hosted zone and route53 features\nString hostedZoneId;\nString zoneName = \"example.com\";\n\n\nString myDomainName = \"api.example.com\";\nCertificate certificate = Certificate.Builder.create(this, \"cert\").domainName(myDomainName).build();\nGraphqlApi api = GraphqlApi.Builder.create(this, \"api\")\n .name(\"myApi\")\n .domainName(DomainOptions.builder()\n .certificate(certificate)\n .domainName(myDomainName)\n .build())\n .build();\n\n// hosted zone for adding appsync domain\nIHostedZone zone = HostedZone.fromHostedZoneAttributes(this, \"HostedZone\", HostedZoneAttributes.builder()\n .hostedZoneId(hostedZoneId)\n .zoneName(zoneName)\n .build());\n\n// create a cname to the appsync domain. will map to something like xxxx.cloudfront.net\n// create a cname to the appsync domain. will map to something like xxxx.cloudfront.net\nCnameRecord.Builder.create(this, \"CnameApiRecord\")\n .recordName(\"api\")\n .zone(zone)\n .domainName(myDomainName)\n .build();","version":"1"},"go":{"source":"import acm \"github.com/aws-samples/dummy/awscdkawscertificatemanager\"\nimport \"github.com/aws-samples/dummy/awscdkawsroute53\"\n\n// hosted zone and route53 features\nvar hostedZoneId string\nzoneName := \"example.com\"\n\n\nmyDomainName := \"api.example.com\"\ncertificate := acm.NewCertificate(this, jsii.String(\"cert\"), &CertificateProps{\n\tDomainName: myDomainName,\n})\napi := appsync.NewGraphqlApi(this, jsii.String(\"api\"), &GraphqlApiProps{\n\tName: jsii.String(\"myApi\"),\n\tDomainName: &DomainOptions{\n\t\tCertificate: *Certificate,\n\t\tDomainName: myDomainName,\n\t},\n})\n\n// hosted zone for adding appsync domain\nzone := route53.HostedZone_FromHostedZoneAttributes(this, jsii.String(\"HostedZone\"), &HostedZoneAttributes{\n\tHostedZoneId: jsii.String(HostedZoneId),\n\tZoneName: jsii.String(ZoneName),\n})\n\n// create a cname to the appsync domain. will map to something like xxxx.cloudfront.net\n// create a cname to the appsync domain. will map to something like xxxx.cloudfront.net\nroute53.NewCnameRecord(this, jsii.String(\"CnameApiRecord\"), &CnameRecordProps{\n\tRecordName: jsii.String(\"api\"),\n\tZone: Zone,\n\tDomainName: myDomainName,\n})","version":"1"},"$":{"source":"import * as acm from '@aws-cdk/aws-certificatemanager';\nimport * as route53 from '@aws-cdk/aws-route53';\n\nconst myDomainName = 'api.example.com';\nconst certificate = new acm.Certificate(this, 'cert', { domainName: myDomainName });\nconst api = new appsync.GraphqlApi(this, 'api', {\n name: 'myApi',\n domainName: {\n certificate,\n domainName: myDomainName,\n },\n});\n\n// hosted zone and route53 features\ndeclare const hostedZoneId: string;\ndeclare const zoneName = 'example.com';\n\n// hosted zone for adding appsync domain\nconst zone = route53.HostedZone.fromHostedZoneAttributes(this, `HostedZone`, {\n hostedZoneId,\n zoneName,\n});\n\n// create a cname to the appsync domain. will map to something like xxxx.cloudfront.net\nnew route53.CnameRecord(this, `CnameApiRecord`, {\n recordName: 'api',\n zone,\n domainName: myDomainName,\n});","version":"0"}},"location":{"api":{"api":"type","fqn":"@aws-cdk/aws-appsync.DomainOptions"},"field":{"field":"example"}},"didCompile":true,"fqnsReferenced":["@aws-cdk/aws-appsync.DomainOptions","@aws-cdk/aws-appsync.GraphqlApi","@aws-cdk/aws-appsync.GraphqlApiProps","@aws-cdk/aws-certificatemanager.Certificate","@aws-cdk/aws-certificatemanager.CertificateProps","@aws-cdk/aws-certificatemanager.ICertificate","@aws-cdk/aws-route53.CnameRecord","@aws-cdk/aws-route53.CnameRecordProps","@aws-cdk/aws-route53.HostedZone","@aws-cdk/aws-route53.HostedZone#fromHostedZoneAttributes","@aws-cdk/aws-route53.HostedZoneAttributes","@aws-cdk/aws-route53.IHostedZone","constructs.Construct"],"fullSource":"// Hoisted imports begin after !show marker below\n/// !show\nimport * as acm from '@aws-cdk/aws-certificatemanager';\nimport * as route53 from '@aws-cdk/aws-route53';\n\n// hosted zone and route53 features\ndeclare const hostedZoneId: string;\ndeclare const zoneName = 'example.com';\n/// !hide\n// Hoisted imports ended before !hide marker above\n// Fixture with packages imported, but nothing else\nimport { Construct } from 'constructs';\nimport { RemovalPolicy, Stack } from '@aws-cdk/core';\nimport appsync = require('@aws-cdk/aws-appsync');\nimport ec2 = require('@aws-cdk/aws-ec2');\nimport dynamodb = require('@aws-cdk/aws-dynamodb');\nimport iam = require('@aws-cdk/aws-iam');\nimport rds = require('@aws-cdk/aws-rds');\nimport path = require('path');\n\nclass Fixture extends Stack {\n constructor(scope: Construct, id: string) {\n super(scope, id);\n // Code snippet begins after !show marker below\n/// !show\n\n\nconst myDomainName = 'api.example.com';\nconst certificate = new acm.Certificate(this, 'cert', { domainName: myDomainName });\nconst api = new appsync.GraphqlApi(this, 'api', {\n name: 'myApi',\n domainName: {\n certificate,\n domainName: myDomainName,\n },\n});\n\n// hosted zone for adding appsync domain\nconst zone = route53.HostedZone.fromHostedZoneAttributes(this, `HostedZone`, {\n hostedZoneId,\n zoneName,\n});\n\n// create a cname to the appsync domain. will map to something like xxxx.cloudfront.net\nnew route53.CnameRecord(this, `CnameApiRecord`, {\n recordName: 'api',\n zone,\n domainName: myDomainName,\n});\n/// !hide\n// Code snippet ended before !hide marker above\n }\n}\n","syntaxKindCounter":{"10":8,"14":2,"75":30,"104":4,"130":2,"143":1,"193":5,"194":5,"196":1,"197":3,"225":6,"226":1,"242":6,"243":6,"254":2,"255":2,"256":2,"281":6,"282":4,"290":1},"fqnsFingerprint":"e3c16029f5f97fd76fa4ac61d3e0ea2064b49c26bf9238fcc71d3d9a8eb3a48e"},"ace37f51e44eddf5be41908b23cefae932b99570a3eaf01fa7bfaed642d57598":{"translations":{"python":{"source":"api = appsync.GraphqlApi(self, \"Api\",\n name=\"demo\",\n schema=appsync.Schema.from_asset(path.join(__dirname, \"schema.graphql\")),\n authorization_config=appsync.AuthorizationConfig(\n default_authorization=appsync.AuthorizationMode(\n authorization_type=appsync.AuthorizationType.IAM\n )\n ),\n xray_enabled=True\n)\n\ndemo_table = dynamodb.Table(self, \"DemoTable\",\n partition_key=dynamodb.Attribute(\n name=\"id\",\n type=dynamodb.AttributeType.STRING\n )\n)\n\ndemo_dS = api.add_dynamo_db_data_source(\"demoDataSource\", demo_table)\n\n# Resolver for the Query \"getDemos\" that scans the DynamoDb table and returns the entire list.\ndemo_dS.create_resolver(\n type_name=\"Query\",\n field_name=\"getDemos\",\n request_mapping_template=appsync.MappingTemplate.dynamo_db_scan_table(),\n response_mapping_template=appsync.MappingTemplate.dynamo_db_result_list()\n)\n\n# Resolver for the Mutation \"addDemo\" that puts the item into the DynamoDb table.\ndemo_dS.create_resolver(\n type_name=\"Mutation\",\n field_name=\"addDemo\",\n request_mapping_template=appsync.MappingTemplate.dynamo_db_put_item(\n appsync.PrimaryKey.partition(\"id\").auto(),\n appsync.Values.projecting(\"input\")),\n response_mapping_template=appsync.MappingTemplate.dynamo_db_result_item()\n)","version":"2"},"csharp":{"source":"var api = new GraphqlApi(this, \"Api\", new GraphqlApiProps {\n Name = \"demo\",\n Schema = Schema.FromAsset(Join(__dirname, \"schema.graphql\")),\n AuthorizationConfig = new AuthorizationConfig {\n DefaultAuthorization = new AuthorizationMode {\n AuthorizationType = AuthorizationType.IAM\n }\n },\n XrayEnabled = true\n});\n\nvar demoTable = new Table(this, \"DemoTable\", new TableProps {\n PartitionKey = new Attribute {\n Name = \"id\",\n Type = AttributeType.STRING\n }\n});\n\nvar demoDS = api.AddDynamoDbDataSource(\"demoDataSource\", demoTable);\n\n// Resolver for the Query \"getDemos\" that scans the DynamoDb table and returns the entire list.\ndemoDS.CreateResolver(new BaseResolverProps {\n TypeName = \"Query\",\n FieldName = \"getDemos\",\n RequestMappingTemplate = MappingTemplate.DynamoDbScanTable(),\n ResponseMappingTemplate = MappingTemplate.DynamoDbResultList()\n});\n\n// Resolver for the Mutation \"addDemo\" that puts the item into the DynamoDb table.\ndemoDS.CreateResolver(new BaseResolverProps {\n TypeName = \"Mutation\",\n FieldName = \"addDemo\",\n RequestMappingTemplate = MappingTemplate.DynamoDbPutItem(PrimaryKey.Partition(\"id\").Auto(), Values.Projecting(\"input\")),\n ResponseMappingTemplate = MappingTemplate.DynamoDbResultItem()\n});","version":"1"},"java":{"source":"GraphqlApi api = GraphqlApi.Builder.create(this, \"Api\")\n .name(\"demo\")\n .schema(Schema.fromAsset(join(__dirname, \"schema.graphql\")))\n .authorizationConfig(AuthorizationConfig.builder()\n .defaultAuthorization(AuthorizationMode.builder()\n .authorizationType(AuthorizationType.IAM)\n .build())\n .build())\n .xrayEnabled(true)\n .build();\n\nTable demoTable = Table.Builder.create(this, \"DemoTable\")\n .partitionKey(Attribute.builder()\n .name(\"id\")\n .type(AttributeType.STRING)\n .build())\n .build();\n\nDynamoDbDataSource demoDS = api.addDynamoDbDataSource(\"demoDataSource\", demoTable);\n\n// Resolver for the Query \"getDemos\" that scans the DynamoDb table and returns the entire list.\ndemoDS.createResolver(BaseResolverProps.builder()\n .typeName(\"Query\")\n .fieldName(\"getDemos\")\n .requestMappingTemplate(MappingTemplate.dynamoDbScanTable())\n .responseMappingTemplate(MappingTemplate.dynamoDbResultList())\n .build());\n\n// Resolver for the Mutation \"addDemo\" that puts the item into the DynamoDb table.\ndemoDS.createResolver(BaseResolverProps.builder()\n .typeName(\"Mutation\")\n .fieldName(\"addDemo\")\n .requestMappingTemplate(MappingTemplate.dynamoDbPutItem(PrimaryKey.partition(\"id\").auto(), Values.projecting(\"input\")))\n .responseMappingTemplate(MappingTemplate.dynamoDbResultItem())\n .build());","version":"1"},"go":{"source":"api := appsync.NewGraphqlApi(this, jsii.String(\"Api\"), &GraphqlApiProps{\n\tName: jsii.String(\"demo\"),\n\tSchema: appsync.Schema_FromAsset(path.join(__dirname, jsii.String(\"schema.graphql\"))),\n\tAuthorizationConfig: &AuthorizationConfig{\n\t\tDefaultAuthorization: &AuthorizationMode{\n\t\t\tAuthorizationType: appsync.AuthorizationType_IAM,\n\t\t},\n\t},\n\tXrayEnabled: jsii.Boolean(true),\n})\n\ndemoTable := dynamodb.NewTable(this, jsii.String(\"DemoTable\"), &TableProps{\n\tPartitionKey: &Attribute{\n\t\tName: jsii.String(\"id\"),\n\t\tType: dynamodb.AttributeType_STRING,\n\t},\n})\n\ndemoDS := api.AddDynamoDbDataSource(jsii.String(\"demoDataSource\"), demoTable)\n\n// Resolver for the Query \"getDemos\" that scans the DynamoDb table and returns the entire list.\ndemoDS.CreateResolver(&BaseResolverProps{\n\tTypeName: jsii.String(\"Query\"),\n\tFieldName: jsii.String(\"getDemos\"),\n\tRequestMappingTemplate: appsync.MappingTemplate_DynamoDbScanTable(),\n\tResponseMappingTemplate: appsync.MappingTemplate_DynamoDbResultList(),\n})\n\n// Resolver for the Mutation \"addDemo\" that puts the item into the DynamoDb table.\ndemoDS.CreateResolver(&BaseResolverProps{\n\tTypeName: jsii.String(\"Mutation\"),\n\tFieldName: jsii.String(\"addDemo\"),\n\tRequestMappingTemplate: appsync.MappingTemplate_DynamoDbPutItem(appsync.PrimaryKey_Partition(jsii.String(\"id\")).Auto(), appsync.Values_Projecting(jsii.String(\"input\"))),\n\tResponseMappingTemplate: appsync.MappingTemplate_DynamoDbResultItem(),\n})","version":"1"},"$":{"source":"const api = new appsync.GraphqlApi(this, 'Api', {\n name: 'demo',\n schema: appsync.Schema.fromAsset(path.join(__dirname, 'schema.graphql')),\n authorizationConfig: {\n defaultAuthorization: {\n authorizationType: appsync.AuthorizationType.IAM,\n },\n },\n xrayEnabled: true,\n});\n\nconst demoTable = new dynamodb.Table(this, 'DemoTable', {\n partitionKey: {\n name: 'id',\n type: dynamodb.AttributeType.STRING,\n },\n});\n\nconst demoDS = api.addDynamoDbDataSource('demoDataSource', demoTable);\n\n// Resolver for the Query \"getDemos\" that scans the DynamoDb table and returns the entire list.\ndemoDS.createResolver({\n typeName: 'Query',\n fieldName: 'getDemos',\n requestMappingTemplate: appsync.MappingTemplate.dynamoDbScanTable(),\n responseMappingTemplate: appsync.MappingTemplate.dynamoDbResultList(),\n});\n\n// Resolver for the Mutation \"addDemo\" that puts the item into the DynamoDb table.\ndemoDS.createResolver({\n typeName: 'Mutation',\n fieldName: 'addDemo',\n requestMappingTemplate: appsync.MappingTemplate.dynamoDbPutItem(\n appsync.PrimaryKey.partition('id').auto(),\n appsync.Values.projecting('input'),\n ),\n responseMappingTemplate: appsync.MappingTemplate.dynamoDbResultItem(),\n});","version":"0"}},"location":{"api":{"api":"type","fqn":"@aws-cdk/aws-appsync.DynamoDbDataSource"},"field":{"field":"example"}},"didCompile":true,"fqnsReferenced":["@aws-cdk/aws-appsync.AttributeValues","@aws-cdk/aws-appsync.AuthorizationConfig","@aws-cdk/aws-appsync.AuthorizationMode","@aws-cdk/aws-appsync.AuthorizationType","@aws-cdk/aws-appsync.AuthorizationType#IAM","@aws-cdk/aws-appsync.BaseDataSource#createResolver","@aws-cdk/aws-appsync.BaseResolverProps","@aws-cdk/aws-appsync.DynamoDbDataSource","@aws-cdk/aws-appsync.GraphqlApi","@aws-cdk/aws-appsync.GraphqlApiBase#addDynamoDbDataSource","@aws-cdk/aws-appsync.GraphqlApiProps","@aws-cdk/aws-appsync.MappingTemplate","@aws-cdk/aws-appsync.MappingTemplate#dynamoDbPutItem","@aws-cdk/aws-appsync.MappingTemplate#dynamoDbResultItem","@aws-cdk/aws-appsync.MappingTemplate#dynamoDbResultList","@aws-cdk/aws-appsync.MappingTemplate#dynamoDbScanTable","@aws-cdk/aws-appsync.PartitionKeyStep#auto","@aws-cdk/aws-appsync.PrimaryKey","@aws-cdk/aws-appsync.PrimaryKey#partition","@aws-cdk/aws-appsync.Schema","@aws-cdk/aws-appsync.Schema#fromAsset","@aws-cdk/aws-appsync.Values","@aws-cdk/aws-appsync.Values#projecting","@aws-cdk/aws-dynamodb.Attribute","@aws-cdk/aws-dynamodb.AttributeType","@aws-cdk/aws-dynamodb.AttributeType#STRING","@aws-cdk/aws-dynamodb.ITable","@aws-cdk/aws-dynamodb.Table","@aws-cdk/aws-dynamodb.TableProps","constructs.Construct"],"fullSource":"// Fixture with packages imported, but nothing else\nimport { Construct } from 'constructs';\nimport { RemovalPolicy, Stack } from '@aws-cdk/core';\nimport appsync = require('@aws-cdk/aws-appsync');\nimport ec2 = require('@aws-cdk/aws-ec2');\nimport dynamodb = require('@aws-cdk/aws-dynamodb');\nimport iam = require('@aws-cdk/aws-iam');\nimport rds = require('@aws-cdk/aws-rds');\nimport path = require('path');\n\nclass Fixture extends Stack {\n constructor(scope: Construct, id: string) {\n super(scope, id);\n // Code snippet begins after !show marker below\n/// !show\nconst api = new appsync.GraphqlApi(this, 'Api', {\n name: 'demo',\n schema: appsync.Schema.fromAsset(path.join(__dirname, 'schema.graphql')),\n authorizationConfig: {\n defaultAuthorization: {\n authorizationType: appsync.AuthorizationType.IAM,\n },\n },\n xrayEnabled: true,\n});\n\nconst demoTable = new dynamodb.Table(this, 'DemoTable', {\n partitionKey: {\n name: 'id',\n type: dynamodb.AttributeType.STRING,\n },\n});\n\nconst demoDS = api.addDynamoDbDataSource('demoDataSource', demoTable);\n\n// Resolver for the Query \"getDemos\" that scans the DynamoDb table and returns the entire list.\ndemoDS.createResolver({\n typeName: 'Query',\n fieldName: 'getDemos',\n requestMappingTemplate: appsync.MappingTemplate.dynamoDbScanTable(),\n responseMappingTemplate: appsync.MappingTemplate.dynamoDbResultList(),\n});\n\n// Resolver for the Mutation \"addDemo\" that puts the item into the DynamoDb table.\ndemoDS.createResolver({\n typeName: 'Mutation',\n fieldName: 'addDemo',\n requestMappingTemplate: appsync.MappingTemplate.dynamoDbPutItem(\n appsync.PrimaryKey.partition('id').auto(),\n appsync.Values.projecting('input'),\n ),\n responseMappingTemplate: appsync.MappingTemplate.dynamoDbResultItem(),\n});\n/// !hide\n// Code snippet ended before !hide marker above\n }\n}\n","syntaxKindCounter":{"10":12,"75":62,"104":2,"106":1,"193":7,"194":25,"196":12,"197":2,"225":3,"226":2,"242":3,"243":3,"281":17},"fqnsFingerprint":"5e70d7ba2ab2d468126c46d474cb1c8201cf1abcfcdb9adfd0c3a8c047de1b0e"},"8941bd78c879a9531fc09ca7f711386fa5bd24ebdf43c313120d393b1254c84c":{"translations":{"python":{"source":"# The code below shows an example of how to instantiate this type.\n# The values are placeholders you should change.\nimport aws_cdk.aws_appsync as appsync\nimport aws_cdk.aws_dynamodb as dynamodb\nimport aws_cdk.aws_iam as iam\n\n# graphql_api: appsync.GraphqlApi\n# role: iam.Role\n# table: dynamodb.Table\n\ndynamo_db_data_source_props = appsync.DynamoDbDataSourceProps(\n api=graphql_api,\n table=table,\n\n # the properties below are optional\n description=\"description\",\n name=\"name\",\n read_only_access=False,\n service_role=role,\n use_caller_credentials=False\n)","version":"2"},"csharp":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nusing Amazon.CDK.AWS.AppSync;\nusing Amazon.CDK.AWS.DynamoDB;\nusing Amazon.CDK.AWS.IAM;\n\nGraphqlApi graphqlApi;\nRole role;\nTable table;\n\nvar dynamoDbDataSourceProps = new DynamoDbDataSourceProps {\n Api = graphqlApi,\n Table = table,\n\n // the properties below are optional\n Description = \"description\",\n Name = \"name\",\n ReadOnlyAccess = false,\n ServiceRole = role,\n UseCallerCredentials = false\n};","version":"1"},"java":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport software.amazon.awscdk.services.appsync.*;\nimport software.amazon.awscdk.services.dynamodb.*;\nimport software.amazon.awscdk.services.iam.*;\n\nGraphqlApi graphqlApi;\nRole role;\nTable table;\n\nDynamoDbDataSourceProps dynamoDbDataSourceProps = DynamoDbDataSourceProps.builder()\n .api(graphqlApi)\n .table(table)\n\n // the properties below are optional\n .description(\"description\")\n .name(\"name\")\n .readOnlyAccess(false)\n .serviceRole(role)\n .useCallerCredentials(false)\n .build();","version":"1"},"go":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport appsync \"github.com/aws-samples/dummy/awscdkawsappsync\"\nimport dynamodb \"github.com/aws-samples/dummy/awscdkawsdynamodb\"\nimport iam \"github.com/aws-samples/dummy/awscdkawsiam\"\n\nvar graphqlApi graphqlApi\nvar role role\nvar table table\n\ndynamoDbDataSourceProps := &DynamoDbDataSourceProps{\n\tApi: graphqlApi,\n\tTable: table,\n\n\t// the properties below are optional\n\tDescription: jsii.String(\"description\"),\n\tName: jsii.String(\"name\"),\n\tReadOnlyAccess: jsii.Boolean(false),\n\tServiceRole: role,\n\tUseCallerCredentials: jsii.Boolean(false),\n}","version":"1"},"$":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as appsync from '@aws-cdk/aws-appsync';\nimport * as dynamodb from '@aws-cdk/aws-dynamodb';\nimport * as iam from '@aws-cdk/aws-iam';\n\ndeclare const graphqlApi: appsync.GraphqlApi;\ndeclare const role: iam.Role;\ndeclare const table: dynamodb.Table;\nconst dynamoDbDataSourceProps: appsync.DynamoDbDataSourceProps = {\n api: graphqlApi,\n table: table,\n\n // the properties below are optional\n description: 'description',\n name: 'name',\n readOnlyAccess: false,\n serviceRole: role,\n useCallerCredentials: false,\n};","version":"0"}},"location":{"api":{"api":"type","fqn":"@aws-cdk/aws-appsync.DynamoDbDataSourceProps"},"field":{"field":"example"}},"didCompile":true,"fqnsReferenced":["@aws-cdk/aws-appsync.DynamoDbDataSourceProps","@aws-cdk/aws-appsync.IGraphqlApi","@aws-cdk/aws-dynamodb.ITable","@aws-cdk/aws-iam.IRole"],"fullSource":"// Hoisted imports begin after !show marker below\n/// !show\n// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as appsync from '@aws-cdk/aws-appsync';\nimport * as dynamodb from '@aws-cdk/aws-dynamodb';\nimport * as iam from '@aws-cdk/aws-iam';\n\ndeclare const graphqlApi: appsync.GraphqlApi;\ndeclare const role: iam.Role;\ndeclare const table: dynamodb.Table;\n/// !hide\n// Hoisted imports ended before !hide marker above\nimport { Construct } from \"@aws-cdk/core\";\nclass MyConstruct extends Construct {\nconstructor(scope: Construct, id: string) {\nsuper(scope, id);\n// Code snippet begins after !show marker below\n/// !show\n\nconst dynamoDbDataSourceProps: appsync.DynamoDbDataSourceProps = {\n api: graphqlApi,\n table: table,\n\n // the properties below are optional\n description: 'description',\n name: 'name',\n readOnlyAccess: false,\n serviceRole: role,\n useCallerCredentials: false,\n};\n/// !hide\n// Code snippet ended before !hide marker above\n} }","syntaxKindCounter":{"10":5,"75":25,"91":2,"130":3,"153":4,"169":4,"193":1,"225":4,"242":4,"243":4,"254":3,"255":3,"256":3,"281":7,"290":1},"fqnsFingerprint":"7799462ac496cfda7988a360af542069fcda38541739b57831c76ec9a67c43c1"},"3deef26ca844f671e409e2d962889dd4ee78bf90576302c21466d56f6ca76f6d":{"translations":{"python":{"source":"# The code below shows an example of how to instantiate this type.\n# The values are placeholders you should change.\nimport aws_cdk.aws_appsync as appsync\nimport aws_cdk.aws_elasticsearch as elasticsearch\nimport aws_cdk.aws_iam as iam\n\n# domain: elasticsearch.Domain\n# graphql_api: appsync.GraphqlApi\n# role: iam.Role\n\nelasticsearch_data_source = appsync.ElasticsearchDataSource(self, \"MyElasticsearchDataSource\",\n api=graphql_api,\n domain=domain,\n\n # the properties below are optional\n description=\"description\",\n name=\"name\",\n service_role=role\n)","version":"2"},"csharp":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nusing Amazon.CDK.AWS.AppSync;\nusing Amazon.CDK.AWS.Elasticsearch;\nusing Amazon.CDK.AWS.IAM;\n\nDomain domain;\nGraphqlApi graphqlApi;\nRole role;\n\nvar elasticsearchDataSource = new ElasticsearchDataSource(this, \"MyElasticsearchDataSource\", new ElasticsearchDataSourceProps {\n Api = graphqlApi,\n Domain = domain,\n\n // the properties below are optional\n Description = \"description\",\n Name = \"name\",\n ServiceRole = role\n});","version":"1"},"java":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport software.amazon.awscdk.services.appsync.*;\nimport software.amazon.awscdk.services.elasticsearch.*;\nimport software.amazon.awscdk.services.iam.*;\n\nDomain domain;\nGraphqlApi graphqlApi;\nRole role;\n\nElasticsearchDataSource elasticsearchDataSource = ElasticsearchDataSource.Builder.create(this, \"MyElasticsearchDataSource\")\n .api(graphqlApi)\n .domain(domain)\n\n // the properties below are optional\n .description(\"description\")\n .name(\"name\")\n .serviceRole(role)\n .build();","version":"1"},"go":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport appsync \"github.com/aws-samples/dummy/awscdkawsappsync\"\nimport elasticsearch \"github.com/aws-samples/dummy/awscdkawselasticsearch\"\nimport iam \"github.com/aws-samples/dummy/awscdkawsiam\"\n\nvar domain domain\nvar graphqlApi graphqlApi\nvar role role\n\nelasticsearchDataSource := appsync.NewElasticsearchDataSource(this, jsii.String(\"MyElasticsearchDataSource\"), &ElasticsearchDataSourceProps{\n\tApi: graphqlApi,\n\tDomain: domain,\n\n\t// the properties below are optional\n\tDescription: jsii.String(\"description\"),\n\tName: jsii.String(\"name\"),\n\tServiceRole: role,\n})","version":"1"},"$":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as appsync from '@aws-cdk/aws-appsync';\nimport * as elasticsearch from '@aws-cdk/aws-elasticsearch';\nimport * as iam from '@aws-cdk/aws-iam';\n\ndeclare const domain: elasticsearch.Domain;\ndeclare const graphqlApi: appsync.GraphqlApi;\ndeclare const role: iam.Role;\nconst elasticsearchDataSource = new appsync.ElasticsearchDataSource(this, 'MyElasticsearchDataSource', {\n api: graphqlApi,\n domain: domain,\n\n // the properties below are optional\n description: 'description',\n name: 'name',\n serviceRole: role,\n});","version":"0"}},"location":{"api":{"api":"type","fqn":"@aws-cdk/aws-appsync.ElasticsearchDataSource"},"field":{"field":"example"}},"didCompile":true,"fqnsReferenced":["@aws-cdk/aws-appsync.ElasticsearchDataSource","@aws-cdk/aws-appsync.ElasticsearchDataSourceProps","@aws-cdk/aws-appsync.IGraphqlApi","@aws-cdk/aws-elasticsearch.IDomain","@aws-cdk/aws-iam.IRole","constructs.Construct"],"fullSource":"// Hoisted imports begin after !show marker below\n/// !show\n// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as appsync from '@aws-cdk/aws-appsync';\nimport * as elasticsearch from '@aws-cdk/aws-elasticsearch';\nimport * as iam from '@aws-cdk/aws-iam';\n\ndeclare const domain: elasticsearch.Domain;\ndeclare const graphqlApi: appsync.GraphqlApi;\ndeclare const role: iam.Role;\n/// !hide\n// Hoisted imports ended before !hide marker above\nimport { Construct } from \"@aws-cdk/core\";\nclass MyConstruct extends Construct {\nconstructor(scope: Construct, id: string) {\nsuper(scope, id);\n// Code snippet begins after !show marker below\n/// !show\n\nconst elasticsearchDataSource = new appsync.ElasticsearchDataSource(this, 'MyElasticsearchDataSource', {\n api: graphqlApi,\n domain: domain,\n\n // the properties below are optional\n description: 'description',\n name: 'name',\n serviceRole: role,\n});\n/// !hide\n// Code snippet ended before !hide marker above\n} }","syntaxKindCounter":{"10":6,"75":23,"104":1,"130":3,"153":3,"169":3,"193":1,"194":1,"197":1,"225":4,"242":4,"243":4,"254":3,"255":3,"256":3,"281":5,"290":1},"fqnsFingerprint":"22a3127cd39aea2b7be9b84d5eac9c535eb91e462f4274dd54c2de47df06ac5b"},"1f9eec24ae9f6ade92b6d1e2e6beb992365ab7a6bf080093c0e6135d110d8f8a":{"translations":{"python":{"source":"# The code below shows an example of how to instantiate this type.\n# The values are placeholders you should change.\nimport aws_cdk.aws_appsync as appsync\nimport aws_cdk.aws_elasticsearch as elasticsearch\nimport aws_cdk.aws_iam as iam\n\n# domain: elasticsearch.Domain\n# graphql_api: appsync.GraphqlApi\n# role: iam.Role\n\nelasticsearch_data_source_props = appsync.ElasticsearchDataSourceProps(\n api=graphql_api,\n domain=domain,\n\n # the properties below are optional\n description=\"description\",\n name=\"name\",\n service_role=role\n)","version":"2"},"csharp":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nusing Amazon.CDK.AWS.AppSync;\nusing Amazon.CDK.AWS.Elasticsearch;\nusing Amazon.CDK.AWS.IAM;\n\nDomain domain;\nGraphqlApi graphqlApi;\nRole role;\n\nvar elasticsearchDataSourceProps = new ElasticsearchDataSourceProps {\n Api = graphqlApi,\n Domain = domain,\n\n // the properties below are optional\n Description = \"description\",\n Name = \"name\",\n ServiceRole = role\n};","version":"1"},"java":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport software.amazon.awscdk.services.appsync.*;\nimport software.amazon.awscdk.services.elasticsearch.*;\nimport software.amazon.awscdk.services.iam.*;\n\nDomain domain;\nGraphqlApi graphqlApi;\nRole role;\n\nElasticsearchDataSourceProps elasticsearchDataSourceProps = ElasticsearchDataSourceProps.builder()\n .api(graphqlApi)\n .domain(domain)\n\n // the properties below are optional\n .description(\"description\")\n .name(\"name\")\n .serviceRole(role)\n .build();","version":"1"},"go":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport appsync \"github.com/aws-samples/dummy/awscdkawsappsync\"\nimport elasticsearch \"github.com/aws-samples/dummy/awscdkawselasticsearch\"\nimport iam \"github.com/aws-samples/dummy/awscdkawsiam\"\n\nvar domain domain\nvar graphqlApi graphqlApi\nvar role role\n\nelasticsearchDataSourceProps := &ElasticsearchDataSourceProps{\n\tApi: graphqlApi,\n\tDomain: domain,\n\n\t// the properties below are optional\n\tDescription: jsii.String(\"description\"),\n\tName: jsii.String(\"name\"),\n\tServiceRole: role,\n}","version":"1"},"$":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as appsync from '@aws-cdk/aws-appsync';\nimport * as elasticsearch from '@aws-cdk/aws-elasticsearch';\nimport * as iam from '@aws-cdk/aws-iam';\n\ndeclare const domain: elasticsearch.Domain;\ndeclare const graphqlApi: appsync.GraphqlApi;\ndeclare const role: iam.Role;\nconst elasticsearchDataSourceProps: appsync.ElasticsearchDataSourceProps = {\n api: graphqlApi,\n domain: domain,\n\n // the properties below are optional\n description: 'description',\n name: 'name',\n serviceRole: role,\n};","version":"0"}},"location":{"api":{"api":"type","fqn":"@aws-cdk/aws-appsync.ElasticsearchDataSourceProps"},"field":{"field":"example"}},"didCompile":true,"fqnsReferenced":["@aws-cdk/aws-appsync.ElasticsearchDataSourceProps","@aws-cdk/aws-appsync.IGraphqlApi","@aws-cdk/aws-elasticsearch.IDomain","@aws-cdk/aws-iam.IRole"],"fullSource":"// Hoisted imports begin after !show marker below\n/// !show\n// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as appsync from '@aws-cdk/aws-appsync';\nimport * as elasticsearch from '@aws-cdk/aws-elasticsearch';\nimport * as iam from '@aws-cdk/aws-iam';\n\ndeclare const domain: elasticsearch.Domain;\ndeclare const graphqlApi: appsync.GraphqlApi;\ndeclare const role: iam.Role;\n/// !hide\n// Hoisted imports ended before !hide marker above\nimport { Construct } from \"@aws-cdk/core\";\nclass MyConstruct extends Construct {\nconstructor(scope: Construct, id: string) {\nsuper(scope, id);\n// Code snippet begins after !show marker below\n/// !show\n\nconst elasticsearchDataSourceProps: appsync.ElasticsearchDataSourceProps = {\n api: graphqlApi,\n domain: domain,\n\n // the properties below are optional\n description: 'description',\n name: 'name',\n serviceRole: role,\n};\n/// !hide\n// Code snippet ended before !hide marker above\n} }","syntaxKindCounter":{"10":5,"75":23,"130":3,"153":4,"169":4,"193":1,"225":4,"242":4,"243":4,"254":3,"255":3,"256":3,"281":5,"290":1},"fqnsFingerprint":"dd6593b971a43b27b5bed1ce2fcd7463f8b20a7766a7050d90fb1a3f5ac01657"},"e6704eb979da6dd1041b218f2b45ce71b2b72fb0d7c8301f3eaeec175f156be8":{"translations":{"python":{"source":"# api: appsync.GraphqlApi\n\nepisode = appsync.EnumType(\"Episode\",\n definition=[\"NEWHOPE\", \"EMPIRE\", \"JEDI\"\n ]\n)\napi.add_type(episode)","version":"2"},"csharp":{"source":"GraphqlApi api;\n\nvar episode = new EnumType(\"Episode\", new EnumTypeOptions {\n Definition = new [] { \"NEWHOPE\", \"EMPIRE\", \"JEDI\" }\n});\napi.AddType(episode);","version":"1"},"java":{"source":"GraphqlApi api;\n\nEnumType episode = EnumType.Builder.create(\"Episode\")\n .definition(List.of(\"NEWHOPE\", \"EMPIRE\", \"JEDI\"))\n .build();\napi.addType(episode);","version":"1"},"go":{"source":"var api graphqlApi\n\nepisode := appsync.NewEnumType(jsii.String(\"Episode\"), &EnumTypeOptions{\n\tDefinition: []*string{\n\t\tjsii.String(\"NEWHOPE\"),\n\t\tjsii.String(\"EMPIRE\"),\n\t\tjsii.String(\"JEDI\"),\n\t},\n})\napi.AddType(episode)","version":"1"},"$":{"source":"declare const api: appsync.GraphqlApi;\nconst episode = new appsync.EnumType('Episode', {\n definition: [\n 'NEWHOPE',\n 'EMPIRE',\n 'JEDI',\n ],\n});\napi.addType(episode);","version":"0"}},"location":{"api":{"api":"type","fqn":"@aws-cdk/aws-appsync.EnumType"},"field":{"field":"example"}},"didCompile":true,"fqnsReferenced":["@aws-cdk/aws-appsync.EnumType","@aws-cdk/aws-appsync.EnumTypeOptions","@aws-cdk/aws-appsync.GraphqlApi#addType","@aws-cdk/aws-appsync.IIntermediateType"],"fullSource":"// Hoisted imports begin after !show marker below\n/// !show\ndeclare const api: appsync.GraphqlApi;\n/// !hide\n// Hoisted imports ended before !hide marker above\n// Fixture with packages imported, but nothing else\nimport { Construct } from 'constructs';\nimport { RemovalPolicy, Stack } from '@aws-cdk/core';\nimport appsync = require('@aws-cdk/aws-appsync');\nimport ec2 = require('@aws-cdk/aws-ec2');\nimport dynamodb = require('@aws-cdk/aws-dynamodb');\nimport iam = require('@aws-cdk/aws-iam');\nimport rds = require('@aws-cdk/aws-rds');\nimport path = require('path');\n\nclass Fixture extends Stack {\n constructor(scope: Construct, id: string) {\n super(scope, id);\n // Code snippet begins after !show marker below\n/// !show\n\nconst episode = new appsync.EnumType('Episode', {\n definition: [\n 'NEWHOPE',\n 'EMPIRE',\n 'JEDI',\n ],\n});\napi.addType(episode);\n/// !hide\n// Code snippet ended before !hide marker above\n }\n}\n","syntaxKindCounter":{"10":4,"75":10,"130":1,"153":1,"169":1,"192":1,"193":1,"194":2,"196":1,"197":1,"225":2,"226":1,"242":2,"243":2,"281":1,"290":1},"fqnsFingerprint":"2cce42ceb3888054ae118fb309e1df385a67c59416f9dc198c4503aaef49871f"},"d4a442d80b51b73354380d22f9d6a0f6fe3bbe8b480f913e153e10de92fcb71f":{"translations":{"python":{"source":"# api: appsync.GraphqlApi\n\nepisode = appsync.EnumType(\"Episode\",\n definition=[\"NEWHOPE\", \"EMPIRE\", \"JEDI\"\n ]\n)\napi.add_type(episode)","version":"2"},"csharp":{"source":"GraphqlApi api;\n\nvar episode = new EnumType(\"Episode\", new EnumTypeOptions {\n Definition = new [] { \"NEWHOPE\", \"EMPIRE\", \"JEDI\" }\n});\napi.AddType(episode);","version":"1"},"java":{"source":"GraphqlApi api;\n\nEnumType episode = EnumType.Builder.create(\"Episode\")\n .definition(List.of(\"NEWHOPE\", \"EMPIRE\", \"JEDI\"))\n .build();\napi.addType(episode);","version":"1"},"go":{"source":"var api graphqlApi\n\nepisode := appsync.NewEnumType(jsii.String(\"Episode\"), &EnumTypeOptions{\n\tDefinition: []*string{\n\t\tjsii.String(\"NEWHOPE\"),\n\t\tjsii.String(\"EMPIRE\"),\n\t\tjsii.String(\"JEDI\"),\n\t},\n})\napi.AddType(episode)","version":"1"},"$":{"source":"declare const api: appsync.GraphqlApi;\nconst episode = new appsync.EnumType('Episode', {\n definition: [\n 'NEWHOPE',\n 'EMPIRE',\n 'JEDI',\n ],\n});\napi.addType(episode);","version":"0"}},"location":{"api":{"api":"type","fqn":"@aws-cdk/aws-appsync.EnumTypeOptions"},"field":{"field":"example"}},"didCompile":true,"fqnsReferenced":["@aws-cdk/aws-appsync.EnumType","@aws-cdk/aws-appsync.EnumTypeOptions","@aws-cdk/aws-appsync.GraphqlApi#addType","@aws-cdk/aws-appsync.IIntermediateType"],"fullSource":"// Hoisted imports begin after !show marker below\n/// !show\ndeclare const api: appsync.GraphqlApi;\n/// !hide\n// Hoisted imports ended before !hide marker above\n// Fixture with packages imported, but nothing else\nimport { Construct } from 'constructs';\nimport { RemovalPolicy, Stack } from '@aws-cdk/core';\nimport appsync = require('@aws-cdk/aws-appsync');\nimport ec2 = require('@aws-cdk/aws-ec2');\nimport dynamodb = require('@aws-cdk/aws-dynamodb');\nimport iam = require('@aws-cdk/aws-iam');\nimport rds = require('@aws-cdk/aws-rds');\nimport path = require('path');\n\nclass Fixture extends Stack {\n constructor(scope: Construct, id: string) {\n super(scope, id);\n // Code snippet begins after !show marker below\n/// !show\n\nconst episode = new appsync.EnumType('Episode', {\n definition: [\n 'NEWHOPE',\n 'EMPIRE',\n 'JEDI',\n ],\n});\napi.addType(episode);\n/// !hide\n// Code snippet ended before !hide marker above\n }\n}\n","syntaxKindCounter":{"10":4,"75":10,"130":1,"153":1,"169":1,"192":1,"193":1,"194":2,"196":1,"197":1,"225":2,"226":1,"242":2,"243":2,"281":1,"290":1},"fqnsFingerprint":"2cce42ceb3888054ae118fb309e1df385a67c59416f9dc198c4503aaef49871f"},"ff88e6a644813d918970cb1a69b7e55e6947132a28e87c72126ac44bef0682e6":{"translations":{"python":{"source":"# The code below shows an example of how to instantiate this type.\n# The values are placeholders you should change.\nimport aws_cdk.aws_appsync as appsync\n\nextended_data_source_props = appsync.ExtendedDataSourceProps(\n type=\"type\",\n\n # the properties below are optional\n dynamo_db_config=appsync.CfnDataSource.DynamoDBConfigProperty(\n aws_region=\"awsRegion\",\n table_name=\"tableName\",\n\n # the properties below are optional\n delta_sync_config=appsync.CfnDataSource.DeltaSyncConfigProperty(\n base_table_ttl=\"baseTableTtl\",\n delta_sync_table_name=\"deltaSyncTableName\",\n delta_sync_table_ttl=\"deltaSyncTableTtl\"\n ),\n use_caller_credentials=False,\n versioned=False\n ),\n elasticsearch_config=appsync.CfnDataSource.ElasticsearchConfigProperty(\n aws_region=\"awsRegion\",\n endpoint=\"endpoint\"\n ),\n http_config=appsync.CfnDataSource.HttpConfigProperty(\n endpoint=\"endpoint\",\n\n # the properties below are optional\n authorization_config=appsync.CfnDataSource.AuthorizationConfigProperty(\n authorization_type=\"authorizationType\",\n\n # the properties below are optional\n aws_iam_config=appsync.CfnDataSource.AwsIamConfigProperty(\n signing_region=\"signingRegion\",\n signing_service_name=\"signingServiceName\"\n )\n )\n ),\n lambda_config=appsync.CfnDataSource.LambdaConfigProperty(\n lambda_function_arn=\"lambdaFunctionArn\"\n ),\n open_search_service_config=appsync.CfnDataSource.OpenSearchServiceConfigProperty(\n aws_region=\"awsRegion\",\n endpoint=\"endpoint\"\n ),\n relational_database_config=appsync.CfnDataSource.RelationalDatabaseConfigProperty(\n relational_database_source_type=\"relationalDatabaseSourceType\",\n\n # the properties below are optional\n rds_http_endpoint_config=appsync.CfnDataSource.RdsHttpEndpointConfigProperty(\n aws_region=\"awsRegion\",\n aws_secret_store_arn=\"awsSecretStoreArn\",\n db_cluster_identifier=\"dbClusterIdentifier\",\n\n # the properties below are optional\n database_name=\"databaseName\",\n schema=\"schema\"\n )\n )\n)","version":"2"},"csharp":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nusing Amazon.CDK.AWS.AppSync;\n\nvar extendedDataSourceProps = new ExtendedDataSourceProps {\n Type = \"type\",\n\n // the properties below are optional\n DynamoDbConfig = new DynamoDBConfigProperty {\n AwsRegion = \"awsRegion\",\n TableName = \"tableName\",\n\n // the properties below are optional\n DeltaSyncConfig = new DeltaSyncConfigProperty {\n BaseTableTtl = \"baseTableTtl\",\n DeltaSyncTableName = \"deltaSyncTableName\",\n DeltaSyncTableTtl = \"deltaSyncTableTtl\"\n },\n UseCallerCredentials = false,\n Versioned = false\n },\n ElasticsearchConfig = new ElasticsearchConfigProperty {\n AwsRegion = \"awsRegion\",\n Endpoint = \"endpoint\"\n },\n HttpConfig = new HttpConfigProperty {\n Endpoint = \"endpoint\",\n\n // the properties below are optional\n AuthorizationConfig = new AuthorizationConfigProperty {\n AuthorizationType = \"authorizationType\",\n\n // the properties below are optional\n AwsIamConfig = new AwsIamConfigProperty {\n SigningRegion = \"signingRegion\",\n SigningServiceName = \"signingServiceName\"\n }\n }\n },\n LambdaConfig = new LambdaConfigProperty {\n LambdaFunctionArn = \"lambdaFunctionArn\"\n },\n OpenSearchServiceConfig = new OpenSearchServiceConfigProperty {\n AwsRegion = \"awsRegion\",\n Endpoint = \"endpoint\"\n },\n RelationalDatabaseConfig = new RelationalDatabaseConfigProperty {\n RelationalDatabaseSourceType = \"relationalDatabaseSourceType\",\n\n // the properties below are optional\n RdsHttpEndpointConfig = new RdsHttpEndpointConfigProperty {\n AwsRegion = \"awsRegion\",\n AwsSecretStoreArn = \"awsSecretStoreArn\",\n DbClusterIdentifier = \"dbClusterIdentifier\",\n\n // the properties below are optional\n DatabaseName = \"databaseName\",\n Schema = \"schema\"\n }\n }\n};","version":"1"},"java":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport software.amazon.awscdk.services.appsync.*;\n\nExtendedDataSourceProps extendedDataSourceProps = ExtendedDataSourceProps.builder()\n .type(\"type\")\n\n // the properties below are optional\n .dynamoDbConfig(DynamoDBConfigProperty.builder()\n .awsRegion(\"awsRegion\")\n .tableName(\"tableName\")\n\n // the properties below are optional\n .deltaSyncConfig(DeltaSyncConfigProperty.builder()\n .baseTableTtl(\"baseTableTtl\")\n .deltaSyncTableName(\"deltaSyncTableName\")\n .deltaSyncTableTtl(\"deltaSyncTableTtl\")\n .build())\n .useCallerCredentials(false)\n .versioned(false)\n .build())\n .elasticsearchConfig(ElasticsearchConfigProperty.builder()\n .awsRegion(\"awsRegion\")\n .endpoint(\"endpoint\")\n .build())\n .httpConfig(HttpConfigProperty.builder()\n .endpoint(\"endpoint\")\n\n // the properties below are optional\n .authorizationConfig(AuthorizationConfigProperty.builder()\n .authorizationType(\"authorizationType\")\n\n // the properties below are optional\n .awsIamConfig(AwsIamConfigProperty.builder()\n .signingRegion(\"signingRegion\")\n .signingServiceName(\"signingServiceName\")\n .build())\n .build())\n .build())\n .lambdaConfig(LambdaConfigProperty.builder()\n .lambdaFunctionArn(\"lambdaFunctionArn\")\n .build())\n .openSearchServiceConfig(OpenSearchServiceConfigProperty.builder()\n .awsRegion(\"awsRegion\")\n .endpoint(\"endpoint\")\n .build())\n .relationalDatabaseConfig(RelationalDatabaseConfigProperty.builder()\n .relationalDatabaseSourceType(\"relationalDatabaseSourceType\")\n\n // the properties below are optional\n .rdsHttpEndpointConfig(RdsHttpEndpointConfigProperty.builder()\n .awsRegion(\"awsRegion\")\n .awsSecretStoreArn(\"awsSecretStoreArn\")\n .dbClusterIdentifier(\"dbClusterIdentifier\")\n\n // the properties below are optional\n .databaseName(\"databaseName\")\n .schema(\"schema\")\n .build())\n .build())\n .build();","version":"1"},"go":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport appsync \"github.com/aws-samples/dummy/awscdkawsappsync\"\n\nextendedDataSourceProps := &ExtendedDataSourceProps{\n\tType: jsii.String(\"type\"),\n\n\t// the properties below are optional\n\tDynamoDbConfig: &DynamoDBConfigProperty{\n\t\tAwsRegion: jsii.String(\"awsRegion\"),\n\t\tTableName: jsii.String(\"tableName\"),\n\n\t\t// the properties below are optional\n\t\tDeltaSyncConfig: &DeltaSyncConfigProperty{\n\t\t\tBaseTableTtl: jsii.String(\"baseTableTtl\"),\n\t\t\tDeltaSyncTableName: jsii.String(\"deltaSyncTableName\"),\n\t\t\tDeltaSyncTableTtl: jsii.String(\"deltaSyncTableTtl\"),\n\t\t},\n\t\tUseCallerCredentials: jsii.Boolean(false),\n\t\tVersioned: jsii.Boolean(false),\n\t},\n\tElasticsearchConfig: &ElasticsearchConfigProperty{\n\t\tAwsRegion: jsii.String(\"awsRegion\"),\n\t\tEndpoint: jsii.String(\"endpoint\"),\n\t},\n\tHttpConfig: &HttpConfigProperty{\n\t\tEndpoint: jsii.String(\"endpoint\"),\n\n\t\t// the properties below are optional\n\t\tAuthorizationConfig: &AuthorizationConfigProperty{\n\t\t\tAuthorizationType: jsii.String(\"authorizationType\"),\n\n\t\t\t// the properties below are optional\n\t\t\tAwsIamConfig: &AwsIamConfigProperty{\n\t\t\t\tSigningRegion: jsii.String(\"signingRegion\"),\n\t\t\t\tSigningServiceName: jsii.String(\"signingServiceName\"),\n\t\t\t},\n\t\t},\n\t},\n\tLambdaConfig: &LambdaConfigProperty{\n\t\tLambdaFunctionArn: jsii.String(\"lambdaFunctionArn\"),\n\t},\n\tOpenSearchServiceConfig: &OpenSearchServiceConfigProperty{\n\t\tAwsRegion: jsii.String(\"awsRegion\"),\n\t\tEndpoint: jsii.String(\"endpoint\"),\n\t},\n\tRelationalDatabaseConfig: &RelationalDatabaseConfigProperty{\n\t\tRelationalDatabaseSourceType: jsii.String(\"relationalDatabaseSourceType\"),\n\n\t\t// the properties below are optional\n\t\tRdsHttpEndpointConfig: &RdsHttpEndpointConfigProperty{\n\t\t\tAwsRegion: jsii.String(\"awsRegion\"),\n\t\t\tAwsSecretStoreArn: jsii.String(\"awsSecretStoreArn\"),\n\t\t\tDbClusterIdentifier: jsii.String(\"dbClusterIdentifier\"),\n\n\t\t\t// the properties below are optional\n\t\t\tDatabaseName: jsii.String(\"databaseName\"),\n\t\t\tSchema: jsii.String(\"schema\"),\n\t\t},\n\t},\n}","version":"1"},"$":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as appsync from '@aws-cdk/aws-appsync';\nconst extendedDataSourceProps: appsync.ExtendedDataSourceProps = {\n type: 'type',\n\n // the properties below are optional\n dynamoDbConfig: {\n awsRegion: 'awsRegion',\n tableName: 'tableName',\n\n // the properties below are optional\n deltaSyncConfig: {\n baseTableTtl: 'baseTableTtl',\n deltaSyncTableName: 'deltaSyncTableName',\n deltaSyncTableTtl: 'deltaSyncTableTtl',\n },\n useCallerCredentials: false,\n versioned: false,\n },\n elasticsearchConfig: {\n awsRegion: 'awsRegion',\n endpoint: 'endpoint',\n },\n httpConfig: {\n endpoint: 'endpoint',\n\n // the properties below are optional\n authorizationConfig: {\n authorizationType: 'authorizationType',\n\n // the properties below are optional\n awsIamConfig: {\n signingRegion: 'signingRegion',\n signingServiceName: 'signingServiceName',\n },\n },\n },\n lambdaConfig: {\n lambdaFunctionArn: 'lambdaFunctionArn',\n },\n openSearchServiceConfig: {\n awsRegion: 'awsRegion',\n endpoint: 'endpoint',\n },\n relationalDatabaseConfig: {\n relationalDatabaseSourceType: 'relationalDatabaseSourceType',\n\n // the properties below are optional\n rdsHttpEndpointConfig: {\n awsRegion: 'awsRegion',\n awsSecretStoreArn: 'awsSecretStoreArn',\n dbClusterIdentifier: 'dbClusterIdentifier',\n\n // the properties below are optional\n databaseName: 'databaseName',\n schema: 'schema',\n },\n },\n};","version":"0"}},"location":{"api":{"api":"type","fqn":"@aws-cdk/aws-appsync.ExtendedDataSourceProps"},"field":{"field":"example"}},"didCompile":true,"fqnsReferenced":["@aws-cdk/aws-appsync.ExtendedDataSourceProps"],"fullSource":"// Hoisted imports begin after !show marker below\n/// !show\n// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as appsync from '@aws-cdk/aws-appsync';\n/// !hide\n// Hoisted imports ended before !hide marker above\nimport { Construct } from \"@aws-cdk/core\";\nclass MyConstruct extends Construct {\nconstructor(scope: Construct, id: string) {\nsuper(scope, id);\n// Code snippet begins after !show marker below\n/// !show\n\nconst extendedDataSourceProps: appsync.ExtendedDataSourceProps = {\n type: 'type',\n\n // the properties below are optional\n dynamoDbConfig: {\n awsRegion: 'awsRegion',\n tableName: 'tableName',\n\n // the properties below are optional\n deltaSyncConfig: {\n baseTableTtl: 'baseTableTtl',\n deltaSyncTableName: 'deltaSyncTableName',\n deltaSyncTableTtl: 'deltaSyncTableTtl',\n },\n useCallerCredentials: false,\n versioned: false,\n },\n elasticsearchConfig: {\n awsRegion: 'awsRegion',\n endpoint: 'endpoint',\n },\n httpConfig: {\n endpoint: 'endpoint',\n\n // the properties below are optional\n authorizationConfig: {\n authorizationType: 'authorizationType',\n\n // the properties below are optional\n awsIamConfig: {\n signingRegion: 'signingRegion',\n signingServiceName: 'signingServiceName',\n },\n },\n },\n lambdaConfig: {\n lambdaFunctionArn: 'lambdaFunctionArn',\n },\n openSearchServiceConfig: {\n awsRegion: 'awsRegion',\n endpoint: 'endpoint',\n },\n relationalDatabaseConfig: {\n relationalDatabaseSourceType: 'relationalDatabaseSourceType',\n\n // the properties below are optional\n rdsHttpEndpointConfig: {\n awsRegion: 'awsRegion',\n awsSecretStoreArn: 'awsSecretStoreArn',\n dbClusterIdentifier: 'dbClusterIdentifier',\n\n // the properties below are optional\n databaseName: 'databaseName',\n schema: 'schema',\n },\n },\n};\n/// !hide\n// Code snippet ended before !hide marker above\n} }","syntaxKindCounter":{"10":22,"75":37,"91":2,"153":1,"169":1,"193":11,"225":1,"242":1,"243":1,"254":1,"255":1,"256":1,"281":33,"290":1},"fqnsFingerprint":"46a71a887d3139829c2de723692d34b4161da15d01427d693c440adb85c0ed26"},"a1eb10a31e781995b11b28387e584e4d9da4fdad2a4da5e47a308a5227e31a38":{"translations":{"python":{"source":"# The code below shows an example of how to instantiate this type.\n# The values are placeholders you should change.\nimport aws_cdk.aws_appsync as appsync\nimport aws_cdk.core as cdk\n\n# appsync_function: appsync.AppsyncFunction\n# base_data_source: appsync.BaseDataSource\n# mapping_template: appsync.MappingTemplate\n\nextended_resolver_props = appsync.ExtendedResolverProps(\n field_name=\"fieldName\",\n type_name=\"typeName\",\n\n # the properties below are optional\n caching_config=appsync.CachingConfig(\n ttl=cdk.Duration.minutes(30),\n\n # the properties below are optional\n caching_keys=[\"cachingKeys\"]\n ),\n data_source=base_data_source,\n pipeline_config=[appsync_function],\n request_mapping_template=mapping_template,\n response_mapping_template=mapping_template\n)","version":"2"},"csharp":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nusing Amazon.CDK.AWS.AppSync;\nusing Amazon.CDK;\n\nAppsyncFunction appsyncFunction;\nBaseDataSource baseDataSource;\nMappingTemplate mappingTemplate;\nvar extendedResolverProps = new ExtendedResolverProps {\n FieldName = \"fieldName\",\n TypeName = \"typeName\",\n\n // the properties below are optional\n CachingConfig = new CachingConfig {\n Ttl = Duration.Minutes(30),\n\n // the properties below are optional\n CachingKeys = new [] { \"cachingKeys\" }\n },\n DataSource = baseDataSource,\n PipelineConfig = new [] { appsyncFunction },\n RequestMappingTemplate = mappingTemplate,\n ResponseMappingTemplate = mappingTemplate\n};","version":"1"},"java":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport software.amazon.awscdk.services.appsync.*;\nimport software.amazon.awscdk.core.*;\n\nAppsyncFunction appsyncFunction;\nBaseDataSource baseDataSource;\nMappingTemplate mappingTemplate;\n\nExtendedResolverProps extendedResolverProps = ExtendedResolverProps.builder()\n .fieldName(\"fieldName\")\n .typeName(\"typeName\")\n\n // the properties below are optional\n .cachingConfig(CachingConfig.builder()\n .ttl(Duration.minutes(30))\n\n // the properties below are optional\n .cachingKeys(List.of(\"cachingKeys\"))\n .build())\n .dataSource(baseDataSource)\n .pipelineConfig(List.of(appsyncFunction))\n .requestMappingTemplate(mappingTemplate)\n .responseMappingTemplate(mappingTemplate)\n .build();","version":"1"},"go":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport appsync \"github.com/aws-samples/dummy/awscdkawsappsync\"\nimport cdk \"github.com/aws-samples/dummy/awscdkcore\"\n\nvar appsyncFunction appsyncFunction\nvar baseDataSource baseDataSource\nvar mappingTemplate mappingTemplate\n\nextendedResolverProps := &ExtendedResolverProps{\n\tFieldName: jsii.String(\"fieldName\"),\n\tTypeName: jsii.String(\"typeName\"),\n\n\t// the properties below are optional\n\tCachingConfig: &CachingConfig{\n\t\tTtl: cdk.Duration_Minutes(jsii.Number(30)),\n\n\t\t// the properties below are optional\n\t\tCachingKeys: []*string{\n\t\t\tjsii.String(\"cachingKeys\"),\n\t\t},\n\t},\n\tDataSource: baseDataSource,\n\tPipelineConfig: []iAppsyncFunction{\n\t\tappsyncFunction,\n\t},\n\tRequestMappingTemplate: mappingTemplate,\n\tResponseMappingTemplate: mappingTemplate,\n}","version":"1"},"$":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as appsync from '@aws-cdk/aws-appsync';\nimport * as cdk from '@aws-cdk/core';\n\ndeclare const appsyncFunction: appsync.AppsyncFunction;\ndeclare const baseDataSource: appsync.BaseDataSource;\ndeclare const mappingTemplate: appsync.MappingTemplate;\nconst extendedResolverProps: appsync.ExtendedResolverProps = {\n fieldName: 'fieldName',\n typeName: 'typeName',\n\n // the properties below are optional\n cachingConfig: {\n ttl: cdk.Duration.minutes(30),\n\n // the properties below are optional\n cachingKeys: ['cachingKeys'],\n },\n dataSource: baseDataSource,\n pipelineConfig: [appsyncFunction],\n requestMappingTemplate: mappingTemplate,\n responseMappingTemplate: mappingTemplate,\n};","version":"0"}},"location":{"api":{"api":"type","fqn":"@aws-cdk/aws-appsync.ExtendedResolverProps"},"field":{"field":"example"}},"didCompile":true,"fqnsReferenced":["@aws-cdk/aws-appsync.BaseDataSource","@aws-cdk/aws-appsync.CachingConfig","@aws-cdk/aws-appsync.ExtendedResolverProps","@aws-cdk/aws-appsync.MappingTemplate","@aws-cdk/core.Duration","@aws-cdk/core.Duration#minutes"],"fullSource":"// Hoisted imports begin after !show marker below\n/// !show\n// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as appsync from '@aws-cdk/aws-appsync';\nimport * as cdk from '@aws-cdk/core';\n\ndeclare const appsyncFunction: appsync.AppsyncFunction;\ndeclare const baseDataSource: appsync.BaseDataSource;\ndeclare const mappingTemplate: appsync.MappingTemplate;\n/// !hide\n// Hoisted imports ended before !hide marker above\nimport { Construct } from \"@aws-cdk/core\";\nclass MyConstruct extends Construct {\nconstructor(scope: Construct, id: string) {\nsuper(scope, id);\n// Code snippet begins after !show marker below\n/// !show\n\nconst extendedResolverProps: appsync.ExtendedResolverProps = {\n fieldName: 'fieldName',\n typeName: 'typeName',\n\n // the properties below are optional\n cachingConfig: {\n ttl: cdk.Duration.minutes(30),\n\n // the properties below are optional\n cachingKeys: ['cachingKeys'],\n },\n dataSource: baseDataSource,\n pipelineConfig: [appsyncFunction],\n requestMappingTemplate: mappingTemplate,\n responseMappingTemplate: mappingTemplate,\n};\n/// !hide\n// Code snippet ended before !hide marker above\n} }","syntaxKindCounter":{"8":1,"10":5,"75":30,"130":3,"153":4,"169":4,"192":2,"193":2,"194":2,"196":1,"225":4,"242":4,"243":4,"254":2,"255":2,"256":2,"281":9,"290":1},"fqnsFingerprint":"b3fe88090742518d5afda14aa07038cbb4f756b70b11cd6a8913298c13eb9fd0"},"e3c26f0d3eeeeb6f0f15bd30f0ec14d8f884d5412bfe5c9e2812e350272d3bc5":{"translations":{"python":{"source":"field = appsync.Field(\n return_type=appsync.GraphqlType.string(),\n args={\n \"argument\": appsync.GraphqlType.string()\n }\n)\ntype = appsync.InterfaceType(\"Node\",\n definition={\"test\": field}\n)","version":"2"},"csharp":{"source":"var field = new Field(new FieldOptions {\n ReturnType = GraphqlType.String(),\n Args = new Dictionary {\n { \"argument\", GraphqlType.String() }\n }\n});\nvar type = new InterfaceType(\"Node\", new IntermediateTypeOptions {\n Definition = new Dictionary { { \"test\", field } }\n});","version":"1"},"java":{"source":"Field field = Field.Builder.create()\n .returnType(GraphqlType.string())\n .args(Map.of(\n \"argument\", GraphqlType.string()))\n .build();\nInterfaceType type = InterfaceType.Builder.create(\"Node\")\n .definition(Map.of(\"test\", field))\n .build();","version":"1"},"go":{"source":"field := appsync.NewField(&FieldOptions{\n\tReturnType: appsync.GraphqlType_String(),\n\tArgs: map[string]graphqlType{\n\t\t\"argument\": appsync.*graphqlType_*String(),\n\t},\n})\ntype := appsync.NewInterfaceType(jsii.String(\"Node\"), &IntermediateTypeOptions{\n\tDefinition: map[string]iField{\n\t\t\"test\": field,\n\t},\n})","version":"1"},"$":{"source":"const field = new appsync.Field({\n returnType: appsync.GraphqlType.string(),\n args: {\n argument: appsync.GraphqlType.string(),\n },\n});\nconst type = new appsync.InterfaceType('Node', {\n definition: { test: field },\n});","version":"0"}},"location":{"api":{"api":"type","fqn":"@aws-cdk/aws-appsync.Field"},"field":{"field":"example"}},"didCompile":true,"fqnsReferenced":["@aws-cdk/aws-appsync.Field","@aws-cdk/aws-appsync.FieldOptions","@aws-cdk/aws-appsync.GraphqlType","@aws-cdk/aws-appsync.GraphqlType#string","@aws-cdk/aws-appsync.IField","@aws-cdk/aws-appsync.InterfaceType","@aws-cdk/aws-appsync.IntermediateTypeOptions"],"fullSource":"// Fixture with packages imported, but nothing else\nimport { Construct } from 'constructs';\nimport { RemovalPolicy, Stack } from '@aws-cdk/core';\nimport appsync = require('@aws-cdk/aws-appsync');\nimport ec2 = require('@aws-cdk/aws-ec2');\nimport dynamodb = require('@aws-cdk/aws-dynamodb');\nimport iam = require('@aws-cdk/aws-iam');\nimport rds = require('@aws-cdk/aws-rds');\nimport path = require('path');\n\nclass Fixture extends Stack {\n constructor(scope: Construct, id: string) {\n super(scope, id);\n // Code snippet begins after !show marker below\n/// !show\nconst field = new appsync.Field({\n returnType: appsync.GraphqlType.string(),\n args: {\n argument: appsync.GraphqlType.string(),\n },\n});\nconst type = new appsync.InterfaceType('Node', {\n definition: { test: field },\n});\n/// !hide\n// Code snippet ended before !hide marker above\n }\n}\n","syntaxKindCounter":{"10":1,"75":18,"193":4,"194":6,"196":2,"197":2,"225":2,"242":2,"243":2,"281":5},"fqnsFingerprint":"689a447780bf905f50587bd20c7a06282f80742220c0d60ad0045ee4785ec834"},"441b890128768f57ba7e8c405bebaeb1fa90375dad885b7b441e744bd3ce2e73":{"translations":{"python":{"source":"field = appsync.Field(\n return_type=appsync.GraphqlType.string(),\n args={\n \"argument\": appsync.GraphqlType.string()\n }\n)\ntype = appsync.InterfaceType(\"Node\",\n definition={\"test\": field}\n)","version":"2"},"csharp":{"source":"var field = new Field(new FieldOptions {\n ReturnType = GraphqlType.String(),\n Args = new Dictionary {\n { \"argument\", GraphqlType.String() }\n }\n});\nvar type = new InterfaceType(\"Node\", new IntermediateTypeOptions {\n Definition = new Dictionary { { \"test\", field } }\n});","version":"1"},"java":{"source":"Field field = Field.Builder.create()\n .returnType(GraphqlType.string())\n .args(Map.of(\n \"argument\", GraphqlType.string()))\n .build();\nInterfaceType type = InterfaceType.Builder.create(\"Node\")\n .definition(Map.of(\"test\", field))\n .build();","version":"1"},"go":{"source":"field := appsync.NewField(&FieldOptions{\n\tReturnType: appsync.GraphqlType_String(),\n\tArgs: map[string]graphqlType{\n\t\t\"argument\": appsync.*graphqlType_*String(),\n\t},\n})\ntype := appsync.NewInterfaceType(jsii.String(\"Node\"), &IntermediateTypeOptions{\n\tDefinition: map[string]iField{\n\t\t\"test\": field,\n\t},\n})","version":"1"},"$":{"source":"const field = new appsync.Field({\n returnType: appsync.GraphqlType.string(),\n args: {\n argument: appsync.GraphqlType.string(),\n },\n});\nconst type = new appsync.InterfaceType('Node', {\n definition: { test: field },\n});","version":"0"}},"location":{"api":{"api":"type","fqn":"@aws-cdk/aws-appsync.FieldOptions"},"field":{"field":"example"}},"didCompile":true,"fqnsReferenced":["@aws-cdk/aws-appsync.Field","@aws-cdk/aws-appsync.FieldOptions","@aws-cdk/aws-appsync.GraphqlType","@aws-cdk/aws-appsync.GraphqlType#string","@aws-cdk/aws-appsync.IField","@aws-cdk/aws-appsync.InterfaceType","@aws-cdk/aws-appsync.IntermediateTypeOptions"],"fullSource":"// Fixture with packages imported, but nothing else\nimport { Construct } from 'constructs';\nimport { RemovalPolicy, Stack } from '@aws-cdk/core';\nimport appsync = require('@aws-cdk/aws-appsync');\nimport ec2 = require('@aws-cdk/aws-ec2');\nimport dynamodb = require('@aws-cdk/aws-dynamodb');\nimport iam = require('@aws-cdk/aws-iam');\nimport rds = require('@aws-cdk/aws-rds');\nimport path = require('path');\n\nclass Fixture extends Stack {\n constructor(scope: Construct, id: string) {\n super(scope, id);\n // Code snippet begins after !show marker below\n/// !show\nconst field = new appsync.Field({\n returnType: appsync.GraphqlType.string(),\n args: {\n argument: appsync.GraphqlType.string(),\n },\n});\nconst type = new appsync.InterfaceType('Node', {\n definition: { test: field },\n});\n/// !hide\n// Code snippet ended before !hide marker above\n }\n}\n","syntaxKindCounter":{"10":1,"75":18,"193":4,"194":6,"196":2,"197":2,"225":2,"242":2,"243":2,"281":5},"fqnsFingerprint":"689a447780bf905f50587bd20c7a06282f80742220c0d60ad0045ee4785ec834"},"7a88f358fb1821b9002d48215080f04b361effb1a8fe0b075b706df19d75efbf":{"translations":{"python":{"source":"api = appsync.GraphqlApi(self, \"Api\",\n name=\"demo\"\n)\ndemo = appsync.ObjectType(\"Demo\",\n definition={\n \"id\": appsync.GraphqlType.string(is_required=True),\n \"version\": appsync.GraphqlType.string(is_required=True)\n }\n)\n\napi.add_type(demo)","version":"2"},"csharp":{"source":"var api = new GraphqlApi(this, \"Api\", new GraphqlApiProps {\n Name = \"demo\"\n});\nvar demo = new ObjectType(\"Demo\", new ObjectTypeOptions {\n Definition = new Dictionary {\n { \"id\", GraphqlType.String(new BaseTypeOptions { IsRequired = true }) },\n { \"version\", GraphqlType.String(new BaseTypeOptions { IsRequired = true }) }\n }\n});\n\napi.AddType(demo);","version":"1"},"java":{"source":"GraphqlApi api = GraphqlApi.Builder.create(this, \"Api\")\n .name(\"demo\")\n .build();\nObjectType demo = ObjectType.Builder.create(\"Demo\")\n .definition(Map.of(\n \"id\", GraphqlType.string(BaseTypeOptions.builder().isRequired(true).build()),\n \"version\", GraphqlType.string(BaseTypeOptions.builder().isRequired(true).build())))\n .build();\n\napi.addType(demo);","version":"1"},"go":{"source":"api := appsync.NewGraphqlApi(this, jsii.String(\"Api\"), &GraphqlApiProps{\n\tName: jsii.String(\"demo\"),\n})\ndemo := appsync.NewObjectType(jsii.String(\"Demo\"), &ObjectTypeOptions{\n\tDefinition: map[string]iField{\n\t\t\"id\": appsync.GraphqlType_string(&BaseTypeOptions{\n\t\t\t\"isRequired\": jsii.Boolean(true),\n\t\t}),\n\t\t\"version\": appsync.GraphqlType_string(&BaseTypeOptions{\n\t\t\t\"isRequired\": jsii.Boolean(true),\n\t\t}),\n\t},\n})\n\napi.AddType(demo)","version":"1"},"$":{"source":"const api = new appsync.GraphqlApi(this, 'Api', {\n name: 'demo',\n});\nconst demo = new appsync.ObjectType('Demo', {\n definition: {\n id: appsync.GraphqlType.string({ isRequired: true }),\n version: appsync.GraphqlType.string({ isRequired: true }),\n },\n});\n\napi.addType(demo);","version":"0"}},"location":{"api":{"api":"type","fqn":"@aws-cdk/aws-appsync.GraphqlApi"},"field":{"field":"example"}},"didCompile":true,"fqnsReferenced":["@aws-cdk/aws-appsync.BaseTypeOptions","@aws-cdk/aws-appsync.GraphqlApi","@aws-cdk/aws-appsync.GraphqlApi#addType","@aws-cdk/aws-appsync.GraphqlApiProps","@aws-cdk/aws-appsync.GraphqlType","@aws-cdk/aws-appsync.GraphqlType#string","@aws-cdk/aws-appsync.IField","@aws-cdk/aws-appsync.IIntermediateType","@aws-cdk/aws-appsync.ObjectType","@aws-cdk/aws-appsync.ObjectTypeOptions","constructs.Construct"],"fullSource":"// Fixture with packages imported, but nothing else\nimport { Construct } from 'constructs';\nimport { RemovalPolicy, Stack } from '@aws-cdk/core';\nimport appsync = require('@aws-cdk/aws-appsync');\nimport ec2 = require('@aws-cdk/aws-ec2');\nimport dynamodb = require('@aws-cdk/aws-dynamodb');\nimport iam = require('@aws-cdk/aws-iam');\nimport rds = require('@aws-cdk/aws-rds');\nimport path = require('path');\n\nclass Fixture extends Stack {\n constructor(scope: Construct, id: string) {\n super(scope, id);\n // Code snippet begins after !show marker below\n/// !show\nconst api = new appsync.GraphqlApi(this, 'Api', {\n name: 'demo',\n});\nconst demo = new appsync.ObjectType('Demo', {\n definition: {\n id: appsync.GraphqlType.string({ isRequired: true }),\n version: appsync.GraphqlType.string({ isRequired: true }),\n },\n});\n\napi.addType(demo);\n/// !hide\n// Code snippet ended before !hide marker above\n }\n}\n","syntaxKindCounter":{"10":3,"75":21,"104":1,"106":2,"193":5,"194":7,"196":3,"197":2,"225":2,"226":1,"242":2,"243":2,"281":6},"fqnsFingerprint":"132c6bdca9f4c927b0ef0c6be5e65e05310caeec3c1fc813a17fed63547064d6"},"eb9ba9df27294d875b76b70cd522d909a6bfea72cfc651620006c540aa011c3b":{"translations":{"python":{"source":"# api: appsync.GraphqlApi\n# table: dynamodb.Table\n\nimported_api = appsync.GraphqlApi.from_graphql_api_attributes(self, \"IApi\",\n graphql_api_id=api.api_id,\n graphql_api_arn=api.arn\n)\nimported_api.add_dynamo_db_data_source(\"TableDataSource\", table)","version":"2"},"csharp":{"source":"GraphqlApi api;\nTable table;\n\nvar importedApi = GraphqlApi.FromGraphqlApiAttributes(this, \"IApi\", new GraphqlApiAttributes {\n GraphqlApiId = api.ApiId,\n GraphqlApiArn = api.Arn\n});\nimportedApi.AddDynamoDbDataSource(\"TableDataSource\", table);","version":"1"},"java":{"source":"GraphqlApi api;\nTable table;\n\nIGraphqlApi importedApi = GraphqlApi.fromGraphqlApiAttributes(this, \"IApi\", GraphqlApiAttributes.builder()\n .graphqlApiId(api.getApiId())\n .graphqlApiArn(api.getArn())\n .build());\nimportedApi.addDynamoDbDataSource(\"TableDataSource\", table);","version":"1"},"go":{"source":"var api graphqlApi\nvar table table\n\nimportedApi := appsync.graphqlApi_FromGraphqlApiAttributes(this, jsii.String(\"IApi\"), &GraphqlApiAttributes{\n\tGraphqlApiId: api.ApiId,\n\tGraphqlApiArn: api.Arn,\n})\nimportedApi.AddDynamoDbDataSource(jsii.String(\"TableDataSource\"), table)","version":"1"},"$":{"source":"declare const api: appsync.GraphqlApi;\ndeclare const table: dynamodb.Table;\nconst importedApi = appsync.GraphqlApi.fromGraphqlApiAttributes(this, 'IApi', {\n graphqlApiId: api.apiId,\n graphqlApiArn: api.arn,\n});\nimportedApi.addDynamoDbDataSource('TableDataSource', table);","version":"0"}},"location":{"api":{"api":"type","fqn":"@aws-cdk/aws-appsync.GraphqlApiAttributes"},"field":{"field":"example"}},"didCompile":true,"fqnsReferenced":["@aws-cdk/aws-appsync.GraphqlApi","@aws-cdk/aws-appsync.GraphqlApi#apiId","@aws-cdk/aws-appsync.GraphqlApi#arn","@aws-cdk/aws-appsync.GraphqlApi#fromGraphqlApiAttributes","@aws-cdk/aws-appsync.GraphqlApiAttributes","@aws-cdk/aws-appsync.IGraphqlApi","@aws-cdk/aws-appsync.IGraphqlApi#addDynamoDbDataSource","@aws-cdk/aws-dynamodb.ITable","constructs.Construct"],"fullSource":"// Hoisted imports begin after !show marker below\n/// !show\ndeclare const api: appsync.GraphqlApi;\ndeclare const table: dynamodb.Table;\n/// !hide\n// Hoisted imports ended before !hide marker above\n// Fixture with packages imported, but nothing else\nimport { Construct } from 'constructs';\nimport { RemovalPolicy, Stack } from '@aws-cdk/core';\nimport appsync = require('@aws-cdk/aws-appsync');\nimport ec2 = require('@aws-cdk/aws-ec2');\nimport dynamodb = require('@aws-cdk/aws-dynamodb');\nimport iam = require('@aws-cdk/aws-iam');\nimport rds = require('@aws-cdk/aws-rds');\nimport path = require('path');\n\nclass Fixture extends Stack {\n constructor(scope: Construct, id: string) {\n super(scope, id);\n // Code snippet begins after !show marker below\n/// !show\n\nconst importedApi = appsync.GraphqlApi.fromGraphqlApiAttributes(this, 'IApi', {\n graphqlApiId: api.apiId,\n graphqlApiArn: api.arn,\n});\nimportedApi.addDynamoDbDataSource('TableDataSource', table);\n/// !hide\n// Code snippet ended before !hide marker above\n }\n}\n","syntaxKindCounter":{"10":2,"75":19,"104":1,"130":2,"153":2,"169":2,"193":1,"194":5,"196":2,"225":3,"226":1,"242":3,"243":3,"281":2,"290":1},"fqnsFingerprint":"86f7e43e17c9d77ae16481ae83387b53b7e698cdb1178787a886f9bac01fa756"},"cf37021964ad98f78046f4be0d00b65982301f41b553a7097a47f0ead06e562e":{"translations":{"python":{"source":"api = appsync.GraphqlApi(self, \"Api\",\n name=\"demo\"\n)\ndemo = appsync.ObjectType(\"Demo\",\n definition={\n \"id\": appsync.GraphqlType.string(is_required=True),\n \"version\": appsync.GraphqlType.string(is_required=True)\n }\n)\n\napi.add_type(demo)","version":"2"},"csharp":{"source":"var api = new GraphqlApi(this, \"Api\", new GraphqlApiProps {\n Name = \"demo\"\n});\nvar demo = new ObjectType(\"Demo\", new ObjectTypeOptions {\n Definition = new Dictionary {\n { \"id\", GraphqlType.String(new BaseTypeOptions { IsRequired = true }) },\n { \"version\", GraphqlType.String(new BaseTypeOptions { IsRequired = true }) }\n }\n});\n\napi.AddType(demo);","version":"1"},"java":{"source":"GraphqlApi api = GraphqlApi.Builder.create(this, \"Api\")\n .name(\"demo\")\n .build();\nObjectType demo = ObjectType.Builder.create(\"Demo\")\n .definition(Map.of(\n \"id\", GraphqlType.string(BaseTypeOptions.builder().isRequired(true).build()),\n \"version\", GraphqlType.string(BaseTypeOptions.builder().isRequired(true).build())))\n .build();\n\napi.addType(demo);","version":"1"},"go":{"source":"api := appsync.NewGraphqlApi(this, jsii.String(\"Api\"), &GraphqlApiProps{\n\tName: jsii.String(\"demo\"),\n})\ndemo := appsync.NewObjectType(jsii.String(\"Demo\"), &ObjectTypeOptions{\n\tDefinition: map[string]iField{\n\t\t\"id\": appsync.GraphqlType_string(&BaseTypeOptions{\n\t\t\t\"isRequired\": jsii.Boolean(true),\n\t\t}),\n\t\t\"version\": appsync.GraphqlType_string(&BaseTypeOptions{\n\t\t\t\"isRequired\": jsii.Boolean(true),\n\t\t}),\n\t},\n})\n\napi.AddType(demo)","version":"1"},"$":{"source":"const api = new appsync.GraphqlApi(this, 'Api', {\n name: 'demo',\n});\nconst demo = new appsync.ObjectType('Demo', {\n definition: {\n id: appsync.GraphqlType.string({ isRequired: true }),\n version: appsync.GraphqlType.string({ isRequired: true }),\n },\n});\n\napi.addType(demo);","version":"0"}},"location":{"api":{"api":"type","fqn":"@aws-cdk/aws-appsync.GraphqlApiProps"},"field":{"field":"example"}},"didCompile":true,"fqnsReferenced":["@aws-cdk/aws-appsync.BaseTypeOptions","@aws-cdk/aws-appsync.GraphqlApi","@aws-cdk/aws-appsync.GraphqlApi#addType","@aws-cdk/aws-appsync.GraphqlApiProps","@aws-cdk/aws-appsync.GraphqlType","@aws-cdk/aws-appsync.GraphqlType#string","@aws-cdk/aws-appsync.IField","@aws-cdk/aws-appsync.IIntermediateType","@aws-cdk/aws-appsync.ObjectType","@aws-cdk/aws-appsync.ObjectTypeOptions","constructs.Construct"],"fullSource":"// Fixture with packages imported, but nothing else\nimport { Construct } from 'constructs';\nimport { RemovalPolicy, Stack } from '@aws-cdk/core';\nimport appsync = require('@aws-cdk/aws-appsync');\nimport ec2 = require('@aws-cdk/aws-ec2');\nimport dynamodb = require('@aws-cdk/aws-dynamodb');\nimport iam = require('@aws-cdk/aws-iam');\nimport rds = require('@aws-cdk/aws-rds');\nimport path = require('path');\n\nclass Fixture extends Stack {\n constructor(scope: Construct, id: string) {\n super(scope, id);\n // Code snippet begins after !show marker below\n/// !show\nconst api = new appsync.GraphqlApi(this, 'Api', {\n name: 'demo',\n});\nconst demo = new appsync.ObjectType('Demo', {\n definition: {\n id: appsync.GraphqlType.string({ isRequired: true }),\n version: appsync.GraphqlType.string({ isRequired: true }),\n },\n});\n\napi.addType(demo);\n/// !hide\n// Code snippet ended before !hide marker above\n }\n}\n","syntaxKindCounter":{"10":3,"75":21,"104":1,"106":2,"193":5,"194":7,"196":3,"197":2,"225":2,"226":1,"242":2,"243":2,"281":6},"fqnsFingerprint":"132c6bdca9f4c927b0ef0c6be5e65e05310caeec3c1fc813a17fed63547064d6"},"1b859af83e851f129edf6ec04b13a80eaefb8055beb649b634c0cd875ca3ce39":{"translations":{"python":{"source":"# api: appsync.GraphqlApi\n# dummy_request: appsync.MappingTemplate\n# dummy_response: appsync.MappingTemplate\n\ninfo = appsync.ObjectType(\"Info\",\n definition={\n \"node\": appsync.ResolvableField(\n return_type=appsync.GraphqlType.string(),\n args={\n \"id\": appsync.GraphqlType.string()\n },\n data_source=api.add_none_data_source(\"none\"),\n request_mapping_template=dummy_request,\n response_mapping_template=dummy_response\n )\n }\n)","version":"2"},"csharp":{"source":"GraphqlApi api;\nMappingTemplate dummyRequest;\nMappingTemplate dummyResponse;\n\nvar info = new ObjectType(\"Info\", new ObjectTypeOptions {\n Definition = new Dictionary {\n { \"node\", new ResolvableField(new ResolvableFieldOptions {\n ReturnType = GraphqlType.String(),\n Args = new Dictionary {\n { \"id\", GraphqlType.String() }\n },\n DataSource = api.AddNoneDataSource(\"none\"),\n RequestMappingTemplate = dummyRequest,\n ResponseMappingTemplate = dummyResponse\n }) }\n }\n});","version":"1"},"java":{"source":"GraphqlApi api;\nMappingTemplate dummyRequest;\nMappingTemplate dummyResponse;\n\nObjectType info = ObjectType.Builder.create(\"Info\")\n .definition(Map.of(\n \"node\", ResolvableField.Builder.create()\n .returnType(GraphqlType.string())\n .args(Map.of(\n \"id\", GraphqlType.string()))\n .dataSource(api.addNoneDataSource(\"none\"))\n .requestMappingTemplate(dummyRequest)\n .responseMappingTemplate(dummyResponse)\n .build()))\n .build();","version":"1"},"go":{"source":"var api graphqlApi\nvar dummyRequest mappingTemplate\nvar dummyResponse mappingTemplate\n\ninfo := appsync.NewObjectType(jsii.String(\"Info\"), &ObjectTypeOptions{\n\tDefinition: map[string]iField{\n\t\t\"node\": appsync.NewResolvableField(&ResolvableFieldOptions{\n\t\t\t\"returnType\": appsync.GraphqlType_string(),\n\t\t\t\"args\": map[string]GraphqlType{\n\t\t\t\t\"id\": appsync.GraphqlType_string(),\n\t\t\t},\n\t\t\t\"dataSource\": api.addNoneDataSource(jsii.String(\"none\")),\n\t\t\t\"requestMappingTemplate\": dummyRequest,\n\t\t\t\"responseMappingTemplate\": dummyResponse,\n\t\t}),\n\t},\n})","version":"1"},"$":{"source":"declare const api: appsync.GraphqlApi;\ndeclare const dummyRequest: appsync.MappingTemplate;\ndeclare const dummyResponse: appsync.MappingTemplate;\nconst info = new appsync.ObjectType('Info', {\n definition: {\n node: new appsync.ResolvableField({\n returnType: appsync.GraphqlType.string(),\n args: {\n id: appsync.GraphqlType.string(),\n },\n dataSource: api.addNoneDataSource('none'),\n requestMappingTemplate: dummyRequest,\n responseMappingTemplate: dummyResponse,\n }),\n },\n});","version":"0"}},"location":{"api":{"api":"type","fqn":"@aws-cdk/aws-appsync.GraphqlType"},"field":{"field":"example"}},"didCompile":true,"fqnsReferenced":["@aws-cdk/aws-appsync.BaseDataSource","@aws-cdk/aws-appsync.GraphqlApiBase#addNoneDataSource","@aws-cdk/aws-appsync.GraphqlType","@aws-cdk/aws-appsync.GraphqlType#string","@aws-cdk/aws-appsync.IField","@aws-cdk/aws-appsync.MappingTemplate","@aws-cdk/aws-appsync.ObjectType","@aws-cdk/aws-appsync.ObjectTypeOptions","@aws-cdk/aws-appsync.ResolvableField","@aws-cdk/aws-appsync.ResolvableFieldOptions"],"fullSource":"// Hoisted imports begin after !show marker below\n/// !show\ndeclare const api: appsync.GraphqlApi;\ndeclare const dummyRequest: appsync.MappingTemplate;\ndeclare const dummyResponse: appsync.MappingTemplate;\n/// !hide\n// Hoisted imports ended before !hide marker above\n// Fixture with packages imported, but nothing else\nimport { Construct } from 'constructs';\nimport { RemovalPolicy, Stack } from '@aws-cdk/core';\nimport appsync = require('@aws-cdk/aws-appsync');\nimport ec2 = require('@aws-cdk/aws-ec2');\nimport dynamodb = require('@aws-cdk/aws-dynamodb');\nimport iam = require('@aws-cdk/aws-iam');\nimport rds = require('@aws-cdk/aws-rds');\nimport path = require('path');\n\nclass Fixture extends Stack {\n constructor(scope: Construct, id: string) {\n super(scope, id);\n // Code snippet begins after !show marker below\n/// !show\n\nconst info = new appsync.ObjectType('Info', {\n definition: {\n node: new appsync.ResolvableField({\n returnType: appsync.GraphqlType.string(),\n args: {\n id: appsync.GraphqlType.string(),\n },\n dataSource: api.addNoneDataSource('none'),\n requestMappingTemplate: dummyRequest,\n responseMappingTemplate: dummyResponse,\n }),\n },\n});\n/// !hide\n// Code snippet ended before !hide marker above\n }\n}\n","syntaxKindCounter":{"10":2,"75":32,"130":3,"153":3,"169":3,"193":4,"194":7,"196":3,"197":2,"225":4,"242":4,"243":4,"281":8,"290":1},"fqnsFingerprint":"3be3ebaf9507fb3aaab596ab869c6b3d2b14b935150f47b1987de9069d6edd8f"},"e21db36923de4af2d02dbf1da4cf64c486587207ec38813726553685fb76a0ff":{"translations":{"python":{"source":"# The code below shows an example of how to instantiate this type.\n# The values are placeholders you should change.\nimport aws_cdk.aws_appsync as appsync\n\n# intermediate_type: appsync.IIntermediateType\n\ngraphql_type_options = appsync.GraphqlTypeOptions(\n intermediate_type=intermediate_type,\n is_list=False,\n is_required=False,\n is_required_list=False\n)","version":"2"},"csharp":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nusing Amazon.CDK.AWS.AppSync;\n\nIIntermediateType intermediateType;\n\nvar graphqlTypeOptions = new GraphqlTypeOptions {\n IntermediateType = intermediateType,\n IsList = false,\n IsRequired = false,\n IsRequiredList = false\n};","version":"1"},"java":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport software.amazon.awscdk.services.appsync.*;\n\nIIntermediateType intermediateType;\n\nGraphqlTypeOptions graphqlTypeOptions = GraphqlTypeOptions.builder()\n .intermediateType(intermediateType)\n .isList(false)\n .isRequired(false)\n .isRequiredList(false)\n .build();","version":"1"},"go":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport appsync \"github.com/aws-samples/dummy/awscdkawsappsync\"\n\nvar intermediateType iIntermediateType\n\ngraphqlTypeOptions := &GraphqlTypeOptions{\n\tIntermediateType: intermediateType,\n\tIsList: jsii.Boolean(false),\n\tIsRequired: jsii.Boolean(false),\n\tIsRequiredList: jsii.Boolean(false),\n}","version":"1"},"$":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as appsync from '@aws-cdk/aws-appsync';\n\ndeclare const intermediateType: appsync.IIntermediateType;\nconst graphqlTypeOptions: appsync.GraphqlTypeOptions = {\n intermediateType: intermediateType,\n isList: false,\n isRequired: false,\n isRequiredList: false,\n};","version":"0"}},"location":{"api":{"api":"type","fqn":"@aws-cdk/aws-appsync.GraphqlTypeOptions"},"field":{"field":"example"}},"didCompile":true,"fqnsReferenced":["@aws-cdk/aws-appsync.GraphqlTypeOptions","@aws-cdk/aws-appsync.IIntermediateType"],"fullSource":"// Hoisted imports begin after !show marker below\n/// !show\n// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as appsync from '@aws-cdk/aws-appsync';\n\ndeclare const intermediateType: appsync.IIntermediateType;\n/// !hide\n// Hoisted imports ended before !hide marker above\nimport { Construct } from \"@aws-cdk/core\";\nclass MyConstruct extends Construct {\nconstructor(scope: Construct, id: string) {\nsuper(scope, id);\n// Code snippet begins after !show marker below\n/// !show\n\nconst graphqlTypeOptions: appsync.GraphqlTypeOptions = {\n intermediateType: intermediateType,\n isList: false,\n isRequired: false,\n isRequiredList: false,\n};\n/// !hide\n// Code snippet ended before !hide marker above\n} }","syntaxKindCounter":{"10":1,"75":12,"91":3,"130":1,"153":2,"169":2,"193":1,"225":2,"242":2,"243":2,"254":1,"255":1,"256":1,"281":4,"290":1},"fqnsFingerprint":"87c13cd734bc9694f895285778cfb91a3492817c3cf0eb4d842ae9fcd6c42478"},"9688c11ce81c800889100ff83d109fbc2a0b9ef7fc5cb7aee6de207fad6db669":{"translations":{"python":{"source":"api = appsync.GraphqlApi(self, \"api\",\n name=\"api\",\n schema=appsync.Schema.from_asset(path.join(__dirname, \"schema.graphql\"))\n)\n\nhttp_ds = api.add_http_data_source(\"ds\", \"https://states.amazonaws.com\",\n name=\"httpDsWithStepF\",\n description=\"from appsync to StepFunctions Workflow\",\n authorization_config=appsync.AwsIamConfig(\n signing_region=\"us-east-1\",\n signing_service_name=\"states\"\n )\n)\n\nhttp_ds.create_resolver(\n type_name=\"Mutation\",\n field_name=\"callStepFunction\",\n request_mapping_template=appsync.MappingTemplate.from_file(\"request.vtl\"),\n response_mapping_template=appsync.MappingTemplate.from_file(\"response.vtl\")\n)","version":"2"},"csharp":{"source":"var api = new GraphqlApi(this, \"api\", new GraphqlApiProps {\n Name = \"api\",\n Schema = Schema.FromAsset(Join(__dirname, \"schema.graphql\"))\n});\n\nvar httpDs = api.AddHttpDataSource(\"ds\", \"https://states.amazonaws.com\", new HttpDataSourceOptions {\n Name = \"httpDsWithStepF\",\n Description = \"from appsync to StepFunctions Workflow\",\n AuthorizationConfig = new AwsIamConfig {\n SigningRegion = \"us-east-1\",\n SigningServiceName = \"states\"\n }\n});\n\nhttpDs.CreateResolver(new BaseResolverProps {\n TypeName = \"Mutation\",\n FieldName = \"callStepFunction\",\n RequestMappingTemplate = MappingTemplate.FromFile(\"request.vtl\"),\n ResponseMappingTemplate = MappingTemplate.FromFile(\"response.vtl\")\n});","version":"1"},"java":{"source":"GraphqlApi api = GraphqlApi.Builder.create(this, \"api\")\n .name(\"api\")\n .schema(Schema.fromAsset(join(__dirname, \"schema.graphql\")))\n .build();\n\nHttpDataSource httpDs = api.addHttpDataSource(\"ds\", \"https://states.amazonaws.com\", HttpDataSourceOptions.builder()\n .name(\"httpDsWithStepF\")\n .description(\"from appsync to StepFunctions Workflow\")\n .authorizationConfig(AwsIamConfig.builder()\n .signingRegion(\"us-east-1\")\n .signingServiceName(\"states\")\n .build())\n .build());\n\nhttpDs.createResolver(BaseResolverProps.builder()\n .typeName(\"Mutation\")\n .fieldName(\"callStepFunction\")\n .requestMappingTemplate(MappingTemplate.fromFile(\"request.vtl\"))\n .responseMappingTemplate(MappingTemplate.fromFile(\"response.vtl\"))\n .build());","version":"1"},"go":{"source":"api := appsync.NewGraphqlApi(this, jsii.String(\"api\"), &GraphqlApiProps{\n\tName: jsii.String(\"api\"),\n\tSchema: appsync.Schema_FromAsset(path.join(__dirname, jsii.String(\"schema.graphql\"))),\n})\n\nhttpDs := api.AddHttpDataSource(jsii.String(\"ds\"), jsii.String(\"https://states.amazonaws.com\"), &HttpDataSourceOptions{\n\tName: jsii.String(\"httpDsWithStepF\"),\n\tDescription: jsii.String(\"from appsync to StepFunctions Workflow\"),\n\tAuthorizationConfig: &AwsIamConfig{\n\t\tSigningRegion: jsii.String(\"us-east-1\"),\n\t\tSigningServiceName: jsii.String(\"states\"),\n\t},\n})\n\nhttpDs.CreateResolver(&BaseResolverProps{\n\tTypeName: jsii.String(\"Mutation\"),\n\tFieldName: jsii.String(\"callStepFunction\"),\n\tRequestMappingTemplate: appsync.MappingTemplate_FromFile(jsii.String(\"request.vtl\")),\n\tResponseMappingTemplate: appsync.MappingTemplate_*FromFile(jsii.String(\"response.vtl\")),\n})","version":"1"},"$":{"source":"const api = new appsync.GraphqlApi(this, 'api', {\n name: 'api',\n schema: appsync.Schema.fromAsset(path.join(__dirname, 'schema.graphql')),\n});\n\nconst httpDs = api.addHttpDataSource(\n 'ds',\n 'https://states.amazonaws.com',\n {\n name: 'httpDsWithStepF',\n description: 'from appsync to StepFunctions Workflow',\n authorizationConfig: {\n signingRegion: 'us-east-1',\n signingServiceName: 'states',\n }\n }\n);\n\nhttpDs.createResolver({\n typeName: 'Mutation',\n fieldName: 'callStepFunction',\n requestMappingTemplate: appsync.MappingTemplate.fromFile('request.vtl'),\n responseMappingTemplate: appsync.MappingTemplate.fromFile('response.vtl'),\n});","version":"0"}},"location":{"api":{"api":"type","fqn":"@aws-cdk/aws-appsync.HttpDataSource"},"field":{"field":"example"}},"didCompile":true,"fqnsReferenced":["@aws-cdk/aws-appsync.AwsIamConfig","@aws-cdk/aws-appsync.BaseDataSource#createResolver","@aws-cdk/aws-appsync.BaseResolverProps","@aws-cdk/aws-appsync.GraphqlApi","@aws-cdk/aws-appsync.GraphqlApiBase#addHttpDataSource","@aws-cdk/aws-appsync.GraphqlApiProps","@aws-cdk/aws-appsync.HttpDataSource","@aws-cdk/aws-appsync.HttpDataSourceOptions","@aws-cdk/aws-appsync.MappingTemplate","@aws-cdk/aws-appsync.MappingTemplate#fromFile","@aws-cdk/aws-appsync.Schema","@aws-cdk/aws-appsync.Schema#fromAsset","constructs.Construct"],"fullSource":"// Fixture with packages imported, but nothing else\nimport { Construct } from 'constructs';\nimport { RemovalPolicy, Stack } from '@aws-cdk/core';\nimport appsync = require('@aws-cdk/aws-appsync');\nimport ec2 = require('@aws-cdk/aws-ec2');\nimport dynamodb = require('@aws-cdk/aws-dynamodb');\nimport iam = require('@aws-cdk/aws-iam');\nimport rds = require('@aws-cdk/aws-rds');\nimport path = require('path');\n\nclass Fixture extends Stack {\n constructor(scope: Construct, id: string) {\n super(scope, id);\n // Code snippet begins after !show marker below\n/// !show\nconst api = new appsync.GraphqlApi(this, 'api', {\n name: 'api',\n schema: appsync.Schema.fromAsset(path.join(__dirname, 'schema.graphql')),\n});\n\nconst httpDs = api.addHttpDataSource(\n 'ds',\n 'https://states.amazonaws.com',\n {\n name: 'httpDsWithStepF',\n description: 'from appsync to StepFunctions Workflow',\n authorizationConfig: {\n signingRegion: 'us-east-1',\n signingServiceName: 'states',\n }\n }\n);\n\nhttpDs.createResolver({\n typeName: 'Mutation',\n fieldName: 'callStepFunction',\n requestMappingTemplate: appsync.MappingTemplate.fromFile('request.vtl'),\n responseMappingTemplate: appsync.MappingTemplate.fromFile('response.vtl'),\n});\n/// !hide\n// Code snippet ended before !hide marker above\n }\n}\n","syntaxKindCounter":{"10":13,"75":31,"104":1,"193":4,"194":10,"196":6,"197":1,"225":2,"226":1,"242":2,"243":2,"281":11},"fqnsFingerprint":"795f1a985c589204be96efdf628b1bcbf6022ec5528223be236f8b56402cd9dc"},"ba3a03ed82097fa17490c0250094448beae7a0846577c7e9a3b209be7980f953":{"translations":{"python":{"source":"api = appsync.GraphqlApi(self, \"api\",\n name=\"api\",\n schema=appsync.Schema.from_asset(path.join(__dirname, \"schema.graphql\"))\n)\n\nhttp_ds = api.add_http_data_source(\"ds\", \"https://states.amazonaws.com\",\n name=\"httpDsWithStepF\",\n description=\"from appsync to StepFunctions Workflow\",\n authorization_config=appsync.AwsIamConfig(\n signing_region=\"us-east-1\",\n signing_service_name=\"states\"\n )\n)\n\nhttp_ds.create_resolver(\n type_name=\"Mutation\",\n field_name=\"callStepFunction\",\n request_mapping_template=appsync.MappingTemplate.from_file(\"request.vtl\"),\n response_mapping_template=appsync.MappingTemplate.from_file(\"response.vtl\")\n)","version":"2"},"csharp":{"source":"var api = new GraphqlApi(this, \"api\", new GraphqlApiProps {\n Name = \"api\",\n Schema = Schema.FromAsset(Join(__dirname, \"schema.graphql\"))\n});\n\nvar httpDs = api.AddHttpDataSource(\"ds\", \"https://states.amazonaws.com\", new HttpDataSourceOptions {\n Name = \"httpDsWithStepF\",\n Description = \"from appsync to StepFunctions Workflow\",\n AuthorizationConfig = new AwsIamConfig {\n SigningRegion = \"us-east-1\",\n SigningServiceName = \"states\"\n }\n});\n\nhttpDs.CreateResolver(new BaseResolverProps {\n TypeName = \"Mutation\",\n FieldName = \"callStepFunction\",\n RequestMappingTemplate = MappingTemplate.FromFile(\"request.vtl\"),\n ResponseMappingTemplate = MappingTemplate.FromFile(\"response.vtl\")\n});","version":"1"},"java":{"source":"GraphqlApi api = GraphqlApi.Builder.create(this, \"api\")\n .name(\"api\")\n .schema(Schema.fromAsset(join(__dirname, \"schema.graphql\")))\n .build();\n\nHttpDataSource httpDs = api.addHttpDataSource(\"ds\", \"https://states.amazonaws.com\", HttpDataSourceOptions.builder()\n .name(\"httpDsWithStepF\")\n .description(\"from appsync to StepFunctions Workflow\")\n .authorizationConfig(AwsIamConfig.builder()\n .signingRegion(\"us-east-1\")\n .signingServiceName(\"states\")\n .build())\n .build());\n\nhttpDs.createResolver(BaseResolverProps.builder()\n .typeName(\"Mutation\")\n .fieldName(\"callStepFunction\")\n .requestMappingTemplate(MappingTemplate.fromFile(\"request.vtl\"))\n .responseMappingTemplate(MappingTemplate.fromFile(\"response.vtl\"))\n .build());","version":"1"},"go":{"source":"api := appsync.NewGraphqlApi(this, jsii.String(\"api\"), &GraphqlApiProps{\n\tName: jsii.String(\"api\"),\n\tSchema: appsync.Schema_FromAsset(path.join(__dirname, jsii.String(\"schema.graphql\"))),\n})\n\nhttpDs := api.AddHttpDataSource(jsii.String(\"ds\"), jsii.String(\"https://states.amazonaws.com\"), &HttpDataSourceOptions{\n\tName: jsii.String(\"httpDsWithStepF\"),\n\tDescription: jsii.String(\"from appsync to StepFunctions Workflow\"),\n\tAuthorizationConfig: &AwsIamConfig{\n\t\tSigningRegion: jsii.String(\"us-east-1\"),\n\t\tSigningServiceName: jsii.String(\"states\"),\n\t},\n})\n\nhttpDs.CreateResolver(&BaseResolverProps{\n\tTypeName: jsii.String(\"Mutation\"),\n\tFieldName: jsii.String(\"callStepFunction\"),\n\tRequestMappingTemplate: appsync.MappingTemplate_FromFile(jsii.String(\"request.vtl\")),\n\tResponseMappingTemplate: appsync.MappingTemplate_*FromFile(jsii.String(\"response.vtl\")),\n})","version":"1"},"$":{"source":"const api = new appsync.GraphqlApi(this, 'api', {\n name: 'api',\n schema: appsync.Schema.fromAsset(path.join(__dirname, 'schema.graphql')),\n});\n\nconst httpDs = api.addHttpDataSource(\n 'ds',\n 'https://states.amazonaws.com',\n {\n name: 'httpDsWithStepF',\n description: 'from appsync to StepFunctions Workflow',\n authorizationConfig: {\n signingRegion: 'us-east-1',\n signingServiceName: 'states',\n }\n }\n);\n\nhttpDs.createResolver({\n typeName: 'Mutation',\n fieldName: 'callStepFunction',\n requestMappingTemplate: appsync.MappingTemplate.fromFile('request.vtl'),\n responseMappingTemplate: appsync.MappingTemplate.fromFile('response.vtl'),\n});","version":"0"}},"location":{"api":{"api":"type","fqn":"@aws-cdk/aws-appsync.HttpDataSourceOptions"},"field":{"field":"example"}},"didCompile":true,"fqnsReferenced":["@aws-cdk/aws-appsync.AwsIamConfig","@aws-cdk/aws-appsync.BaseDataSource#createResolver","@aws-cdk/aws-appsync.BaseResolverProps","@aws-cdk/aws-appsync.GraphqlApi","@aws-cdk/aws-appsync.GraphqlApiBase#addHttpDataSource","@aws-cdk/aws-appsync.GraphqlApiProps","@aws-cdk/aws-appsync.HttpDataSource","@aws-cdk/aws-appsync.HttpDataSourceOptions","@aws-cdk/aws-appsync.MappingTemplate","@aws-cdk/aws-appsync.MappingTemplate#fromFile","@aws-cdk/aws-appsync.Schema","@aws-cdk/aws-appsync.Schema#fromAsset","constructs.Construct"],"fullSource":"// Fixture with packages imported, but nothing else\nimport { Construct } from 'constructs';\nimport { RemovalPolicy, Stack } from '@aws-cdk/core';\nimport appsync = require('@aws-cdk/aws-appsync');\nimport ec2 = require('@aws-cdk/aws-ec2');\nimport dynamodb = require('@aws-cdk/aws-dynamodb');\nimport iam = require('@aws-cdk/aws-iam');\nimport rds = require('@aws-cdk/aws-rds');\nimport path = require('path');\n\nclass Fixture extends Stack {\n constructor(scope: Construct, id: string) {\n super(scope, id);\n // Code snippet begins after !show marker below\n/// !show\nconst api = new appsync.GraphqlApi(this, 'api', {\n name: 'api',\n schema: appsync.Schema.fromAsset(path.join(__dirname, 'schema.graphql')),\n});\n\nconst httpDs = api.addHttpDataSource(\n 'ds',\n 'https://states.amazonaws.com',\n {\n name: 'httpDsWithStepF',\n description: 'from appsync to StepFunctions Workflow',\n authorizationConfig: {\n signingRegion: 'us-east-1',\n signingServiceName: 'states',\n }\n }\n);\n\nhttpDs.createResolver({\n typeName: 'Mutation',\n fieldName: 'callStepFunction',\n requestMappingTemplate: appsync.MappingTemplate.fromFile('request.vtl'),\n responseMappingTemplate: appsync.MappingTemplate.fromFile('response.vtl'),\n});\n/// !hide\n// Code snippet ended before !hide marker above\n }\n}\n","syntaxKindCounter":{"10":13,"75":31,"104":1,"193":4,"194":10,"196":6,"197":1,"225":2,"226":1,"242":2,"243":2,"281":11},"fqnsFingerprint":"795f1a985c589204be96efdf628b1bcbf6022ec5528223be236f8b56402cd9dc"},"890a6bb2d98fd26b00b0181a922d195df1d269fcb539db6d66dc181b879722a3":{"translations":{"python":{"source":"# The code below shows an example of how to instantiate this type.\n# The values are placeholders you should change.\nimport aws_cdk.aws_appsync as appsync\n\n# graphql_api: appsync.GraphqlApi\n\nhttp_data_source_props = appsync.HttpDataSourceProps(\n api=graphql_api,\n endpoint=\"endpoint\",\n\n # the properties below are optional\n authorization_config=appsync.AwsIamConfig(\n signing_region=\"signingRegion\",\n signing_service_name=\"signingServiceName\"\n ),\n description=\"description\",\n name=\"name\"\n)","version":"2"},"csharp":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nusing Amazon.CDK.AWS.AppSync;\n\nGraphqlApi graphqlApi;\n\nvar httpDataSourceProps = new HttpDataSourceProps {\n Api = graphqlApi,\n Endpoint = \"endpoint\",\n\n // the properties below are optional\n AuthorizationConfig = new AwsIamConfig {\n SigningRegion = \"signingRegion\",\n SigningServiceName = \"signingServiceName\"\n },\n Description = \"description\",\n Name = \"name\"\n};","version":"1"},"java":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport software.amazon.awscdk.services.appsync.*;\n\nGraphqlApi graphqlApi;\n\nHttpDataSourceProps httpDataSourceProps = HttpDataSourceProps.builder()\n .api(graphqlApi)\n .endpoint(\"endpoint\")\n\n // the properties below are optional\n .authorizationConfig(AwsIamConfig.builder()\n .signingRegion(\"signingRegion\")\n .signingServiceName(\"signingServiceName\")\n .build())\n .description(\"description\")\n .name(\"name\")\n .build();","version":"1"},"go":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport appsync \"github.com/aws-samples/dummy/awscdkawsappsync\"\n\nvar graphqlApi graphqlApi\n\nhttpDataSourceProps := &HttpDataSourceProps{\n\tApi: graphqlApi,\n\tEndpoint: jsii.String(\"endpoint\"),\n\n\t// the properties below are optional\n\tAuthorizationConfig: &AwsIamConfig{\n\t\tSigningRegion: jsii.String(\"signingRegion\"),\n\t\tSigningServiceName: jsii.String(\"signingServiceName\"),\n\t},\n\tDescription: jsii.String(\"description\"),\n\tName: jsii.String(\"name\"),\n}","version":"1"},"$":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as appsync from '@aws-cdk/aws-appsync';\n\ndeclare const graphqlApi: appsync.GraphqlApi;\nconst httpDataSourceProps: appsync.HttpDataSourceProps = {\n api: graphqlApi,\n endpoint: 'endpoint',\n\n // the properties below are optional\n authorizationConfig: {\n signingRegion: 'signingRegion',\n signingServiceName: 'signingServiceName',\n },\n description: 'description',\n name: 'name',\n};","version":"0"}},"location":{"api":{"api":"type","fqn":"@aws-cdk/aws-appsync.HttpDataSourceProps"},"field":{"field":"example"}},"didCompile":true,"fqnsReferenced":["@aws-cdk/aws-appsync.AwsIamConfig","@aws-cdk/aws-appsync.HttpDataSourceProps","@aws-cdk/aws-appsync.IGraphqlApi"],"fullSource":"// Hoisted imports begin after !show marker below\n/// !show\n// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as appsync from '@aws-cdk/aws-appsync';\n\ndeclare const graphqlApi: appsync.GraphqlApi;\n/// !hide\n// Hoisted imports ended before !hide marker above\nimport { Construct } from \"@aws-cdk/core\";\nclass MyConstruct extends Construct {\nconstructor(scope: Construct, id: string) {\nsuper(scope, id);\n// Code snippet begins after !show marker below\n/// !show\n\nconst httpDataSourceProps: appsync.HttpDataSourceProps = {\n api: graphqlApi,\n endpoint: 'endpoint',\n\n // the properties below are optional\n authorizationConfig: {\n signingRegion: 'signingRegion',\n signingServiceName: 'signingServiceName',\n },\n description: 'description',\n name: 'name',\n};\n/// !hide\n// Code snippet ended before !hide marker above\n} }","syntaxKindCounter":{"10":6,"75":15,"130":1,"153":2,"169":2,"193":2,"225":2,"242":2,"243":2,"254":1,"255":1,"256":1,"281":7,"290":1},"fqnsFingerprint":"ab61280e2ad2cc3a34dc9e7ff81ada1e3afa7aa06210d348905ea6f42286a0b0"},"bbfd80bde44d8b30bb3b2a61fa15b9752d217528530ed9766fe56dc44a6a2bee":{"translations":{"python":{"source":"# api: appsync.GraphqlApi\nrole = iam.Role(self, \"Role\",\n assumed_by=iam.ServicePrincipal(\"lambda.amazonaws.com\")\n)\n\napi.grant(role, appsync.IamResource.custom(\"types/Mutation/fields/updateExample\"), \"appsync:GraphQL\")","version":"2"},"csharp":{"source":"GraphqlApi api;\nvar role = new Role(this, \"Role\", new RoleProps {\n AssumedBy = new ServicePrincipal(\"lambda.amazonaws.com\")\n});\n\napi.Grant(role, IamResource.Custom(\"types/Mutation/fields/updateExample\"), \"appsync:GraphQL\");","version":"1"},"java":{"source":"GraphqlApi api;\nRole role = Role.Builder.create(this, \"Role\")\n .assumedBy(new ServicePrincipal(\"lambda.amazonaws.com\"))\n .build();\n\napi.grant(role, IamResource.custom(\"types/Mutation/fields/updateExample\"), \"appsync:GraphQL\");","version":"1"},"go":{"source":"var api graphqlApi\nrole := iam.NewRole(this, jsii.String(\"Role\"), &RoleProps{\n\tAssumedBy: iam.NewServicePrincipal(jsii.String(\"lambda.amazonaws.com\")),\n})\n\napi.Grant(role, appsync.IamResource_Custom(jsii.String(\"types/Mutation/fields/updateExample\")), jsii.String(\"appsync:GraphQL\"))","version":"1"},"$":{"source":"const role = new iam.Role(this, 'Role', {\n assumedBy: new iam.ServicePrincipal('lambda.amazonaws.com'),\n});\ndeclare const api: appsync.GraphqlApi;\n\napi.grant(role, appsync.IamResource.custom('types/Mutation/fields/updateExample'), 'appsync:GraphQL');","version":"0"}},"location":{"api":{"api":"type","fqn":"@aws-cdk/aws-appsync.IamResource"},"field":{"field":"example"}},"didCompile":true,"fqnsReferenced":["@aws-cdk/aws-appsync.GraphqlApi#grant","@aws-cdk/aws-appsync.IamResource","@aws-cdk/aws-appsync.IamResource#custom","@aws-cdk/aws-iam.IGrantable","@aws-cdk/aws-iam.IPrincipal","@aws-cdk/aws-iam.Role","@aws-cdk/aws-iam.RoleProps","@aws-cdk/aws-iam.ServicePrincipal","constructs.Construct"],"fullSource":"// Hoisted imports begin after !show marker below\n/// !show\n\ndeclare const api: appsync.GraphqlApi;\n/// !hide\n// Hoisted imports ended before !hide marker above\n// Fixture with packages imported, but nothing else\nimport { Construct } from 'constructs';\nimport { RemovalPolicy, Stack } from '@aws-cdk/core';\nimport appsync = require('@aws-cdk/aws-appsync');\nimport ec2 = require('@aws-cdk/aws-ec2');\nimport dynamodb = require('@aws-cdk/aws-dynamodb');\nimport iam = require('@aws-cdk/aws-iam');\nimport rds = require('@aws-cdk/aws-rds');\nimport path = require('path');\n\nclass Fixture extends Stack {\n constructor(scope: Construct, id: string) {\n super(scope, id);\n // Code snippet begins after !show marker below\n/// !show\nconst role = new iam.Role(this, 'Role', {\n assumedBy: new iam.ServicePrincipal('lambda.amazonaws.com'),\n});\n\napi.grant(role, appsync.IamResource.custom('types/Mutation/fields/updateExample'), 'appsync:GraphQL');\n/// !hide\n// Code snippet ended before !hide marker above\n }\n}\n","syntaxKindCounter":{"10":4,"75":15,"104":1,"130":1,"153":1,"169":1,"193":1,"194":5,"196":2,"197":2,"225":2,"226":1,"242":2,"243":2,"281":1,"290":1},"fqnsFingerprint":"1318c205319495115917d408fa5fa1fb01ee41c9821b0eec0fb2c90f6f01bd71"},"74578b1adcc6c7ddea3bfbe60d69d9791957cc150cfcc5f023938a70f330afc8":{"translations":{"python":{"source":"# api: appsync.GraphqlApi\n\nreview = appsync.InputType(\"Review\",\n definition={\n \"stars\": appsync.GraphqlType.int(is_required=True),\n \"commentary\": appsync.GraphqlType.string()\n }\n)\napi.add_type(review)","version":"2"},"csharp":{"source":"GraphqlApi api;\n\nvar review = new InputType(\"Review\", new IntermediateTypeOptions {\n Definition = new Dictionary {\n { \"stars\", GraphqlType.Int(new BaseTypeOptions { IsRequired = true }) },\n { \"commentary\", GraphqlType.String() }\n }\n});\napi.AddType(review);","version":"1"},"java":{"source":"GraphqlApi api;\n\nInputType review = InputType.Builder.create(\"Review\")\n .definition(Map.of(\n \"stars\", GraphqlType.int(BaseTypeOptions.builder().isRequired(true).build()),\n \"commentary\", GraphqlType.string()))\n .build();\napi.addType(review);","version":"1"},"go":{"source":"var api graphqlApi\n\nreview := appsync.NewInputType(jsii.String(\"Review\"), &IntermediateTypeOptions{\n\tDefinition: map[string]iField{\n\t\t\"stars\": appsync.GraphqlType_int(&BaseTypeOptions{\n\t\t\t\"isRequired\": jsii.Boolean(true),\n\t\t}),\n\t\t\"commentary\": appsync.GraphqlType_string(),\n\t},\n})\napi.AddType(review)","version":"1"},"$":{"source":"declare const api: appsync.GraphqlApi;\nconst review = new appsync.InputType('Review', {\n definition: {\n stars: appsync.GraphqlType.int({ isRequired: true }),\n commentary: appsync.GraphqlType.string(),\n },\n});\napi.addType(review);","version":"0"}},"location":{"api":{"api":"type","fqn":"@aws-cdk/aws-appsync.InputType"},"field":{"field":"example"}},"didCompile":true,"fqnsReferenced":["@aws-cdk/aws-appsync.BaseTypeOptions","@aws-cdk/aws-appsync.GraphqlApi#addType","@aws-cdk/aws-appsync.GraphqlType","@aws-cdk/aws-appsync.GraphqlType#int","@aws-cdk/aws-appsync.GraphqlType#string","@aws-cdk/aws-appsync.IField","@aws-cdk/aws-appsync.IIntermediateType","@aws-cdk/aws-appsync.InputType","@aws-cdk/aws-appsync.IntermediateTypeOptions"],"fullSource":"// Hoisted imports begin after !show marker below\n/// !show\ndeclare const api: appsync.GraphqlApi;\n/// !hide\n// Hoisted imports ended before !hide marker above\n// Fixture with packages imported, but nothing else\nimport { Construct } from 'constructs';\nimport { RemovalPolicy, Stack } from '@aws-cdk/core';\nimport appsync = require('@aws-cdk/aws-appsync');\nimport ec2 = require('@aws-cdk/aws-ec2');\nimport dynamodb = require('@aws-cdk/aws-dynamodb');\nimport iam = require('@aws-cdk/aws-iam');\nimport rds = require('@aws-cdk/aws-rds');\nimport path = require('path');\n\nclass Fixture extends Stack {\n constructor(scope: Construct, id: string) {\n super(scope, id);\n // Code snippet begins after !show marker below\n/// !show\n\nconst review = new appsync.InputType('Review', {\n definition: {\n stars: appsync.GraphqlType.int({ isRequired: true }),\n commentary: appsync.GraphqlType.string(),\n },\n});\napi.addType(review);\n/// !hide\n// Code snippet ended before !hide marker above\n }\n}\n","syntaxKindCounter":{"10":1,"75":19,"106":1,"130":1,"153":1,"169":1,"193":3,"194":6,"196":3,"197":1,"225":2,"226":1,"242":2,"243":2,"281":4,"290":1},"fqnsFingerprint":"aac52d4f130f5e71ccf8150ec132ddf7f790f201aec5b2f0f67ccf1f95c8020f"},"032eeb43b32ad87f97e344244dc47fb5dfd3559bb9a1c2419d243b71e933b5aa":{"translations":{"python":{"source":"node = appsync.InterfaceType(\"Node\",\n definition={\n \"id\": appsync.GraphqlType.string(is_required=True)\n }\n)\ndemo = appsync.ObjectType(\"Demo\",\n interface_types=[node],\n definition={\n \"version\": appsync.GraphqlType.string(is_required=True)\n }\n)","version":"2"},"csharp":{"source":"var node = new InterfaceType(\"Node\", new IntermediateTypeOptions {\n Definition = new Dictionary {\n { \"id\", GraphqlType.String(new BaseTypeOptions { IsRequired = true }) }\n }\n});\nvar demo = new ObjectType(\"Demo\", new ObjectTypeOptions {\n InterfaceTypes = new [] { node },\n Definition = new Dictionary {\n { \"version\", GraphqlType.String(new BaseTypeOptions { IsRequired = true }) }\n }\n});","version":"1"},"java":{"source":"InterfaceType node = InterfaceType.Builder.create(\"Node\")\n .definition(Map.of(\n \"id\", GraphqlType.string(BaseTypeOptions.builder().isRequired(true).build())))\n .build();\nObjectType demo = ObjectType.Builder.create(\"Demo\")\n .interfaceTypes(List.of(node))\n .definition(Map.of(\n \"version\", GraphqlType.string(BaseTypeOptions.builder().isRequired(true).build())))\n .build();","version":"1"},"go":{"source":"node := appsync.NewInterfaceType(jsii.String(\"Node\"), &IntermediateTypeOptions{\n\tDefinition: map[string]iField{\n\t\t\"id\": appsync.GraphqlType_string(&BaseTypeOptions{\n\t\t\t\"isRequired\": jsii.Boolean(true),\n\t\t}),\n\t},\n})\ndemo := appsync.NewObjectType(jsii.String(\"Demo\"), &ObjectTypeOptions{\n\tInterfaceTypes: []interfaceType{\n\t\tnode,\n\t},\n\tDefinition: map[string]*iField{\n\t\t\"version\": appsync.GraphqlType_string(&BaseTypeOptions{\n\t\t\t\"isRequired\": jsii.Boolean(true),\n\t\t}),\n\t},\n})","version":"1"},"$":{"source":"const node = new appsync.InterfaceType('Node', {\n definition: {\n id: appsync.GraphqlType.string({ isRequired: true }),\n },\n});\nconst demo = new appsync.ObjectType('Demo', {\n interfaceTypes: [ node ],\n definition: {\n version: appsync.GraphqlType.string({ isRequired: true }),\n },\n});","version":"0"}},"location":{"api":{"api":"type","fqn":"@aws-cdk/aws-appsync.InterfaceType"},"field":{"field":"example"}},"didCompile":true,"fqnsReferenced":["@aws-cdk/aws-appsync.BaseTypeOptions","@aws-cdk/aws-appsync.GraphqlType","@aws-cdk/aws-appsync.GraphqlType#string","@aws-cdk/aws-appsync.IField","@aws-cdk/aws-appsync.InterfaceType","@aws-cdk/aws-appsync.IntermediateTypeOptions","@aws-cdk/aws-appsync.ObjectType","@aws-cdk/aws-appsync.ObjectTypeOptions"],"fullSource":"// Fixture with packages imported, but nothing else\nimport { Construct } from 'constructs';\nimport { RemovalPolicy, Stack } from '@aws-cdk/core';\nimport appsync = require('@aws-cdk/aws-appsync');\nimport ec2 = require('@aws-cdk/aws-ec2');\nimport dynamodb = require('@aws-cdk/aws-dynamodb');\nimport iam = require('@aws-cdk/aws-iam');\nimport rds = require('@aws-cdk/aws-rds');\nimport path = require('path');\n\nclass Fixture extends Stack {\n constructor(scope: Construct, id: string) {\n super(scope, id);\n // Code snippet begins after !show marker below\n/// !show\nconst node = new appsync.InterfaceType('Node', {\n definition: {\n id: appsync.GraphqlType.string({ isRequired: true }),\n },\n});\nconst demo = new appsync.ObjectType('Demo', {\n interfaceTypes: [ node ],\n definition: {\n version: appsync.GraphqlType.string({ isRequired: true }),\n },\n});\n/// !hide\n// Code snippet ended before !hide marker above\n }\n}\n","syntaxKindCounter":{"10":2,"75":20,"106":2,"192":1,"193":6,"194":6,"196":2,"197":2,"225":2,"242":2,"243":2,"281":7},"fqnsFingerprint":"7feab7ba7c19c73e0b1aea4e9bf2773c306762044c0f29d4d010462b4fe8b938"},"ddacc8dbef132f0751bb1dc077c9cf59bec609902fe8f9e321b78462772c4188":{"translations":{"python":{"source":"node = appsync.InterfaceType(\"Node\",\n definition={\n \"id\": appsync.GraphqlType.string(is_required=True)\n }\n)\ndemo = appsync.ObjectType(\"Demo\",\n interface_types=[node],\n definition={\n \"version\": appsync.GraphqlType.string(is_required=True)\n }\n)","version":"2"},"csharp":{"source":"var node = new InterfaceType(\"Node\", new IntermediateTypeOptions {\n Definition = new Dictionary {\n { \"id\", GraphqlType.String(new BaseTypeOptions { IsRequired = true }) }\n }\n});\nvar demo = new ObjectType(\"Demo\", new ObjectTypeOptions {\n InterfaceTypes = new [] { node },\n Definition = new Dictionary {\n { \"version\", GraphqlType.String(new BaseTypeOptions { IsRequired = true }) }\n }\n});","version":"1"},"java":{"source":"InterfaceType node = InterfaceType.Builder.create(\"Node\")\n .definition(Map.of(\n \"id\", GraphqlType.string(BaseTypeOptions.builder().isRequired(true).build())))\n .build();\nObjectType demo = ObjectType.Builder.create(\"Demo\")\n .interfaceTypes(List.of(node))\n .definition(Map.of(\n \"version\", GraphqlType.string(BaseTypeOptions.builder().isRequired(true).build())))\n .build();","version":"1"},"go":{"source":"node := appsync.NewInterfaceType(jsii.String(\"Node\"), &IntermediateTypeOptions{\n\tDefinition: map[string]iField{\n\t\t\"id\": appsync.GraphqlType_string(&BaseTypeOptions{\n\t\t\t\"isRequired\": jsii.Boolean(true),\n\t\t}),\n\t},\n})\ndemo := appsync.NewObjectType(jsii.String(\"Demo\"), &ObjectTypeOptions{\n\tInterfaceTypes: []interfaceType{\n\t\tnode,\n\t},\n\tDefinition: map[string]*iField{\n\t\t\"version\": appsync.GraphqlType_string(&BaseTypeOptions{\n\t\t\t\"isRequired\": jsii.Boolean(true),\n\t\t}),\n\t},\n})","version":"1"},"$":{"source":"const node = new appsync.InterfaceType('Node', {\n definition: {\n id: appsync.GraphqlType.string({ isRequired: true }),\n },\n});\nconst demo = new appsync.ObjectType('Demo', {\n interfaceTypes: [ node ],\n definition: {\n version: appsync.GraphqlType.string({ isRequired: true }),\n },\n});","version":"0"}},"location":{"api":{"api":"type","fqn":"@aws-cdk/aws-appsync.IntermediateTypeOptions"},"field":{"field":"example"}},"didCompile":true,"fqnsReferenced":["@aws-cdk/aws-appsync.BaseTypeOptions","@aws-cdk/aws-appsync.GraphqlType","@aws-cdk/aws-appsync.GraphqlType#string","@aws-cdk/aws-appsync.IField","@aws-cdk/aws-appsync.InterfaceType","@aws-cdk/aws-appsync.IntermediateTypeOptions","@aws-cdk/aws-appsync.ObjectType","@aws-cdk/aws-appsync.ObjectTypeOptions"],"fullSource":"// Fixture with packages imported, but nothing else\nimport { Construct } from 'constructs';\nimport { RemovalPolicy, Stack } from '@aws-cdk/core';\nimport appsync = require('@aws-cdk/aws-appsync');\nimport ec2 = require('@aws-cdk/aws-ec2');\nimport dynamodb = require('@aws-cdk/aws-dynamodb');\nimport iam = require('@aws-cdk/aws-iam');\nimport rds = require('@aws-cdk/aws-rds');\nimport path = require('path');\n\nclass Fixture extends Stack {\n constructor(scope: Construct, id: string) {\n super(scope, id);\n // Code snippet begins after !show marker below\n/// !show\nconst node = new appsync.InterfaceType('Node', {\n definition: {\n id: appsync.GraphqlType.string({ isRequired: true }),\n },\n});\nconst demo = new appsync.ObjectType('Demo', {\n interfaceTypes: [ node ],\n definition: {\n version: appsync.GraphqlType.string({ isRequired: true }),\n },\n});\n/// !hide\n// Code snippet ended before !hide marker above\n }\n}\n","syntaxKindCounter":{"10":2,"75":20,"106":2,"192":1,"193":6,"194":6,"196":2,"197":2,"225":2,"242":2,"243":2,"281":7},"fqnsFingerprint":"7feab7ba7c19c73e0b1aea4e9bf2773c306762044c0f29d4d010462b4fe8b938"},"740bda0c04f6a34153fde5b43544da01e3dc096de49c15eff86a9e55ab86b1b4":{"translations":{"python":{"source":"# The code below shows an example of how to instantiate this type.\n# The values are placeholders you should change.\nimport aws_cdk.aws_appsync as appsync\n\nkey_condition = appsync.KeyCondition.begins_with(\"keyName\", \"arg\")","version":"2"},"csharp":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nusing Amazon.CDK.AWS.AppSync;\n\nvar keyCondition = KeyCondition.BeginsWith(\"keyName\", \"arg\");","version":"1"},"java":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport software.amazon.awscdk.services.appsync.*;\n\nKeyCondition keyCondition = KeyCondition.beginsWith(\"keyName\", \"arg\");","version":"1"},"go":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport appsync \"github.com/aws-samples/dummy/awscdkawsappsync\"\n\nkeyCondition := appsync.KeyCondition_BeginsWith(jsii.String(\"keyName\"), jsii.String(\"arg\"))","version":"1"},"$":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as appsync from '@aws-cdk/aws-appsync';\nconst keyCondition = appsync.KeyCondition.beginsWith('keyName', 'arg');","version":"0"}},"location":{"api":{"api":"type","fqn":"@aws-cdk/aws-appsync.KeyCondition"},"field":{"field":"example"}},"didCompile":true,"fqnsReferenced":["@aws-cdk/aws-appsync.KeyCondition","@aws-cdk/aws-appsync.KeyCondition#beginsWith"],"fullSource":"// Hoisted imports begin after !show marker below\n/// !show\n// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as appsync from '@aws-cdk/aws-appsync';\n/// !hide\n// Hoisted imports ended before !hide marker above\nimport { Construct } from \"@aws-cdk/core\";\nclass MyConstruct extends Construct {\nconstructor(scope: Construct, id: string) {\nsuper(scope, id);\n// Code snippet begins after !show marker below\n/// !show\n\nconst keyCondition = appsync.KeyCondition.beginsWith('keyName', 'arg');\n/// !hide\n// Code snippet ended before !hide marker above\n} }","syntaxKindCounter":{"10":3,"75":5,"194":2,"196":1,"225":1,"242":1,"243":1,"254":1,"255":1,"256":1,"290":1},"fqnsFingerprint":"d854a3be9204906e2510f310a0ca418693737591ede0112a140c6edd7d4cf139"},"c84e41027bfa0015d9a45a44a970a496ce70da97cbb6b82550d23b43bdf5e3f0":{"translations":{"python":{"source":"import aws_cdk.aws_lambda as lambda_\n# auth_function: lambda.Function\n\n\nappsync.GraphqlApi(self, \"api\",\n name=\"api\",\n schema=appsync.Schema.from_asset(path.join(__dirname, \"appsync.test.graphql\")),\n authorization_config=appsync.AuthorizationConfig(\n default_authorization=appsync.AuthorizationMode(\n authorization_type=appsync.AuthorizationType.LAMBDA,\n lambda_authorizer_config=appsync.LambdaAuthorizerConfig(\n handler=auth_function\n )\n )\n )\n)","version":"2"},"csharp":{"source":"using Amazon.CDK.AWS.Lambda;\nFunction authFunction;\n\n\nnew GraphqlApi(this, \"api\", new GraphqlApiProps {\n Name = \"api\",\n Schema = Schema.FromAsset(Join(__dirname, \"appsync.test.graphql\")),\n AuthorizationConfig = new AuthorizationConfig {\n DefaultAuthorization = new AuthorizationMode {\n AuthorizationType = AuthorizationType.LAMBDA,\n LambdaAuthorizerConfig = new LambdaAuthorizerConfig {\n Handler = authFunction\n }\n }\n }\n});","version":"1"},"java":{"source":"import software.amazon.awscdk.services.lambda.*;\nFunction authFunction;\n\n\nGraphqlApi.Builder.create(this, \"api\")\n .name(\"api\")\n .schema(Schema.fromAsset(join(__dirname, \"appsync.test.graphql\")))\n .authorizationConfig(AuthorizationConfig.builder()\n .defaultAuthorization(AuthorizationMode.builder()\n .authorizationType(AuthorizationType.LAMBDA)\n .lambdaAuthorizerConfig(LambdaAuthorizerConfig.builder()\n .handler(authFunction)\n .build())\n .build())\n .build())\n .build();","version":"1"},"go":{"source":"import lambda \"github.com/aws-samples/dummy/awscdkawslambda\"\nvar authFunction function\n\n\nappsync.NewGraphqlApi(this, jsii.String(\"api\"), &GraphqlApiProps{\n\tName: jsii.String(\"api\"),\n\tSchema: appsync.Schema_FromAsset(path.join(__dirname, jsii.String(\"appsync.test.graphql\"))),\n\tAuthorizationConfig: &AuthorizationConfig{\n\t\tDefaultAuthorization: &AuthorizationMode{\n\t\t\tAuthorizationType: appsync.AuthorizationType_LAMBDA,\n\t\t\tLambdaAuthorizerConfig: &LambdaAuthorizerConfig{\n\t\t\t\tHandler: authFunction,\n\t\t\t},\n\t\t},\n\t},\n})","version":"1"},"$":{"source":"import * as lambda from '@aws-cdk/aws-lambda';\ndeclare const authFunction: lambda.Function;\n\nnew appsync.GraphqlApi(this, 'api', {\n name: 'api',\n schema: appsync.Schema.fromAsset(path.join(__dirname, 'appsync.test.graphql')),\n authorizationConfig: {\n defaultAuthorization: {\n authorizationType: appsync.AuthorizationType.LAMBDA,\n lambdaAuthorizerConfig: {\n handler: authFunction,\n // can also specify `resultsCacheTtl` and `validationRegex`.\n },\n },\n },\n});","version":"0"}},"location":{"api":{"api":"type","fqn":"@aws-cdk/aws-appsync.LambdaAuthorizerConfig"},"field":{"field":"example"}},"didCompile":true,"fqnsReferenced":["@aws-cdk/aws-appsync.AuthorizationConfig","@aws-cdk/aws-appsync.AuthorizationMode","@aws-cdk/aws-appsync.AuthorizationType","@aws-cdk/aws-appsync.AuthorizationType#LAMBDA","@aws-cdk/aws-appsync.GraphqlApi","@aws-cdk/aws-appsync.GraphqlApiProps","@aws-cdk/aws-appsync.LambdaAuthorizerConfig","@aws-cdk/aws-appsync.Schema","@aws-cdk/aws-appsync.Schema#fromAsset","@aws-cdk/aws-lambda.IFunction","constructs.Construct"],"fullSource":"// Hoisted imports begin after !show marker below\n/// !show\nimport * as lambda from '@aws-cdk/aws-lambda';\ndeclare const authFunction: lambda.Function;\n/// !hide\n// Hoisted imports ended before !hide marker above\n// Fixture with packages imported, but nothing else\nimport { Construct } from 'constructs';\nimport { RemovalPolicy, Stack } from '@aws-cdk/core';\nimport appsync = require('@aws-cdk/aws-appsync');\nimport ec2 = require('@aws-cdk/aws-ec2');\nimport dynamodb = require('@aws-cdk/aws-dynamodb');\nimport iam = require('@aws-cdk/aws-iam');\nimport rds = require('@aws-cdk/aws-rds');\nimport path = require('path');\n\nclass Fixture extends Stack {\n constructor(scope: Construct, id: string) {\n super(scope, id);\n // Code snippet begins after !show marker below\n/// !show\n\n\nnew appsync.GraphqlApi(this, 'api', {\n name: 'api',\n schema: appsync.Schema.fromAsset(path.join(__dirname, 'appsync.test.graphql')),\n authorizationConfig: {\n defaultAuthorization: {\n authorizationType: appsync.AuthorizationType.LAMBDA,\n lambdaAuthorizerConfig: {\n handler: authFunction,\n // can also specify `resultsCacheTtl` and `validationRegex`.\n },\n },\n },\n});\n/// !hide\n// Code snippet ended before !hide marker above\n }\n}\n","syntaxKindCounter":{"10":4,"75":23,"104":1,"130":1,"153":1,"169":1,"193":4,"194":6,"196":2,"197":1,"225":1,"226":1,"242":1,"243":1,"254":1,"255":1,"256":1,"281":7,"290":1},"fqnsFingerprint":"c512599d425a8a6255a20126df488cd7ac5a7a80e30e5faf34913879386b33a2"},"f4aca3205b2c64505bb4693720506e9324a28a198b5b83a65de5535eb4939055":{"translations":{"python":{"source":"# The code below shows an example of how to instantiate this type.\n# The values are placeholders you should change.\nimport aws_cdk.aws_appsync as appsync\nimport aws_cdk.aws_iam as iam\nimport aws_cdk.aws_lambda as lambda_\n\n# function_: lambda.Function\n# graphql_api: appsync.GraphqlApi\n# role: iam.Role\n\nlambda_data_source = appsync.LambdaDataSource(self, \"MyLambdaDataSource\",\n api=graphql_api,\n lambda_function=function_,\n\n # the properties below are optional\n description=\"description\",\n name=\"name\",\n service_role=role\n)","version":"2"},"csharp":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nusing Amazon.CDK.AWS.AppSync;\nusing Amazon.CDK.AWS.IAM;\nusing Amazon.CDK.AWS.Lambda;\n\nFunction function_;\nGraphqlApi graphqlApi;\nRole role;\n\nvar lambdaDataSource = new LambdaDataSource(this, \"MyLambdaDataSource\", new LambdaDataSourceProps {\n Api = graphqlApi,\n LambdaFunction = function_,\n\n // the properties below are optional\n Description = \"description\",\n Name = \"name\",\n ServiceRole = role\n});","version":"1"},"java":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport software.amazon.awscdk.services.appsync.*;\nimport software.amazon.awscdk.services.iam.*;\nimport software.amazon.awscdk.services.lambda.*;\n\nFunction function_;\nGraphqlApi graphqlApi;\nRole role;\n\nLambdaDataSource lambdaDataSource = LambdaDataSource.Builder.create(this, \"MyLambdaDataSource\")\n .api(graphqlApi)\n .lambdaFunction(function_)\n\n // the properties below are optional\n .description(\"description\")\n .name(\"name\")\n .serviceRole(role)\n .build();","version":"1"},"go":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport appsync \"github.com/aws-samples/dummy/awscdkawsappsync\"\nimport iam \"github.com/aws-samples/dummy/awscdkawsiam\"\nimport lambda \"github.com/aws-samples/dummy/awscdkawslambda\"\n\nvar function_ function\nvar graphqlApi graphqlApi\nvar role role\n\nlambdaDataSource := appsync.NewLambdaDataSource(this, jsii.String(\"MyLambdaDataSource\"), &LambdaDataSourceProps{\n\tApi: graphqlApi,\n\tLambdaFunction: function_,\n\n\t// the properties below are optional\n\tDescription: jsii.String(\"description\"),\n\tName: jsii.String(\"name\"),\n\tServiceRole: role,\n})","version":"1"},"$":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as appsync from '@aws-cdk/aws-appsync';\nimport * as iam from '@aws-cdk/aws-iam';\nimport * as lambda from '@aws-cdk/aws-lambda';\n\ndeclare const function_: lambda.Function;\ndeclare const graphqlApi: appsync.GraphqlApi;\ndeclare const role: iam.Role;\nconst lambdaDataSource = new appsync.LambdaDataSource(this, 'MyLambdaDataSource', {\n api: graphqlApi,\n lambdaFunction: function_,\n\n // the properties below are optional\n description: 'description',\n name: 'name',\n serviceRole: role,\n});","version":"0"}},"location":{"api":{"api":"type","fqn":"@aws-cdk/aws-appsync.LambdaDataSource"},"field":{"field":"example"}},"didCompile":true,"fqnsReferenced":["@aws-cdk/aws-appsync.IGraphqlApi","@aws-cdk/aws-appsync.LambdaDataSource","@aws-cdk/aws-appsync.LambdaDataSourceProps","@aws-cdk/aws-iam.IRole","@aws-cdk/aws-lambda.IFunction","constructs.Construct"],"fullSource":"// Hoisted imports begin after !show marker below\n/// !show\n// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as appsync from '@aws-cdk/aws-appsync';\nimport * as iam from '@aws-cdk/aws-iam';\nimport * as lambda from '@aws-cdk/aws-lambda';\n\ndeclare const function_: lambda.Function;\ndeclare const graphqlApi: appsync.GraphqlApi;\ndeclare const role: iam.Role;\n/// !hide\n// Hoisted imports ended before !hide marker above\nimport { Construct } from \"@aws-cdk/core\";\nclass MyConstruct extends Construct {\nconstructor(scope: Construct, id: string) {\nsuper(scope, id);\n// Code snippet begins after !show marker below\n/// !show\n\nconst lambdaDataSource = new appsync.LambdaDataSource(this, 'MyLambdaDataSource', {\n api: graphqlApi,\n lambdaFunction: function_,\n\n // the properties below are optional\n description: 'description',\n name: 'name',\n serviceRole: role,\n});\n/// !hide\n// Code snippet ended before !hide marker above\n} }","syntaxKindCounter":{"10":6,"75":23,"104":1,"130":3,"153":3,"169":3,"193":1,"194":1,"197":1,"225":4,"242":4,"243":4,"254":3,"255":3,"256":3,"281":5,"290":1},"fqnsFingerprint":"6349a1dcafd18c71a6e01d2d915015918f5c84a2daaea10416c3199054a1ce93"},"214c296f4fde1fdf98c4f9d88637d80767e513744bf0dd1de66eae58dc1c276c":{"translations":{"python":{"source":"# The code below shows an example of how to instantiate this type.\n# The values are placeholders you should change.\nimport aws_cdk.aws_appsync as appsync\nimport aws_cdk.aws_iam as iam\nimport aws_cdk.aws_lambda as lambda_\n\n# function_: lambda.Function\n# graphql_api: appsync.GraphqlApi\n# role: iam.Role\n\nlambda_data_source_props = appsync.LambdaDataSourceProps(\n api=graphql_api,\n lambda_function=function_,\n\n # the properties below are optional\n description=\"description\",\n name=\"name\",\n service_role=role\n)","version":"2"},"csharp":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nusing Amazon.CDK.AWS.AppSync;\nusing Amazon.CDK.AWS.IAM;\nusing Amazon.CDK.AWS.Lambda;\n\nFunction function_;\nGraphqlApi graphqlApi;\nRole role;\n\nvar lambdaDataSourceProps = new LambdaDataSourceProps {\n Api = graphqlApi,\n LambdaFunction = function_,\n\n // the properties below are optional\n Description = \"description\",\n Name = \"name\",\n ServiceRole = role\n};","version":"1"},"java":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport software.amazon.awscdk.services.appsync.*;\nimport software.amazon.awscdk.services.iam.*;\nimport software.amazon.awscdk.services.lambda.*;\n\nFunction function_;\nGraphqlApi graphqlApi;\nRole role;\n\nLambdaDataSourceProps lambdaDataSourceProps = LambdaDataSourceProps.builder()\n .api(graphqlApi)\n .lambdaFunction(function_)\n\n // the properties below are optional\n .description(\"description\")\n .name(\"name\")\n .serviceRole(role)\n .build();","version":"1"},"go":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport appsync \"github.com/aws-samples/dummy/awscdkawsappsync\"\nimport iam \"github.com/aws-samples/dummy/awscdkawsiam\"\nimport lambda \"github.com/aws-samples/dummy/awscdkawslambda\"\n\nvar function_ function\nvar graphqlApi graphqlApi\nvar role role\n\nlambdaDataSourceProps := &LambdaDataSourceProps{\n\tApi: graphqlApi,\n\tLambdaFunction: function_,\n\n\t// the properties below are optional\n\tDescription: jsii.String(\"description\"),\n\tName: jsii.String(\"name\"),\n\tServiceRole: role,\n}","version":"1"},"$":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as appsync from '@aws-cdk/aws-appsync';\nimport * as iam from '@aws-cdk/aws-iam';\nimport * as lambda from '@aws-cdk/aws-lambda';\n\ndeclare const function_: lambda.Function;\ndeclare const graphqlApi: appsync.GraphqlApi;\ndeclare const role: iam.Role;\nconst lambdaDataSourceProps: appsync.LambdaDataSourceProps = {\n api: graphqlApi,\n lambdaFunction: function_,\n\n // the properties below are optional\n description: 'description',\n name: 'name',\n serviceRole: role,\n};","version":"0"}},"location":{"api":{"api":"type","fqn":"@aws-cdk/aws-appsync.LambdaDataSourceProps"},"field":{"field":"example"}},"didCompile":true,"fqnsReferenced":["@aws-cdk/aws-appsync.IGraphqlApi","@aws-cdk/aws-appsync.LambdaDataSourceProps","@aws-cdk/aws-iam.IRole","@aws-cdk/aws-lambda.IFunction"],"fullSource":"// Hoisted imports begin after !show marker below\n/// !show\n// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as appsync from '@aws-cdk/aws-appsync';\nimport * as iam from '@aws-cdk/aws-iam';\nimport * as lambda from '@aws-cdk/aws-lambda';\n\ndeclare const function_: lambda.Function;\ndeclare const graphqlApi: appsync.GraphqlApi;\ndeclare const role: iam.Role;\n/// !hide\n// Hoisted imports ended before !hide marker above\nimport { Construct } from \"@aws-cdk/core\";\nclass MyConstruct extends Construct {\nconstructor(scope: Construct, id: string) {\nsuper(scope, id);\n// Code snippet begins after !show marker below\n/// !show\n\nconst lambdaDataSourceProps: appsync.LambdaDataSourceProps = {\n api: graphqlApi,\n lambdaFunction: function_,\n\n // the properties below are optional\n description: 'description',\n name: 'name',\n serviceRole: role,\n};\n/// !hide\n// Code snippet ended before !hide marker above\n} }","syntaxKindCounter":{"10":5,"75":23,"130":3,"153":4,"169":4,"193":1,"225":4,"242":4,"243":4,"254":3,"255":3,"256":3,"281":5,"290":1},"fqnsFingerprint":"5d0ddad40f71c9666d765156748def2c268cb7dd7f56bab397242bb774bf8d58"},"769578361f8fc25bfb2c663bd08b7466aff30421e5a7656001dee0ee227bbce1":{"translations":{"python":{"source":"# The code below shows an example of how to instantiate this type.\n# The values are placeholders you should change.\nimport aws_cdk.aws_appsync as appsync\nimport aws_cdk.aws_iam as iam\n\n# role: iam.Role\n\nlog_config = appsync.LogConfig(\n exclude_verbose_content=False,\n field_log_level=appsync.FieldLogLevel.NONE,\n role=role\n)","version":"2"},"csharp":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nusing Amazon.CDK.AWS.AppSync;\nusing Amazon.CDK.AWS.IAM;\n\nRole role;\n\nvar logConfig = new LogConfig {\n ExcludeVerboseContent = false,\n FieldLogLevel = FieldLogLevel.NONE,\n Role = role\n};","version":"1"},"java":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport software.amazon.awscdk.services.appsync.*;\nimport software.amazon.awscdk.services.iam.*;\n\nRole role;\n\nLogConfig logConfig = LogConfig.builder()\n .excludeVerboseContent(false)\n .fieldLogLevel(FieldLogLevel.NONE)\n .role(role)\n .build();","version":"1"},"go":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport appsync \"github.com/aws-samples/dummy/awscdkawsappsync\"\nimport iam \"github.com/aws-samples/dummy/awscdkawsiam\"\n\nvar role role\n\nlogConfig := &LogConfig{\n\tExcludeVerboseContent: jsii.Boolean(false),\n\tFieldLogLevel: appsync.FieldLogLevel_NONE,\n\tRole: role,\n}","version":"1"},"$":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as appsync from '@aws-cdk/aws-appsync';\nimport * as iam from '@aws-cdk/aws-iam';\n\ndeclare const role: iam.Role;\nconst logConfig: appsync.LogConfig = {\n excludeVerboseContent: false,\n fieldLogLevel: appsync.FieldLogLevel.NONE,\n role: role,\n};","version":"0"}},"location":{"api":{"api":"type","fqn":"@aws-cdk/aws-appsync.LogConfig"},"field":{"field":"example"}},"didCompile":true,"fqnsReferenced":["@aws-cdk/aws-appsync.FieldLogLevel","@aws-cdk/aws-appsync.FieldLogLevel#NONE","@aws-cdk/aws-appsync.LogConfig","@aws-cdk/aws-iam.IRole"],"fullSource":"// Hoisted imports begin after !show marker below\n/// !show\n// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as appsync from '@aws-cdk/aws-appsync';\nimport * as iam from '@aws-cdk/aws-iam';\n\ndeclare const role: iam.Role;\n/// !hide\n// Hoisted imports ended before !hide marker above\nimport { Construct } from \"@aws-cdk/core\";\nclass MyConstruct extends Construct {\nconstructor(scope: Construct, id: string) {\nsuper(scope, id);\n// Code snippet begins after !show marker below\n/// !show\n\nconst logConfig: appsync.LogConfig = {\n excludeVerboseContent: false,\n fieldLogLevel: appsync.FieldLogLevel.NONE,\n role: role,\n};\n/// !hide\n// Code snippet ended before !hide marker above\n} }","syntaxKindCounter":{"10":2,"75":15,"91":1,"130":1,"153":2,"169":2,"193":1,"194":2,"225":2,"242":2,"243":2,"254":2,"255":2,"256":2,"281":3,"290":1},"fqnsFingerprint":"af73bdd558a6ab378404c9fe13e78236f427531257912c908bea9cbd74f78d41"},"e2708979c65a73becfc4960452238527a18a2bac753781987d24194a4a2f34bb":{"translations":{"python":{"source":"# api: appsync.GraphqlApi\n# dummy_request: appsync.MappingTemplate\n# dummy_response: appsync.MappingTemplate\n\ninfo = appsync.ObjectType(\"Info\",\n definition={\n \"node\": appsync.ResolvableField(\n return_type=appsync.GraphqlType.string(),\n args={\n \"id\": appsync.GraphqlType.string()\n },\n data_source=api.add_none_data_source(\"none\"),\n request_mapping_template=dummy_request,\n response_mapping_template=dummy_response\n )\n }\n)","version":"2"},"csharp":{"source":"GraphqlApi api;\nMappingTemplate dummyRequest;\nMappingTemplate dummyResponse;\n\nvar info = new ObjectType(\"Info\", new ObjectTypeOptions {\n Definition = new Dictionary {\n { \"node\", new ResolvableField(new ResolvableFieldOptions {\n ReturnType = GraphqlType.String(),\n Args = new Dictionary {\n { \"id\", GraphqlType.String() }\n },\n DataSource = api.AddNoneDataSource(\"none\"),\n RequestMappingTemplate = dummyRequest,\n ResponseMappingTemplate = dummyResponse\n }) }\n }\n});","version":"1"},"java":{"source":"GraphqlApi api;\nMappingTemplate dummyRequest;\nMappingTemplate dummyResponse;\n\nObjectType info = ObjectType.Builder.create(\"Info\")\n .definition(Map.of(\n \"node\", ResolvableField.Builder.create()\n .returnType(GraphqlType.string())\n .args(Map.of(\n \"id\", GraphqlType.string()))\n .dataSource(api.addNoneDataSource(\"none\"))\n .requestMappingTemplate(dummyRequest)\n .responseMappingTemplate(dummyResponse)\n .build()))\n .build();","version":"1"},"go":{"source":"var api graphqlApi\nvar dummyRequest mappingTemplate\nvar dummyResponse mappingTemplate\n\ninfo := appsync.NewObjectType(jsii.String(\"Info\"), &ObjectTypeOptions{\n\tDefinition: map[string]iField{\n\t\t\"node\": appsync.NewResolvableField(&ResolvableFieldOptions{\n\t\t\t\"returnType\": appsync.GraphqlType_string(),\n\t\t\t\"args\": map[string]GraphqlType{\n\t\t\t\t\"id\": appsync.GraphqlType_string(),\n\t\t\t},\n\t\t\t\"dataSource\": api.addNoneDataSource(jsii.String(\"none\")),\n\t\t\t\"requestMappingTemplate\": dummyRequest,\n\t\t\t\"responseMappingTemplate\": dummyResponse,\n\t\t}),\n\t},\n})","version":"1"},"$":{"source":"declare const api: appsync.GraphqlApi;\ndeclare const dummyRequest: appsync.MappingTemplate;\ndeclare const dummyResponse: appsync.MappingTemplate;\nconst info = new appsync.ObjectType('Info', {\n definition: {\n node: new appsync.ResolvableField({\n returnType: appsync.GraphqlType.string(),\n args: {\n id: appsync.GraphqlType.string(),\n },\n dataSource: api.addNoneDataSource('none'),\n requestMappingTemplate: dummyRequest,\n responseMappingTemplate: dummyResponse,\n }),\n },\n});","version":"0"}},"location":{"api":{"api":"type","fqn":"@aws-cdk/aws-appsync.MappingTemplate"},"field":{"field":"example"}},"didCompile":true,"fqnsReferenced":["@aws-cdk/aws-appsync.BaseDataSource","@aws-cdk/aws-appsync.GraphqlApiBase#addNoneDataSource","@aws-cdk/aws-appsync.GraphqlType","@aws-cdk/aws-appsync.GraphqlType#string","@aws-cdk/aws-appsync.IField","@aws-cdk/aws-appsync.MappingTemplate","@aws-cdk/aws-appsync.ObjectType","@aws-cdk/aws-appsync.ObjectTypeOptions","@aws-cdk/aws-appsync.ResolvableField","@aws-cdk/aws-appsync.ResolvableFieldOptions"],"fullSource":"// Hoisted imports begin after !show marker below\n/// !show\ndeclare const api: appsync.GraphqlApi;\ndeclare const dummyRequest: appsync.MappingTemplate;\ndeclare const dummyResponse: appsync.MappingTemplate;\n/// !hide\n// Hoisted imports ended before !hide marker above\n// Fixture with packages imported, but nothing else\nimport { Construct } from 'constructs';\nimport { RemovalPolicy, Stack } from '@aws-cdk/core';\nimport appsync = require('@aws-cdk/aws-appsync');\nimport ec2 = require('@aws-cdk/aws-ec2');\nimport dynamodb = require('@aws-cdk/aws-dynamodb');\nimport iam = require('@aws-cdk/aws-iam');\nimport rds = require('@aws-cdk/aws-rds');\nimport path = require('path');\n\nclass Fixture extends Stack {\n constructor(scope: Construct, id: string) {\n super(scope, id);\n // Code snippet begins after !show marker below\n/// !show\n\nconst info = new appsync.ObjectType('Info', {\n definition: {\n node: new appsync.ResolvableField({\n returnType: appsync.GraphqlType.string(),\n args: {\n id: appsync.GraphqlType.string(),\n },\n dataSource: api.addNoneDataSource('none'),\n requestMappingTemplate: dummyRequest,\n responseMappingTemplate: dummyResponse,\n }),\n },\n});\n/// !hide\n// Code snippet ended before !hide marker above\n }\n}\n","syntaxKindCounter":{"10":2,"75":32,"130":3,"153":3,"169":3,"193":4,"194":7,"196":3,"197":2,"225":4,"242":4,"243":4,"281":8,"290":1},"fqnsFingerprint":"3be3ebaf9507fb3aaab596ab869c6b3d2b14b935150f47b1987de9069d6edd8f"},"ceb8c2fa3bed8a3c70d09ceaa8658254c8935bef113edcb833caf255d2243eee":{"translations":{"python":{"source":"# The code below shows an example of how to instantiate this type.\n# The values are placeholders you should change.\nimport aws_cdk.aws_appsync as appsync\n\n# graphql_api: appsync.GraphqlApi\n\nnone_data_source = appsync.NoneDataSource(self, \"MyNoneDataSource\",\n api=graphql_api,\n\n # the properties below are optional\n description=\"description\",\n name=\"name\"\n)","version":"2"},"csharp":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nusing Amazon.CDK.AWS.AppSync;\n\nGraphqlApi graphqlApi;\n\nvar noneDataSource = new NoneDataSource(this, \"MyNoneDataSource\", new NoneDataSourceProps {\n Api = graphqlApi,\n\n // the properties below are optional\n Description = \"description\",\n Name = \"name\"\n});","version":"1"},"java":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport software.amazon.awscdk.services.appsync.*;\n\nGraphqlApi graphqlApi;\n\nNoneDataSource noneDataSource = NoneDataSource.Builder.create(this, \"MyNoneDataSource\")\n .api(graphqlApi)\n\n // the properties below are optional\n .description(\"description\")\n .name(\"name\")\n .build();","version":"1"},"go":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport appsync \"github.com/aws-samples/dummy/awscdkawsappsync\"\n\nvar graphqlApi graphqlApi\n\nnoneDataSource := appsync.NewNoneDataSource(this, jsii.String(\"MyNoneDataSource\"), &NoneDataSourceProps{\n\tApi: graphqlApi,\n\n\t// the properties below are optional\n\tDescription: jsii.String(\"description\"),\n\tName: jsii.String(\"name\"),\n})","version":"1"},"$":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as appsync from '@aws-cdk/aws-appsync';\n\ndeclare const graphqlApi: appsync.GraphqlApi;\nconst noneDataSource = new appsync.NoneDataSource(this, 'MyNoneDataSource', {\n api: graphqlApi,\n\n // the properties below are optional\n description: 'description',\n name: 'name',\n});","version":"0"}},"location":{"api":{"api":"type","fqn":"@aws-cdk/aws-appsync.NoneDataSource"},"field":{"field":"example"}},"didCompile":true,"fqnsReferenced":["@aws-cdk/aws-appsync.IGraphqlApi","@aws-cdk/aws-appsync.NoneDataSource","@aws-cdk/aws-appsync.NoneDataSourceProps","constructs.Construct"],"fullSource":"// Hoisted imports begin after !show marker below\n/// !show\n// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as appsync from '@aws-cdk/aws-appsync';\n\ndeclare const graphqlApi: appsync.GraphqlApi;\n/// !hide\n// Hoisted imports ended before !hide marker above\nimport { Construct } from \"@aws-cdk/core\";\nclass MyConstruct extends Construct {\nconstructor(scope: Construct, id: string) {\nsuper(scope, id);\n// Code snippet begins after !show marker below\n/// !show\n\nconst noneDataSource = new appsync.NoneDataSource(this, 'MyNoneDataSource', {\n api: graphqlApi,\n\n // the properties below are optional\n description: 'description',\n name: 'name',\n});\n/// !hide\n// Code snippet ended before !hide marker above\n} }","syntaxKindCounter":{"10":4,"75":11,"104":1,"130":1,"153":1,"169":1,"193":1,"194":1,"197":1,"225":2,"242":2,"243":2,"254":1,"255":1,"256":1,"281":3,"290":1},"fqnsFingerprint":"f09e302b071e935e79ce590c565bf98ea20aac87ffddd9f7734f2de39fa0ad9e"},"8e22481980463ab1080ac59f35f7f2b3a422974e564fb020f87c77b6ac030393":{"translations":{"python":{"source":"# The code below shows an example of how to instantiate this type.\n# The values are placeholders you should change.\nimport aws_cdk.aws_appsync as appsync\n\n# graphql_api: appsync.GraphqlApi\n\nnone_data_source_props = appsync.NoneDataSourceProps(\n api=graphql_api,\n\n # the properties below are optional\n description=\"description\",\n name=\"name\"\n)","version":"2"},"csharp":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nusing Amazon.CDK.AWS.AppSync;\n\nGraphqlApi graphqlApi;\n\nvar noneDataSourceProps = new NoneDataSourceProps {\n Api = graphqlApi,\n\n // the properties below are optional\n Description = \"description\",\n Name = \"name\"\n};","version":"1"},"java":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport software.amazon.awscdk.services.appsync.*;\n\nGraphqlApi graphqlApi;\n\nNoneDataSourceProps noneDataSourceProps = NoneDataSourceProps.builder()\n .api(graphqlApi)\n\n // the properties below are optional\n .description(\"description\")\n .name(\"name\")\n .build();","version":"1"},"go":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport appsync \"github.com/aws-samples/dummy/awscdkawsappsync\"\n\nvar graphqlApi graphqlApi\n\nnoneDataSourceProps := &NoneDataSourceProps{\n\tApi: graphqlApi,\n\n\t// the properties below are optional\n\tDescription: jsii.String(\"description\"),\n\tName: jsii.String(\"name\"),\n}","version":"1"},"$":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as appsync from '@aws-cdk/aws-appsync';\n\ndeclare const graphqlApi: appsync.GraphqlApi;\nconst noneDataSourceProps: appsync.NoneDataSourceProps = {\n api: graphqlApi,\n\n // the properties below are optional\n description: 'description',\n name: 'name',\n};","version":"0"}},"location":{"api":{"api":"type","fqn":"@aws-cdk/aws-appsync.NoneDataSourceProps"},"field":{"field":"example"}},"didCompile":true,"fqnsReferenced":["@aws-cdk/aws-appsync.IGraphqlApi","@aws-cdk/aws-appsync.NoneDataSourceProps"],"fullSource":"// Hoisted imports begin after !show marker below\n/// !show\n// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as appsync from '@aws-cdk/aws-appsync';\n\ndeclare const graphqlApi: appsync.GraphqlApi;\n/// !hide\n// Hoisted imports ended before !hide marker above\nimport { Construct } from \"@aws-cdk/core\";\nclass MyConstruct extends Construct {\nconstructor(scope: Construct, id: string) {\nsuper(scope, id);\n// Code snippet begins after !show marker below\n/// !show\n\nconst noneDataSourceProps: appsync.NoneDataSourceProps = {\n api: graphqlApi,\n\n // the properties below are optional\n description: 'description',\n name: 'name',\n};\n/// !hide\n// Code snippet ended before !hide marker above\n} }","syntaxKindCounter":{"10":3,"75":11,"130":1,"153":2,"169":2,"193":1,"225":2,"242":2,"243":2,"254":1,"255":1,"256":1,"281":3,"290":1},"fqnsFingerprint":"b026e14d1c8ab41e3503d6cb98d2b7102ac7fcc9207d0d5d733f48687d77f811"},"faced940fe33f35078f20a3ae9444944c929da567a5f00bbd76f67181c97e117":{"translations":{"python":{"source":"# api: appsync.GraphqlApi\n# dummy_request: appsync.MappingTemplate\n# dummy_response: appsync.MappingTemplate\n\ninfo = appsync.ObjectType(\"Info\",\n definition={\n \"node\": appsync.ResolvableField(\n return_type=appsync.GraphqlType.string(),\n args={\n \"id\": appsync.GraphqlType.string()\n },\n data_source=api.add_none_data_source(\"none\"),\n request_mapping_template=dummy_request,\n response_mapping_template=dummy_response\n )\n }\n)","version":"2"},"csharp":{"source":"GraphqlApi api;\nMappingTemplate dummyRequest;\nMappingTemplate dummyResponse;\n\nvar info = new ObjectType(\"Info\", new ObjectTypeOptions {\n Definition = new Dictionary {\n { \"node\", new ResolvableField(new ResolvableFieldOptions {\n ReturnType = GraphqlType.String(),\n Args = new Dictionary {\n { \"id\", GraphqlType.String() }\n },\n DataSource = api.AddNoneDataSource(\"none\"),\n RequestMappingTemplate = dummyRequest,\n ResponseMappingTemplate = dummyResponse\n }) }\n }\n});","version":"1"},"java":{"source":"GraphqlApi api;\nMappingTemplate dummyRequest;\nMappingTemplate dummyResponse;\n\nObjectType info = ObjectType.Builder.create(\"Info\")\n .definition(Map.of(\n \"node\", ResolvableField.Builder.create()\n .returnType(GraphqlType.string())\n .args(Map.of(\n \"id\", GraphqlType.string()))\n .dataSource(api.addNoneDataSource(\"none\"))\n .requestMappingTemplate(dummyRequest)\n .responseMappingTemplate(dummyResponse)\n .build()))\n .build();","version":"1"},"go":{"source":"var api graphqlApi\nvar dummyRequest mappingTemplate\nvar dummyResponse mappingTemplate\n\ninfo := appsync.NewObjectType(jsii.String(\"Info\"), &ObjectTypeOptions{\n\tDefinition: map[string]iField{\n\t\t\"node\": appsync.NewResolvableField(&ResolvableFieldOptions{\n\t\t\t\"returnType\": appsync.GraphqlType_string(),\n\t\t\t\"args\": map[string]GraphqlType{\n\t\t\t\t\"id\": appsync.GraphqlType_string(),\n\t\t\t},\n\t\t\t\"dataSource\": api.addNoneDataSource(jsii.String(\"none\")),\n\t\t\t\"requestMappingTemplate\": dummyRequest,\n\t\t\t\"responseMappingTemplate\": dummyResponse,\n\t\t}),\n\t},\n})","version":"1"},"$":{"source":"declare const api: appsync.GraphqlApi;\ndeclare const dummyRequest: appsync.MappingTemplate;\ndeclare const dummyResponse: appsync.MappingTemplate;\nconst info = new appsync.ObjectType('Info', {\n definition: {\n node: new appsync.ResolvableField({\n returnType: appsync.GraphqlType.string(),\n args: {\n id: appsync.GraphqlType.string(),\n },\n dataSource: api.addNoneDataSource('none'),\n requestMappingTemplate: dummyRequest,\n responseMappingTemplate: dummyResponse,\n }),\n },\n});","version":"0"}},"location":{"api":{"api":"type","fqn":"@aws-cdk/aws-appsync.ObjectType"},"field":{"field":"example"}},"didCompile":true,"fqnsReferenced":["@aws-cdk/aws-appsync.BaseDataSource","@aws-cdk/aws-appsync.GraphqlApiBase#addNoneDataSource","@aws-cdk/aws-appsync.GraphqlType","@aws-cdk/aws-appsync.GraphqlType#string","@aws-cdk/aws-appsync.IField","@aws-cdk/aws-appsync.MappingTemplate","@aws-cdk/aws-appsync.ObjectType","@aws-cdk/aws-appsync.ObjectTypeOptions","@aws-cdk/aws-appsync.ResolvableField","@aws-cdk/aws-appsync.ResolvableFieldOptions"],"fullSource":"// Hoisted imports begin after !show marker below\n/// !show\ndeclare const api: appsync.GraphqlApi;\ndeclare const dummyRequest: appsync.MappingTemplate;\ndeclare const dummyResponse: appsync.MappingTemplate;\n/// !hide\n// Hoisted imports ended before !hide marker above\n// Fixture with packages imported, but nothing else\nimport { Construct } from 'constructs';\nimport { RemovalPolicy, Stack } from '@aws-cdk/core';\nimport appsync = require('@aws-cdk/aws-appsync');\nimport ec2 = require('@aws-cdk/aws-ec2');\nimport dynamodb = require('@aws-cdk/aws-dynamodb');\nimport iam = require('@aws-cdk/aws-iam');\nimport rds = require('@aws-cdk/aws-rds');\nimport path = require('path');\n\nclass Fixture extends Stack {\n constructor(scope: Construct, id: string) {\n super(scope, id);\n // Code snippet begins after !show marker below\n/// !show\n\nconst info = new appsync.ObjectType('Info', {\n definition: {\n node: new appsync.ResolvableField({\n returnType: appsync.GraphqlType.string(),\n args: {\n id: appsync.GraphqlType.string(),\n },\n dataSource: api.addNoneDataSource('none'),\n requestMappingTemplate: dummyRequest,\n responseMappingTemplate: dummyResponse,\n }),\n },\n});\n/// !hide\n// Code snippet ended before !hide marker above\n }\n}\n","syntaxKindCounter":{"10":2,"75":32,"130":3,"153":3,"169":3,"193":4,"194":7,"196":3,"197":2,"225":4,"242":4,"243":4,"281":8,"290":1},"fqnsFingerprint":"3be3ebaf9507fb3aaab596ab869c6b3d2b14b935150f47b1987de9069d6edd8f"},"9fd1d74011e1cd3a187eef5c16f860732241bbb330e0efe5ef77b432eca8507c":{"translations":{"python":{"source":"# api: appsync.GraphqlApi\n# dummy_request: appsync.MappingTemplate\n# dummy_response: appsync.MappingTemplate\n\ninfo = appsync.ObjectType(\"Info\",\n definition={\n \"node\": appsync.ResolvableField(\n return_type=appsync.GraphqlType.string(),\n args={\n \"id\": appsync.GraphqlType.string()\n },\n data_source=api.add_none_data_source(\"none\"),\n request_mapping_template=dummy_request,\n response_mapping_template=dummy_response\n )\n }\n)","version":"2"},"csharp":{"source":"GraphqlApi api;\nMappingTemplate dummyRequest;\nMappingTemplate dummyResponse;\n\nvar info = new ObjectType(\"Info\", new ObjectTypeOptions {\n Definition = new Dictionary {\n { \"node\", new ResolvableField(new ResolvableFieldOptions {\n ReturnType = GraphqlType.String(),\n Args = new Dictionary {\n { \"id\", GraphqlType.String() }\n },\n DataSource = api.AddNoneDataSource(\"none\"),\n RequestMappingTemplate = dummyRequest,\n ResponseMappingTemplate = dummyResponse\n }) }\n }\n});","version":"1"},"java":{"source":"GraphqlApi api;\nMappingTemplate dummyRequest;\nMappingTemplate dummyResponse;\n\nObjectType info = ObjectType.Builder.create(\"Info\")\n .definition(Map.of(\n \"node\", ResolvableField.Builder.create()\n .returnType(GraphqlType.string())\n .args(Map.of(\n \"id\", GraphqlType.string()))\n .dataSource(api.addNoneDataSource(\"none\"))\n .requestMappingTemplate(dummyRequest)\n .responseMappingTemplate(dummyResponse)\n .build()))\n .build();","version":"1"},"go":{"source":"var api graphqlApi\nvar dummyRequest mappingTemplate\nvar dummyResponse mappingTemplate\n\ninfo := appsync.NewObjectType(jsii.String(\"Info\"), &ObjectTypeOptions{\n\tDefinition: map[string]iField{\n\t\t\"node\": appsync.NewResolvableField(&ResolvableFieldOptions{\n\t\t\t\"returnType\": appsync.GraphqlType_string(),\n\t\t\t\"args\": map[string]GraphqlType{\n\t\t\t\t\"id\": appsync.GraphqlType_string(),\n\t\t\t},\n\t\t\t\"dataSource\": api.addNoneDataSource(jsii.String(\"none\")),\n\t\t\t\"requestMappingTemplate\": dummyRequest,\n\t\t\t\"responseMappingTemplate\": dummyResponse,\n\t\t}),\n\t},\n})","version":"1"},"$":{"source":"declare const api: appsync.GraphqlApi;\ndeclare const dummyRequest: appsync.MappingTemplate;\ndeclare const dummyResponse: appsync.MappingTemplate;\nconst info = new appsync.ObjectType('Info', {\n definition: {\n node: new appsync.ResolvableField({\n returnType: appsync.GraphqlType.string(),\n args: {\n id: appsync.GraphqlType.string(),\n },\n dataSource: api.addNoneDataSource('none'),\n requestMappingTemplate: dummyRequest,\n responseMappingTemplate: dummyResponse,\n }),\n },\n});","version":"0"}},"location":{"api":{"api":"type","fqn":"@aws-cdk/aws-appsync.ObjectTypeOptions"},"field":{"field":"example"}},"didCompile":true,"fqnsReferenced":["@aws-cdk/aws-appsync.BaseDataSource","@aws-cdk/aws-appsync.GraphqlApiBase#addNoneDataSource","@aws-cdk/aws-appsync.GraphqlType","@aws-cdk/aws-appsync.GraphqlType#string","@aws-cdk/aws-appsync.IField","@aws-cdk/aws-appsync.MappingTemplate","@aws-cdk/aws-appsync.ObjectType","@aws-cdk/aws-appsync.ObjectTypeOptions","@aws-cdk/aws-appsync.ResolvableField","@aws-cdk/aws-appsync.ResolvableFieldOptions"],"fullSource":"// Hoisted imports begin after !show marker below\n/// !show\ndeclare const api: appsync.GraphqlApi;\ndeclare const dummyRequest: appsync.MappingTemplate;\ndeclare const dummyResponse: appsync.MappingTemplate;\n/// !hide\n// Hoisted imports ended before !hide marker above\n// Fixture with packages imported, but nothing else\nimport { Construct } from 'constructs';\nimport { RemovalPolicy, Stack } from '@aws-cdk/core';\nimport appsync = require('@aws-cdk/aws-appsync');\nimport ec2 = require('@aws-cdk/aws-ec2');\nimport dynamodb = require('@aws-cdk/aws-dynamodb');\nimport iam = require('@aws-cdk/aws-iam');\nimport rds = require('@aws-cdk/aws-rds');\nimport path = require('path');\n\nclass Fixture extends Stack {\n constructor(scope: Construct, id: string) {\n super(scope, id);\n // Code snippet begins after !show marker below\n/// !show\n\nconst info = new appsync.ObjectType('Info', {\n definition: {\n node: new appsync.ResolvableField({\n returnType: appsync.GraphqlType.string(),\n args: {\n id: appsync.GraphqlType.string(),\n },\n dataSource: api.addNoneDataSource('none'),\n requestMappingTemplate: dummyRequest,\n responseMappingTemplate: dummyResponse,\n }),\n },\n});\n/// !hide\n// Code snippet ended before !hide marker above\n }\n}\n","syntaxKindCounter":{"10":2,"75":32,"130":3,"153":3,"169":3,"193":4,"194":7,"196":3,"197":2,"225":4,"242":4,"243":4,"281":8,"290":1},"fqnsFingerprint":"3be3ebaf9507fb3aaab596ab869c6b3d2b14b935150f47b1987de9069d6edd8f"},"99732bc6c008af43edbf59050bee52e96b851bdff46d272f1e42f266220ac03c":{"translations":{"python":{"source":"# The code below shows an example of how to instantiate this type.\n# The values are placeholders you should change.\nimport aws_cdk.aws_appsync as appsync\n\nopen_id_connect_config = appsync.OpenIdConnectConfig(\n oidc_provider=\"oidcProvider\",\n\n # the properties below are optional\n client_id=\"clientId\",\n token_expiry_from_auth=123,\n token_expiry_from_issue=123\n)","version":"2"},"csharp":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nusing Amazon.CDK.AWS.AppSync;\n\nvar openIdConnectConfig = new OpenIdConnectConfig {\n OidcProvider = \"oidcProvider\",\n\n // the properties below are optional\n ClientId = \"clientId\",\n TokenExpiryFromAuth = 123,\n TokenExpiryFromIssue = 123\n};","version":"1"},"java":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport software.amazon.awscdk.services.appsync.*;\n\nOpenIdConnectConfig openIdConnectConfig = OpenIdConnectConfig.builder()\n .oidcProvider(\"oidcProvider\")\n\n // the properties below are optional\n .clientId(\"clientId\")\n .tokenExpiryFromAuth(123)\n .tokenExpiryFromIssue(123)\n .build();","version":"1"},"go":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport appsync \"github.com/aws-samples/dummy/awscdkawsappsync\"\n\nopenIdConnectConfig := &OpenIdConnectConfig{\n\tOidcProvider: jsii.String(\"oidcProvider\"),\n\n\t// the properties below are optional\n\tClientId: jsii.String(\"clientId\"),\n\tTokenExpiryFromAuth: jsii.Number(123),\n\tTokenExpiryFromIssue: jsii.Number(123),\n}","version":"1"},"$":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as appsync from '@aws-cdk/aws-appsync';\nconst openIdConnectConfig: appsync.OpenIdConnectConfig = {\n oidcProvider: 'oidcProvider',\n\n // the properties below are optional\n clientId: 'clientId',\n tokenExpiryFromAuth: 123,\n tokenExpiryFromIssue: 123,\n};","version":"0"}},"location":{"api":{"api":"type","fqn":"@aws-cdk/aws-appsync.OpenIdConnectConfig"},"field":{"field":"example"}},"didCompile":true,"fqnsReferenced":["@aws-cdk/aws-appsync.OpenIdConnectConfig"],"fullSource":"// Hoisted imports begin after !show marker below\n/// !show\n// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as appsync from '@aws-cdk/aws-appsync';\n/// !hide\n// Hoisted imports ended before !hide marker above\nimport { Construct } from \"@aws-cdk/core\";\nclass MyConstruct extends Construct {\nconstructor(scope: Construct, id: string) {\nsuper(scope, id);\n// Code snippet begins after !show marker below\n/// !show\n\nconst openIdConnectConfig: appsync.OpenIdConnectConfig = {\n oidcProvider: 'oidcProvider',\n\n // the properties below are optional\n clientId: 'clientId',\n tokenExpiryFromAuth: 123,\n tokenExpiryFromIssue: 123,\n};\n/// !hide\n// Code snippet ended before !hide marker above\n} }","syntaxKindCounter":{"8":2,"10":3,"75":8,"153":1,"169":1,"193":1,"225":1,"242":1,"243":1,"254":1,"255":1,"256":1,"281":4,"290":1},"fqnsFingerprint":"869c49547e633863ba6d96be1e8b46588edff2a0c732aae93735a6eb0dc616ce"},"fd130d1f50d488a5fb7987afd5237814581a11c470bd1361e44814aad1957e77":{"translations":{"python":{"source":"-\"ABCD|CDEF\"","version":"2"},"csharp":{"source":"-\"ABCD|CDEF\";","version":"1"},"java":{"source":"-\"ABCD|CDEF\";","version":"1"},"go":{"source":"-\"ABCD|CDEF\"","version":"1"},"$":{"source":"- 'ABCD|CDEF' // where ABCD and CDEF are two different clientId","version":"0"}},"location":{"api":{"api":"member","fqn":"@aws-cdk/aws-appsync.OpenIdConnectConfig","memberName":"clientId"},"field":{"field":"example"}},"didCompile":true,"fqnsReferenced":[],"fullSource":"// Fixture with packages imported, but nothing else\nimport { Construct } from 'constructs';\nimport { RemovalPolicy, Stack } from '@aws-cdk/core';\nimport appsync = require('@aws-cdk/aws-appsync');\nimport ec2 = require('@aws-cdk/aws-ec2');\nimport dynamodb = require('@aws-cdk/aws-dynamodb');\nimport iam = require('@aws-cdk/aws-iam');\nimport rds = require('@aws-cdk/aws-rds');\nimport path = require('path');\n\nclass Fixture extends Stack {\n constructor(scope: Construct, id: string) {\n super(scope, id);\n // Code snippet begins after !show marker below\n/// !show\n- 'ABCD|CDEF'\n/// !hide\n// Code snippet ended before !hide marker above\n }\n}\n","syntaxKindCounter":{"10":1,"207":1,"226":1},"fqnsFingerprint":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855"},"0de58bd2ec1130691b0b538f898126956acb31dc9b6a9e0494d0082d74b2fcea":{"translations":{"python":{"source":"import aws_cdk.aws_opensearchservice as opensearch\n\n# api: appsync.GraphqlApi\n\n\nuser = iam.User(self, \"User\")\ndomain = opensearch.Domain(self, \"Domain\",\n version=opensearch.EngineVersion.OPENSEARCH_1_2,\n removal_policy=RemovalPolicy.DESTROY,\n fine_grained_access_control=opensearch.AdvancedSecurityOptions(master_user_arn=user.user_arn),\n encryption_at_rest=opensearch.EncryptionAtRestOptions(enabled=True),\n node_to_node_encryption=True,\n enforce_https=True\n)\nds = api.add_open_search_data_source(\"ds\", domain)\n\nds.create_resolver(\n type_name=\"Query\",\n field_name=\"getTests\",\n request_mapping_template=appsync.MappingTemplate.from_string(JSON.stringify({\n \"version\": \"2017-02-28\",\n \"operation\": \"GET\",\n \"path\": \"/id/post/_search\",\n \"params\": {\n \"headers\": {},\n \"query_string\": {},\n \"body\": {\"from\": 0, \"size\": 50}\n }\n })),\n response_mapping_template=appsync.MappingTemplate.from_string(\"\"\"[\n #foreach($entry in $context.result.hits.hits)\n #if( $velocityCount > 1 ) , #end\n $utils.toJson($entry.get(\"_source\"))\n #end\n ]\"\"\")\n)","version":"2"},"csharp":{"source":"using Amazon.CDK.AWS.OpenSearchService;\n\nGraphqlApi api;\n\n\nvar user = new User(this, \"User\");\nvar domain = new Domain(this, \"Domain\", new DomainProps {\n Version = EngineVersion.OPENSEARCH_1_2,\n RemovalPolicy = RemovalPolicy.DESTROY,\n FineGrainedAccessControl = new AdvancedSecurityOptions { MasterUserArn = user.UserArn },\n EncryptionAtRest = new EncryptionAtRestOptions { Enabled = true },\n NodeToNodeEncryption = true,\n EnforceHttps = true\n});\nvar ds = api.AddOpenSearchDataSource(\"ds\", domain);\n\nds.CreateResolver(new BaseResolverProps {\n TypeName = \"Query\",\n FieldName = \"getTests\",\n RequestMappingTemplate = MappingTemplate.FromString(JSON.Stringify(new Dictionary {\n { \"version\", \"2017-02-28\" },\n { \"operation\", \"GET\" },\n { \"path\", \"/id/post/_search\" },\n { \"params\", new Struct {\n Headers = new Struct { },\n QueryString = new Struct { },\n Body = new Struct { From = 0, Size = 50 }\n } }\n })),\n ResponseMappingTemplate = MappingTemplate.FromString(@\"[\n #foreach($entry in $context.result.hits.hits)\n #if( $velocityCount > 1 ) , #end\n $utils.toJson($entry.get(\"\"_source\"\"))\n #end\n ]\")\n});","version":"1"},"java":{"source":"import software.amazon.awscdk.services.opensearchservice.*;\n\nGraphqlApi api;\n\n\nUser user = new User(this, \"User\");\nDomain domain = Domain.Builder.create(this, \"Domain\")\n .version(EngineVersion.OPENSEARCH_1_2)\n .removalPolicy(RemovalPolicy.DESTROY)\n .fineGrainedAccessControl(AdvancedSecurityOptions.builder().masterUserArn(user.getUserArn()).build())\n .encryptionAtRest(EncryptionAtRestOptions.builder().enabled(true).build())\n .nodeToNodeEncryption(true)\n .enforceHttps(true)\n .build();\nOpenSearchDataSource ds = api.addOpenSearchDataSource(\"ds\", domain);\n\nds.createResolver(BaseResolverProps.builder()\n .typeName(\"Query\")\n .fieldName(\"getTests\")\n .requestMappingTemplate(MappingTemplate.fromString(JSON.stringify(Map.of(\n \"version\", \"2017-02-28\",\n \"operation\", \"GET\",\n \"path\", \"/id/post/_search\",\n \"params\", Map.of(\n \"headers\", Map.of(),\n \"queryString\", Map.of(),\n \"body\", Map.of(\"from\", 0, \"size\", 50))))))\n .responseMappingTemplate(MappingTemplate.fromString(\"[\\n #foreach($entry in $context.result.hits.hits)\\n #if( $velocityCount > 1 ) , #end\\n $utils.toJson($entry.get(\\\"_source\\\"))\\n #end\\n ]\"))\n .build());","version":"1"},"go":{"source":"import \"github.com/aws-samples/dummy/awscdkawsopensearchservice\"\n\nvar api graphqlApi\n\n\nuser := iam.NewUser(this, jsii.String(\"User\"))\ndomain := opensearch.NewDomain(this, jsii.String(\"Domain\"), &DomainProps{\n\tVersion: opensearch.EngineVersion_OPENSEARCH_1_2(),\n\tRemovalPolicy: awscdkcore.RemovalPolicy_DESTROY,\n\tFineGrainedAccessControl: &AdvancedSecurityOptions{\n\t\tMasterUserArn: user.UserArn,\n\t},\n\tEncryptionAtRest: &EncryptionAtRestOptions{\n\t\tEnabled: jsii.Boolean(true),\n\t},\n\tNodeToNodeEncryption: jsii.Boolean(true),\n\tEnforceHttps: jsii.Boolean(true),\n})\nds := api.AddOpenSearchDataSource(jsii.String(\"ds\"), domain)\n\nds.CreateResolver(&BaseResolverProps{\n\tTypeName: jsii.String(\"Query\"),\n\tFieldName: jsii.String(\"getTests\"),\n\tRequestMappingTemplate: appsync.MappingTemplate_FromString(jSON.stringify(map[string]interface{}{\n\t\t\"version\": jsii.String(\"2017-02-28\"),\n\t\t\"operation\": jsii.String(\"GET\"),\n\t\t\"path\": jsii.String(\"/id/post/_search\"),\n\t\t\"params\": map[string]map[string]interface{}{\n\t\t\t\"headers\": map[string]interface{}{\n\t\t\t},\n\t\t\t\"queryString\": map[string]interface{}{\n\t\t\t},\n\t\t\t\"body\": map[string]*f64{\n\t\t\t\t\"from\": jsii.Number(0),\n\t\t\t\t\"size\": jsii.Number(50),\n\t\t\t},\n\t\t},\n\t})),\n\tResponseMappingTemplate: appsync.MappingTemplate_*FromString(jsii.String(`[\n\t #foreach($entry in $context.result.hits.hits)\n\t #if( $velocityCount > 1 ) , #end\n\t $utils.toJson($entry.get(\"_source\"))\n\t #end\n\t ]`)),\n})","version":"1"},"$":{"source":"import * as opensearch from '@aws-cdk/aws-opensearchservice';\n\nconst user = new iam.User(this, 'User');\nconst domain = new opensearch.Domain(this, 'Domain', {\n version: opensearch.EngineVersion.OPENSEARCH_1_2,\n removalPolicy: RemovalPolicy.DESTROY,\n fineGrainedAccessControl: { masterUserArn: user.userArn },\n encryptionAtRest: { enabled: true },\n nodeToNodeEncryption: true,\n enforceHttps: true,\n});\n\ndeclare const api: appsync.GraphqlApi;\nconst ds = api.addOpenSearchDataSource('ds', domain);\n\nds.createResolver({\n typeName: 'Query',\n fieldName: 'getTests',\n requestMappingTemplate: appsync.MappingTemplate.fromString(JSON.stringify({\n version: '2017-02-28',\n operation: 'GET',\n path: '/id/post/_search',\n params: {\n headers: {},\n queryString: {},\n body: { from: 0, size: 50 },\n },\n })),\n responseMappingTemplate: appsync.MappingTemplate.fromString(`[\n #foreach($entry in $context.result.hits.hits)\n #if( $velocityCount > 1 ) , #end\n $utils.toJson($entry.get(\"_source\"))\n #end\n ]`),\n});","version":"0"}},"location":{"api":{"api":"type","fqn":"@aws-cdk/aws-appsync.OpenSearchDataSource"},"field":{"field":"example"}},"didCompile":true,"fqnsReferenced":["@aws-cdk/aws-appsync.BaseDataSource#createResolver","@aws-cdk/aws-appsync.BaseResolverProps","@aws-cdk/aws-appsync.GraphqlApiBase#addOpenSearchDataSource","@aws-cdk/aws-appsync.MappingTemplate","@aws-cdk/aws-appsync.MappingTemplate#fromString","@aws-cdk/aws-appsync.OpenSearchDataSource","@aws-cdk/aws-iam.User","@aws-cdk/aws-iam.User#userArn","@aws-cdk/aws-opensearchservice.AdvancedSecurityOptions","@aws-cdk/aws-opensearchservice.Domain","@aws-cdk/aws-opensearchservice.DomainProps","@aws-cdk/aws-opensearchservice.EncryptionAtRestOptions","@aws-cdk/aws-opensearchservice.EngineVersion","@aws-cdk/aws-opensearchservice.EngineVersion#OPENSEARCH_1_2","@aws-cdk/aws-opensearchservice.IDomain","@aws-cdk/core.RemovalPolicy","@aws-cdk/core.RemovalPolicy#DESTROY","constructs.Construct"],"fullSource":"// Hoisted imports begin after !show marker below\n/// !show\nimport * as opensearch from '@aws-cdk/aws-opensearchservice';\n\ndeclare const api: appsync.GraphqlApi;\n/// !hide\n// Hoisted imports ended before !hide marker above\n// Fixture with packages imported, but nothing else\nimport { Construct } from 'constructs';\nimport { RemovalPolicy, Stack } from '@aws-cdk/core';\nimport appsync = require('@aws-cdk/aws-appsync');\nimport ec2 = require('@aws-cdk/aws-ec2');\nimport dynamodb = require('@aws-cdk/aws-dynamodb');\nimport iam = require('@aws-cdk/aws-iam');\nimport rds = require('@aws-cdk/aws-rds');\nimport path = require('path');\n\nclass Fixture extends Stack {\n constructor(scope: Construct, id: string) {\n super(scope, id);\n // Code snippet begins after !show marker below\n/// !show\n\n\nconst user = new iam.User(this, 'User');\nconst domain = new opensearch.Domain(this, 'Domain', {\n version: opensearch.EngineVersion.OPENSEARCH_1_2,\n removalPolicy: RemovalPolicy.DESTROY,\n fineGrainedAccessControl: { masterUserArn: user.userArn },\n encryptionAtRest: { enabled: true },\n nodeToNodeEncryption: true,\n enforceHttps: true,\n});\nconst ds = api.addOpenSearchDataSource('ds', domain);\n\nds.createResolver({\n typeName: 'Query',\n fieldName: 'getTests',\n requestMappingTemplate: appsync.MappingTemplate.fromString(JSON.stringify({\n version: '2017-02-28',\n operation: 'GET',\n path: '/id/post/_search',\n params: {\n headers: {},\n queryString: {},\n body: { from: 0, size: 50 },\n },\n })),\n responseMappingTemplate: appsync.MappingTemplate.fromString(`[\n #foreach($entry in $context.result.hits.hits)\n #if( $velocityCount > 1 ) , #end\n $utils.toJson($entry.get(\"_source\"))\n #end\n ]`),\n});\n/// !hide\n// Code snippet ended before !hide marker above\n }\n}\n","syntaxKindCounter":{"8":2,"10":9,"14":1,"75":52,"104":2,"106":3,"130":1,"153":1,"169":1,"193":9,"194":13,"196":5,"197":2,"225":4,"226":1,"242":4,"243":4,"254":1,"255":1,"256":1,"281":21,"290":1},"fqnsFingerprint":"cff46d2a228c56bb339affa421a78b22abaa98503d25c489c98b091fe4ce3883"},"62ff8daa7908048485d2d210bf4ceb0216771adcdd91b333562f92318c9bebbd":{"translations":{"python":{"source":"# The code below shows an example of how to instantiate this type.\n# The values are placeholders you should change.\nimport aws_cdk.aws_appsync as appsync\nimport aws_cdk.aws_iam as iam\nimport aws_cdk.aws_opensearchservice as opensearchservice\n\n# domain: opensearchservice.Domain\n# graphql_api: appsync.GraphqlApi\n# role: iam.Role\n\nopen_search_data_source_props = appsync.OpenSearchDataSourceProps(\n api=graphql_api,\n domain=domain,\n\n # the properties below are optional\n description=\"description\",\n name=\"name\",\n service_role=role\n)","version":"2"},"csharp":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nusing Amazon.CDK.AWS.AppSync;\nusing Amazon.CDK.AWS.IAM;\nusing Amazon.CDK.AWS.OpenSearchService;\n\nDomain domain;\nGraphqlApi graphqlApi;\nRole role;\n\nvar openSearchDataSourceProps = new OpenSearchDataSourceProps {\n Api = graphqlApi,\n Domain = domain,\n\n // the properties below are optional\n Description = \"description\",\n Name = \"name\",\n ServiceRole = role\n};","version":"1"},"java":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport software.amazon.awscdk.services.appsync.*;\nimport software.amazon.awscdk.services.iam.*;\nimport software.amazon.awscdk.services.opensearchservice.*;\n\nDomain domain;\nGraphqlApi graphqlApi;\nRole role;\n\nOpenSearchDataSourceProps openSearchDataSourceProps = OpenSearchDataSourceProps.builder()\n .api(graphqlApi)\n .domain(domain)\n\n // the properties below are optional\n .description(\"description\")\n .name(\"name\")\n .serviceRole(role)\n .build();","version":"1"},"go":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport appsync \"github.com/aws-samples/dummy/awscdkawsappsync\"\nimport iam \"github.com/aws-samples/dummy/awscdkawsiam\"\nimport opensearchservice \"github.com/aws-samples/dummy/awscdkawsopensearchservice\"\n\nvar domain domain\nvar graphqlApi graphqlApi\nvar role role\n\nopenSearchDataSourceProps := &OpenSearchDataSourceProps{\n\tApi: graphqlApi,\n\tDomain: domain,\n\n\t// the properties below are optional\n\tDescription: jsii.String(\"description\"),\n\tName: jsii.String(\"name\"),\n\tServiceRole: role,\n}","version":"1"},"$":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as appsync from '@aws-cdk/aws-appsync';\nimport * as iam from '@aws-cdk/aws-iam';\nimport * as opensearchservice from '@aws-cdk/aws-opensearchservice';\n\ndeclare const domain: opensearchservice.Domain;\ndeclare const graphqlApi: appsync.GraphqlApi;\ndeclare const role: iam.Role;\nconst openSearchDataSourceProps: appsync.OpenSearchDataSourceProps = {\n api: graphqlApi,\n domain: domain,\n\n // the properties below are optional\n description: 'description',\n name: 'name',\n serviceRole: role,\n};","version":"0"}},"location":{"api":{"api":"type","fqn":"@aws-cdk/aws-appsync.OpenSearchDataSourceProps"},"field":{"field":"example"}},"didCompile":true,"fqnsReferenced":["@aws-cdk/aws-appsync.IGraphqlApi","@aws-cdk/aws-appsync.OpenSearchDataSourceProps","@aws-cdk/aws-iam.IRole","@aws-cdk/aws-opensearchservice.IDomain"],"fullSource":"// Hoisted imports begin after !show marker below\n/// !show\n// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as appsync from '@aws-cdk/aws-appsync';\nimport * as iam from '@aws-cdk/aws-iam';\nimport * as opensearchservice from '@aws-cdk/aws-opensearchservice';\n\ndeclare const domain: opensearchservice.Domain;\ndeclare const graphqlApi: appsync.GraphqlApi;\ndeclare const role: iam.Role;\n/// !hide\n// Hoisted imports ended before !hide marker above\nimport { Construct } from \"@aws-cdk/core\";\nclass MyConstruct extends Construct {\nconstructor(scope: Construct, id: string) {\nsuper(scope, id);\n// Code snippet begins after !show marker below\n/// !show\n\nconst openSearchDataSourceProps: appsync.OpenSearchDataSourceProps = {\n api: graphqlApi,\n domain: domain,\n\n // the properties below are optional\n description: 'description',\n name: 'name',\n serviceRole: role,\n};\n/// !hide\n// Code snippet ended before !hide marker above\n} }","syntaxKindCounter":{"10":5,"75":23,"130":3,"153":4,"169":4,"193":1,"225":4,"242":4,"243":4,"254":3,"255":3,"256":3,"281":5,"290":1},"fqnsFingerprint":"cfb56211154c58fd5ecf9cd6d1495c043930517010ccffd7e014f901a170e232"},"59b1dd457f3f25307e58348b9ea9bc31fcfd8cdb47b6b2a296775c4e1c58aa55":{"translations":{"python":{"source":"# The code below shows an example of how to instantiate this type.\n# The values are placeholders you should change.\nimport aws_cdk.aws_appsync as appsync\n\n# assign: appsync.Assign\n\npartition_key = appsync.PartitionKey(assign)","version":"2"},"csharp":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nusing Amazon.CDK.AWS.AppSync;\n\nAssign assign;\n\nvar partitionKey = new PartitionKey(assign);","version":"1"},"java":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport software.amazon.awscdk.services.appsync.*;\n\nAssign assign;\n\nPartitionKey partitionKey = new PartitionKey(assign);","version":"1"},"go":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport appsync \"github.com/aws-samples/dummy/awscdkawsappsync\"\n\nvar assign assign\n\npartitionKey := appsync.NewPartitionKey(assign)","version":"1"},"$":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as appsync from '@aws-cdk/aws-appsync';\n\ndeclare const assign: appsync.Assign;\nconst partitionKey = new appsync.PartitionKey(assign);","version":"0"}},"location":{"api":{"api":"type","fqn":"@aws-cdk/aws-appsync.PartitionKey"},"field":{"field":"example"}},"didCompile":true,"fqnsReferenced":["@aws-cdk/aws-appsync.Assign","@aws-cdk/aws-appsync.PartitionKey"],"fullSource":"// Hoisted imports begin after !show marker below\n/// !show\n// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as appsync from '@aws-cdk/aws-appsync';\n\ndeclare const assign: appsync.Assign;\n/// !hide\n// Hoisted imports ended before !hide marker above\nimport { Construct } from \"@aws-cdk/core\";\nclass MyConstruct extends Construct {\nconstructor(scope: Construct, id: string) {\nsuper(scope, id);\n// Code snippet begins after !show marker below\n/// !show\n\nconst partitionKey = new appsync.PartitionKey(assign);\n/// !hide\n// Code snippet ended before !hide marker above\n} }","syntaxKindCounter":{"10":1,"75":8,"130":1,"153":1,"169":1,"194":1,"197":1,"225":2,"242":2,"243":2,"254":1,"255":1,"256":1,"290":1},"fqnsFingerprint":"3c715ff6a0cbfdd497c667f09beb7b61ad020e17e50c3d75d00e9c21e61f684c"},"e24aedc3a98a19392c86d10b64e09570b79852c6afd0979b59645672b78f08ff":{"translations":{"python":{"source":"# The code below shows an example of how to instantiate this type.\n# The values are placeholders you should change.\nimport aws_cdk.aws_appsync as appsync\n\npartition_key_step = appsync.PartitionKeyStep(\"key\")","version":"2"},"csharp":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nusing Amazon.CDK.AWS.AppSync;\n\nvar partitionKeyStep = new PartitionKeyStep(\"key\");","version":"1"},"java":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport software.amazon.awscdk.services.appsync.*;\n\nPartitionKeyStep partitionKeyStep = new PartitionKeyStep(\"key\");","version":"1"},"go":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport appsync \"github.com/aws-samples/dummy/awscdkawsappsync\"\n\npartitionKeyStep := appsync.NewPartitionKeyStep(jsii.String(\"key\"))","version":"1"},"$":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as appsync from '@aws-cdk/aws-appsync';\nconst partitionKeyStep = new appsync.PartitionKeyStep('key');","version":"0"}},"location":{"api":{"api":"type","fqn":"@aws-cdk/aws-appsync.PartitionKeyStep"},"field":{"field":"example"}},"didCompile":true,"fqnsReferenced":["@aws-cdk/aws-appsync.PartitionKeyStep"],"fullSource":"// Hoisted imports begin after !show marker below\n/// !show\n// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as appsync from '@aws-cdk/aws-appsync';\n/// !hide\n// Hoisted imports ended before !hide marker above\nimport { Construct } from \"@aws-cdk/core\";\nclass MyConstruct extends Construct {\nconstructor(scope: Construct, id: string) {\nsuper(scope, id);\n// Code snippet begins after !show marker below\n/// !show\n\nconst partitionKeyStep = new appsync.PartitionKeyStep('key');\n/// !hide\n// Code snippet ended before !hide marker above\n} }","syntaxKindCounter":{"10":2,"75":4,"194":1,"197":1,"225":1,"242":1,"243":1,"254":1,"255":1,"256":1,"290":1},"fqnsFingerprint":"40df27c353078ad86eb4f1fca32b448744972699f8c10c09dc84afa46e896ecb"},"5c6fb0ea0b8fad4f8852f29b656e125cc91e1c4da827d2778bf1a168984434f0":{"translations":{"python":{"source":"api = appsync.GraphqlApi(self, \"Api\",\n name=\"demo\",\n schema=appsync.Schema.from_asset(path.join(__dirname, \"schema.graphql\")),\n authorization_config=appsync.AuthorizationConfig(\n default_authorization=appsync.AuthorizationMode(\n authorization_type=appsync.AuthorizationType.IAM\n )\n ),\n xray_enabled=True\n)\n\ndemo_table = dynamodb.Table(self, \"DemoTable\",\n partition_key=dynamodb.Attribute(\n name=\"id\",\n type=dynamodb.AttributeType.STRING\n )\n)\n\ndemo_dS = api.add_dynamo_db_data_source(\"demoDataSource\", demo_table)\n\n# Resolver for the Query \"getDemos\" that scans the DynamoDb table and returns the entire list.\ndemo_dS.create_resolver(\n type_name=\"Query\",\n field_name=\"getDemos\",\n request_mapping_template=appsync.MappingTemplate.dynamo_db_scan_table(),\n response_mapping_template=appsync.MappingTemplate.dynamo_db_result_list()\n)\n\n# Resolver for the Mutation \"addDemo\" that puts the item into the DynamoDb table.\ndemo_dS.create_resolver(\n type_name=\"Mutation\",\n field_name=\"addDemo\",\n request_mapping_template=appsync.MappingTemplate.dynamo_db_put_item(\n appsync.PrimaryKey.partition(\"id\").auto(),\n appsync.Values.projecting(\"input\")),\n response_mapping_template=appsync.MappingTemplate.dynamo_db_result_item()\n)","version":"2"},"csharp":{"source":"var api = new GraphqlApi(this, \"Api\", new GraphqlApiProps {\n Name = \"demo\",\n Schema = Schema.FromAsset(Join(__dirname, \"schema.graphql\")),\n AuthorizationConfig = new AuthorizationConfig {\n DefaultAuthorization = new AuthorizationMode {\n AuthorizationType = AuthorizationType.IAM\n }\n },\n XrayEnabled = true\n});\n\nvar demoTable = new Table(this, \"DemoTable\", new TableProps {\n PartitionKey = new Attribute {\n Name = \"id\",\n Type = AttributeType.STRING\n }\n});\n\nvar demoDS = api.AddDynamoDbDataSource(\"demoDataSource\", demoTable);\n\n// Resolver for the Query \"getDemos\" that scans the DynamoDb table and returns the entire list.\ndemoDS.CreateResolver(new BaseResolverProps {\n TypeName = \"Query\",\n FieldName = \"getDemos\",\n RequestMappingTemplate = MappingTemplate.DynamoDbScanTable(),\n ResponseMappingTemplate = MappingTemplate.DynamoDbResultList()\n});\n\n// Resolver for the Mutation \"addDemo\" that puts the item into the DynamoDb table.\ndemoDS.CreateResolver(new BaseResolverProps {\n TypeName = \"Mutation\",\n FieldName = \"addDemo\",\n RequestMappingTemplate = MappingTemplate.DynamoDbPutItem(PrimaryKey.Partition(\"id\").Auto(), Values.Projecting(\"input\")),\n ResponseMappingTemplate = MappingTemplate.DynamoDbResultItem()\n});","version":"1"},"java":{"source":"GraphqlApi api = GraphqlApi.Builder.create(this, \"Api\")\n .name(\"demo\")\n .schema(Schema.fromAsset(join(__dirname, \"schema.graphql\")))\n .authorizationConfig(AuthorizationConfig.builder()\n .defaultAuthorization(AuthorizationMode.builder()\n .authorizationType(AuthorizationType.IAM)\n .build())\n .build())\n .xrayEnabled(true)\n .build();\n\nTable demoTable = Table.Builder.create(this, \"DemoTable\")\n .partitionKey(Attribute.builder()\n .name(\"id\")\n .type(AttributeType.STRING)\n .build())\n .build();\n\nDynamoDbDataSource demoDS = api.addDynamoDbDataSource(\"demoDataSource\", demoTable);\n\n// Resolver for the Query \"getDemos\" that scans the DynamoDb table and returns the entire list.\ndemoDS.createResolver(BaseResolverProps.builder()\n .typeName(\"Query\")\n .fieldName(\"getDemos\")\n .requestMappingTemplate(MappingTemplate.dynamoDbScanTable())\n .responseMappingTemplate(MappingTemplate.dynamoDbResultList())\n .build());\n\n// Resolver for the Mutation \"addDemo\" that puts the item into the DynamoDb table.\ndemoDS.createResolver(BaseResolverProps.builder()\n .typeName(\"Mutation\")\n .fieldName(\"addDemo\")\n .requestMappingTemplate(MappingTemplate.dynamoDbPutItem(PrimaryKey.partition(\"id\").auto(), Values.projecting(\"input\")))\n .responseMappingTemplate(MappingTemplate.dynamoDbResultItem())\n .build());","version":"1"},"go":{"source":"api := appsync.NewGraphqlApi(this, jsii.String(\"Api\"), &GraphqlApiProps{\n\tName: jsii.String(\"demo\"),\n\tSchema: appsync.Schema_FromAsset(path.join(__dirname, jsii.String(\"schema.graphql\"))),\n\tAuthorizationConfig: &AuthorizationConfig{\n\t\tDefaultAuthorization: &AuthorizationMode{\n\t\t\tAuthorizationType: appsync.AuthorizationType_IAM,\n\t\t},\n\t},\n\tXrayEnabled: jsii.Boolean(true),\n})\n\ndemoTable := dynamodb.NewTable(this, jsii.String(\"DemoTable\"), &TableProps{\n\tPartitionKey: &Attribute{\n\t\tName: jsii.String(\"id\"),\n\t\tType: dynamodb.AttributeType_STRING,\n\t},\n})\n\ndemoDS := api.AddDynamoDbDataSource(jsii.String(\"demoDataSource\"), demoTable)\n\n// Resolver for the Query \"getDemos\" that scans the DynamoDb table and returns the entire list.\ndemoDS.CreateResolver(&BaseResolverProps{\n\tTypeName: jsii.String(\"Query\"),\n\tFieldName: jsii.String(\"getDemos\"),\n\tRequestMappingTemplate: appsync.MappingTemplate_DynamoDbScanTable(),\n\tResponseMappingTemplate: appsync.MappingTemplate_DynamoDbResultList(),\n})\n\n// Resolver for the Mutation \"addDemo\" that puts the item into the DynamoDb table.\ndemoDS.CreateResolver(&BaseResolverProps{\n\tTypeName: jsii.String(\"Mutation\"),\n\tFieldName: jsii.String(\"addDemo\"),\n\tRequestMappingTemplate: appsync.MappingTemplate_DynamoDbPutItem(appsync.PrimaryKey_Partition(jsii.String(\"id\")).Auto(), appsync.Values_Projecting(jsii.String(\"input\"))),\n\tResponseMappingTemplate: appsync.MappingTemplate_DynamoDbResultItem(),\n})","version":"1"},"$":{"source":"const api = new appsync.GraphqlApi(this, 'Api', {\n name: 'demo',\n schema: appsync.Schema.fromAsset(path.join(__dirname, 'schema.graphql')),\n authorizationConfig: {\n defaultAuthorization: {\n authorizationType: appsync.AuthorizationType.IAM,\n },\n },\n xrayEnabled: true,\n});\n\nconst demoTable = new dynamodb.Table(this, 'DemoTable', {\n partitionKey: {\n name: 'id',\n type: dynamodb.AttributeType.STRING,\n },\n});\n\nconst demoDS = api.addDynamoDbDataSource('demoDataSource', demoTable);\n\n// Resolver for the Query \"getDemos\" that scans the DynamoDb table and returns the entire list.\ndemoDS.createResolver({\n typeName: 'Query',\n fieldName: 'getDemos',\n requestMappingTemplate: appsync.MappingTemplate.dynamoDbScanTable(),\n responseMappingTemplate: appsync.MappingTemplate.dynamoDbResultList(),\n});\n\n// Resolver for the Mutation \"addDemo\" that puts the item into the DynamoDb table.\ndemoDS.createResolver({\n typeName: 'Mutation',\n fieldName: 'addDemo',\n requestMappingTemplate: appsync.MappingTemplate.dynamoDbPutItem(\n appsync.PrimaryKey.partition('id').auto(),\n appsync.Values.projecting('input'),\n ),\n responseMappingTemplate: appsync.MappingTemplate.dynamoDbResultItem(),\n});","version":"0"}},"location":{"api":{"api":"type","fqn":"@aws-cdk/aws-appsync.PrimaryKey"},"field":{"field":"example"}},"didCompile":true,"fqnsReferenced":["@aws-cdk/aws-appsync.AttributeValues","@aws-cdk/aws-appsync.AuthorizationConfig","@aws-cdk/aws-appsync.AuthorizationMode","@aws-cdk/aws-appsync.AuthorizationType","@aws-cdk/aws-appsync.AuthorizationType#IAM","@aws-cdk/aws-appsync.BaseDataSource#createResolver","@aws-cdk/aws-appsync.BaseResolverProps","@aws-cdk/aws-appsync.DynamoDbDataSource","@aws-cdk/aws-appsync.GraphqlApi","@aws-cdk/aws-appsync.GraphqlApiBase#addDynamoDbDataSource","@aws-cdk/aws-appsync.GraphqlApiProps","@aws-cdk/aws-appsync.MappingTemplate","@aws-cdk/aws-appsync.MappingTemplate#dynamoDbPutItem","@aws-cdk/aws-appsync.MappingTemplate#dynamoDbResultItem","@aws-cdk/aws-appsync.MappingTemplate#dynamoDbResultList","@aws-cdk/aws-appsync.MappingTemplate#dynamoDbScanTable","@aws-cdk/aws-appsync.PartitionKeyStep#auto","@aws-cdk/aws-appsync.PrimaryKey","@aws-cdk/aws-appsync.PrimaryKey#partition","@aws-cdk/aws-appsync.Schema","@aws-cdk/aws-appsync.Schema#fromAsset","@aws-cdk/aws-appsync.Values","@aws-cdk/aws-appsync.Values#projecting","@aws-cdk/aws-dynamodb.Attribute","@aws-cdk/aws-dynamodb.AttributeType","@aws-cdk/aws-dynamodb.AttributeType#STRING","@aws-cdk/aws-dynamodb.ITable","@aws-cdk/aws-dynamodb.Table","@aws-cdk/aws-dynamodb.TableProps","constructs.Construct"],"fullSource":"// Fixture with packages imported, but nothing else\nimport { Construct } from 'constructs';\nimport { RemovalPolicy, Stack } from '@aws-cdk/core';\nimport appsync = require('@aws-cdk/aws-appsync');\nimport ec2 = require('@aws-cdk/aws-ec2');\nimport dynamodb = require('@aws-cdk/aws-dynamodb');\nimport iam = require('@aws-cdk/aws-iam');\nimport rds = require('@aws-cdk/aws-rds');\nimport path = require('path');\n\nclass Fixture extends Stack {\n constructor(scope: Construct, id: string) {\n super(scope, id);\n // Code snippet begins after !show marker below\n/// !show\nconst api = new appsync.GraphqlApi(this, 'Api', {\n name: 'demo',\n schema: appsync.Schema.fromAsset(path.join(__dirname, 'schema.graphql')),\n authorizationConfig: {\n defaultAuthorization: {\n authorizationType: appsync.AuthorizationType.IAM,\n },\n },\n xrayEnabled: true,\n});\n\nconst demoTable = new dynamodb.Table(this, 'DemoTable', {\n partitionKey: {\n name: 'id',\n type: dynamodb.AttributeType.STRING,\n },\n});\n\nconst demoDS = api.addDynamoDbDataSource('demoDataSource', demoTable);\n\n// Resolver for the Query \"getDemos\" that scans the DynamoDb table and returns the entire list.\ndemoDS.createResolver({\n typeName: 'Query',\n fieldName: 'getDemos',\n requestMappingTemplate: appsync.MappingTemplate.dynamoDbScanTable(),\n responseMappingTemplate: appsync.MappingTemplate.dynamoDbResultList(),\n});\n\n// Resolver for the Mutation \"addDemo\" that puts the item into the DynamoDb table.\ndemoDS.createResolver({\n typeName: 'Mutation',\n fieldName: 'addDemo',\n requestMappingTemplate: appsync.MappingTemplate.dynamoDbPutItem(\n appsync.PrimaryKey.partition('id').auto(),\n appsync.Values.projecting('input'),\n ),\n responseMappingTemplate: appsync.MappingTemplate.dynamoDbResultItem(),\n});\n/// !hide\n// Code snippet ended before !hide marker above\n }\n}\n","syntaxKindCounter":{"10":12,"75":62,"104":2,"106":1,"193":7,"194":25,"196":12,"197":2,"225":3,"226":2,"242":3,"243":3,"281":17},"fqnsFingerprint":"5e70d7ba2ab2d468126c46d474cb1c8201cf1abcfcdb9adfd0c3a8c047de1b0e"},"32893bf1247c5109d757bdfa12a3b8ba6e9c64d7362e904cd2e2f602ddacaf19":{"translations":{"python":{"source":"# Build a data source for AppSync to access the database.\n# api: appsync.GraphqlApi\n# Create username and password secret for DB Cluster\nsecret = rds.DatabaseSecret(self, \"AuroraSecret\",\n username=\"clusteradmin\"\n)\n\n# The VPC to place the cluster in\nvpc = ec2.Vpc(self, \"AuroraVpc\")\n\n# Create the serverless cluster, provide all values needed to customise the database.\ncluster = rds.ServerlessCluster(self, \"AuroraCluster\",\n engine=rds.DatabaseClusterEngine.AURORA_MYSQL,\n vpc=vpc,\n credentials={\"username\": \"clusteradmin\"},\n cluster_identifier=\"db-endpoint-test\",\n default_database_name=\"demos\"\n)\nrds_dS = api.add_rds_data_source(\"rds\", cluster, secret, \"demos\")\n\n# Set up a resolver for an RDS query.\nrds_dS.create_resolver(\n type_name=\"Query\",\n field_name=\"getDemosRds\",\n request_mapping_template=appsync.MappingTemplate.from_string(\"\"\"\n {\n \"version\": \"2018-05-29\",\n \"statements\": [\n \"SELECT * FROM demos\"\n ]\n }\n \"\"\"),\n response_mapping_template=appsync.MappingTemplate.from_string(\"\"\"\n $utils.toJson($utils.rds.toJsonObject($ctx.result)[0])\n \"\"\")\n)\n\n# Set up a resolver for an RDS mutation.\nrds_dS.create_resolver(\n type_name=\"Mutation\",\n field_name=\"addDemoRds\",\n request_mapping_template=appsync.MappingTemplate.from_string(\"\"\"\n {\n \"version\": \"2018-05-29\",\n \"statements\": [\n \"INSERT INTO demos VALUES (:id, :version)\",\n \"SELECT * WHERE id = :id\"\n ],\n \"variableMap\": {\n \":id\": $util.toJson($util.autoId()),\n \":version\": $util.toJson($ctx.args.version)\n }\n }\n \"\"\"),\n response_mapping_template=appsync.MappingTemplate.from_string(\"\"\"\n $utils.toJson($utils.rds.toJsonObject($ctx.result)[1][0])\n \"\"\")\n)","version":"2"},"csharp":{"source":"// Build a data source for AppSync to access the database.\nGraphqlApi api;\n// Create username and password secret for DB Cluster\nvar secret = new DatabaseSecret(this, \"AuroraSecret\", new DatabaseSecretProps {\n Username = \"clusteradmin\"\n});\n\n// The VPC to place the cluster in\nvar vpc = new Vpc(this, \"AuroraVpc\");\n\n// Create the serverless cluster, provide all values needed to customise the database.\nvar cluster = new ServerlessCluster(this, \"AuroraCluster\", new ServerlessClusterProps {\n Engine = DatabaseClusterEngine.AURORA_MYSQL,\n Vpc = vpc,\n Credentials = new Dictionary { { \"username\", \"clusteradmin\" } },\n ClusterIdentifier = \"db-endpoint-test\",\n DefaultDatabaseName = \"demos\"\n});\nvar rdsDS = api.AddRdsDataSource(\"rds\", cluster, secret, \"demos\");\n\n// Set up a resolver for an RDS query.\nrdsDS.CreateResolver(new BaseResolverProps {\n TypeName = \"Query\",\n FieldName = \"getDemosRds\",\n RequestMappingTemplate = MappingTemplate.FromString(@\"\n {\n \"\"version\"\": \"\"2018-05-29\"\",\n \"\"statements\"\": [\n \"\"SELECT * FROM demos\"\"\n ]\n }\n \"),\n ResponseMappingTemplate = MappingTemplate.FromString(@\"\n $utils.toJson($utils.rds.toJsonObject($ctx.result)[0])\n \")\n});\n\n// Set up a resolver for an RDS mutation.\nrdsDS.CreateResolver(new BaseResolverProps {\n TypeName = \"Mutation\",\n FieldName = \"addDemoRds\",\n RequestMappingTemplate = MappingTemplate.FromString(@\"\n {\n \"\"version\"\": \"\"2018-05-29\"\",\n \"\"statements\"\": [\n \"\"INSERT INTO demos VALUES (:id, :version)\"\",\n \"\"SELECT * WHERE id = :id\"\"\n ],\n \"\"variableMap\"\": {\n \"\":id\"\": $util.toJson($util.autoId()),\n \"\":version\"\": $util.toJson($ctx.args.version)\n }\n }\n \"),\n ResponseMappingTemplate = MappingTemplate.FromString(@\"\n $utils.toJson($utils.rds.toJsonObject($ctx.result)[1][0])\n \")\n});","version":"1"},"java":{"source":"// Build a data source for AppSync to access the database.\nGraphqlApi api;\n// Create username and password secret for DB Cluster\nDatabaseSecret secret = DatabaseSecret.Builder.create(this, \"AuroraSecret\")\n .username(\"clusteradmin\")\n .build();\n\n// The VPC to place the cluster in\nVpc vpc = new Vpc(this, \"AuroraVpc\");\n\n// Create the serverless cluster, provide all values needed to customise the database.\nServerlessCluster cluster = ServerlessCluster.Builder.create(this, \"AuroraCluster\")\n .engine(DatabaseClusterEngine.AURORA_MYSQL)\n .vpc(vpc)\n .credentials(Map.of(\"username\", \"clusteradmin\"))\n .clusterIdentifier(\"db-endpoint-test\")\n .defaultDatabaseName(\"demos\")\n .build();\nRdsDataSource rdsDS = api.addRdsDataSource(\"rds\", cluster, secret, \"demos\");\n\n// Set up a resolver for an RDS query.\nrdsDS.createResolver(BaseResolverProps.builder()\n .typeName(\"Query\")\n .fieldName(\"getDemosRds\")\n .requestMappingTemplate(MappingTemplate.fromString(\"\\n {\\n \\\"version\\\": \\\"2018-05-29\\\",\\n \\\"statements\\\": [\\n \\\"SELECT * FROM demos\\\"\\n ]\\n }\\n \"))\n .responseMappingTemplate(MappingTemplate.fromString(\"\\n $utils.toJson($utils.rds.toJsonObject($ctx.result)[0])\\n \"))\n .build());\n\n// Set up a resolver for an RDS mutation.\nrdsDS.createResolver(BaseResolverProps.builder()\n .typeName(\"Mutation\")\n .fieldName(\"addDemoRds\")\n .requestMappingTemplate(MappingTemplate.fromString(\"\\n {\\n \\\"version\\\": \\\"2018-05-29\\\",\\n \\\"statements\\\": [\\n \\\"INSERT INTO demos VALUES (:id, :version)\\\",\\n \\\"SELECT * WHERE id = :id\\\"\\n ],\\n \\\"variableMap\\\": {\\n \\\":id\\\": $util.toJson($util.autoId()),\\n \\\":version\\\": $util.toJson($ctx.args.version)\\n }\\n }\\n \"))\n .responseMappingTemplate(MappingTemplate.fromString(\"\\n $utils.toJson($utils.rds.toJsonObject($ctx.result)[1][0])\\n \"))\n .build());","version":"1"},"go":{"source":"// Build a data source for AppSync to access the database.\nvar api graphqlApi\n// Create username and password secret for DB Cluster\nsecret := rds.NewDatabaseSecret(this, jsii.String(\"AuroraSecret\"), &DatabaseSecretProps{\n\tUsername: jsii.String(\"clusteradmin\"),\n})\n\n// The VPC to place the cluster in\nvpc := ec2.NewVpc(this, jsii.String(\"AuroraVpc\"))\n\n// Create the serverless cluster, provide all values needed to customise the database.\ncluster := rds.NewServerlessCluster(this, jsii.String(\"AuroraCluster\"), &ServerlessClusterProps{\n\tEngine: rds.DatabaseClusterEngine_AURORA_MYSQL(),\n\tVpc: Vpc,\n\tCredentials: map[string]*string{\n\t\t\"username\": jsii.String(\"clusteradmin\"),\n\t},\n\tClusterIdentifier: jsii.String(\"db-endpoint-test\"),\n\tDefaultDatabaseName: jsii.String(\"demos\"),\n})\nrdsDS := api.AddRdsDataSource(jsii.String(\"rds\"), cluster, secret, jsii.String(\"demos\"))\n\n// Set up a resolver for an RDS query.\nrdsDS.CreateResolver(&BaseResolverProps{\n\tTypeName: jsii.String(\"Query\"),\n\tFieldName: jsii.String(\"getDemosRds\"),\n\tRequestMappingTemplate: appsync.MappingTemplate_FromString(jsii.String(`\n\t {\n\t \"version\": \"2018-05-29\",\n\t \"statements\": [\n\t \"SELECT * FROM demos\"\n\t ]\n\t }\n\t `)),\n\tResponseMappingTemplate: appsync.MappingTemplate_*FromString(jsii.String(`\n\t $utils.toJson($utils.rds.toJsonObject($ctx.result)[0])\n\t `)),\n})\n\n// Set up a resolver for an RDS mutation.\nrdsDS.CreateResolver(&BaseResolverProps{\n\tTypeName: jsii.String(\"Mutation\"),\n\tFieldName: jsii.String(\"addDemoRds\"),\n\tRequestMappingTemplate: appsync.MappingTemplate_*FromString(jsii.String(`\n\t {\n\t \"version\": \"2018-05-29\",\n\t \"statements\": [\n\t \"INSERT INTO demos VALUES (:id, :version)\",\n\t \"SELECT * WHERE id = :id\"\n\t ],\n\t \"variableMap\": {\n\t \":id\": $util.toJson($util.autoId()),\n\t \":version\": $util.toJson($ctx.args.version)\n\t }\n\t }\n\t `)),\n\tResponseMappingTemplate: appsync.MappingTemplate_*FromString(jsii.String(`\n\t $utils.toJson($utils.rds.toJsonObject($ctx.result)[1][0])\n\t `)),\n})","version":"1"},"$":{"source":"// Create username and password secret for DB Cluster\nconst secret = new rds.DatabaseSecret(this, 'AuroraSecret', {\n username: 'clusteradmin',\n});\n\n// The VPC to place the cluster in\nconst vpc = new ec2.Vpc(this, 'AuroraVpc');\n\n// Create the serverless cluster, provide all values needed to customise the database.\nconst cluster = new rds.ServerlessCluster(this, 'AuroraCluster', {\n engine: rds.DatabaseClusterEngine.AURORA_MYSQL,\n vpc,\n credentials: { username: 'clusteradmin' },\n clusterIdentifier: 'db-endpoint-test',\n defaultDatabaseName: 'demos',\n});\n\n// Build a data source for AppSync to access the database.\ndeclare const api: appsync.GraphqlApi;\nconst rdsDS = api.addRdsDataSource('rds', cluster, secret, 'demos');\n\n// Set up a resolver for an RDS query.\nrdsDS.createResolver({\n typeName: 'Query',\n fieldName: 'getDemosRds',\n requestMappingTemplate: appsync.MappingTemplate.fromString(`\n {\n \"version\": \"2018-05-29\",\n \"statements\": [\n \"SELECT * FROM demos\"\n ]\n }\n `),\n responseMappingTemplate: appsync.MappingTemplate.fromString(`\n $utils.toJson($utils.rds.toJsonObject($ctx.result)[0])\n `),\n});\n\n// Set up a resolver for an RDS mutation.\nrdsDS.createResolver({\n typeName: 'Mutation',\n fieldName: 'addDemoRds',\n requestMappingTemplate: appsync.MappingTemplate.fromString(`\n {\n \"version\": \"2018-05-29\",\n \"statements\": [\n \"INSERT INTO demos VALUES (:id, :version)\",\n \"SELECT * WHERE id = :id\"\n ],\n \"variableMap\": {\n \":id\": $util.toJson($util.autoId()),\n \":version\": $util.toJson($ctx.args.version)\n }\n }\n `),\n responseMappingTemplate: appsync.MappingTemplate.fromString(`\n $utils.toJson($utils.rds.toJsonObject($ctx.result)[1][0])\n `),\n});","version":"0"}},"location":{"api":{"api":"type","fqn":"@aws-cdk/aws-appsync.RdsDataSource"},"field":{"field":"example"}},"didCompile":true,"fqnsReferenced":["@aws-cdk/aws-appsync.BaseDataSource#createResolver","@aws-cdk/aws-appsync.BaseResolverProps","@aws-cdk/aws-appsync.GraphqlApiBase#addRdsDataSource","@aws-cdk/aws-appsync.MappingTemplate","@aws-cdk/aws-appsync.MappingTemplate#fromString","@aws-cdk/aws-appsync.RdsDataSource","@aws-cdk/aws-ec2.IVpc","@aws-cdk/aws-ec2.Vpc","@aws-cdk/aws-rds.Credentials","@aws-cdk/aws-rds.DatabaseClusterEngine","@aws-cdk/aws-rds.DatabaseClusterEngine#AURORA_MYSQL","@aws-cdk/aws-rds.DatabaseSecret","@aws-cdk/aws-rds.DatabaseSecretProps","@aws-cdk/aws-rds.IClusterEngine","@aws-cdk/aws-rds.IServerlessCluster","@aws-cdk/aws-rds.ServerlessCluster","@aws-cdk/aws-rds.ServerlessClusterProps","@aws-cdk/aws-secretsmanager.ISecret","constructs.Construct"],"fullSource":"// Hoisted imports begin after !show marker below\n/// !show\n\n\n// Build a data source for AppSync to access the database.\ndeclare const api: appsync.GraphqlApi;\n/// !hide\n// Hoisted imports ended before !hide marker above\n// Fixture with packages imported, but nothing else\nimport { Construct } from 'constructs';\nimport { RemovalPolicy, Stack } from '@aws-cdk/core';\nimport appsync = require('@aws-cdk/aws-appsync');\nimport ec2 = require('@aws-cdk/aws-ec2');\nimport dynamodb = require('@aws-cdk/aws-dynamodb');\nimport iam = require('@aws-cdk/aws-iam');\nimport rds = require('@aws-cdk/aws-rds');\nimport path = require('path');\n\nclass Fixture extends Stack {\n constructor(scope: Construct, id: string) {\n super(scope, id);\n // Code snippet begins after !show marker below\n/// !show\n// Create username and password secret for DB Cluster\nconst secret = new rds.DatabaseSecret(this, 'AuroraSecret', {\n username: 'clusteradmin',\n});\n\n// The VPC to place the cluster in\nconst vpc = new ec2.Vpc(this, 'AuroraVpc');\n\n// Create the serverless cluster, provide all values needed to customise the database.\nconst cluster = new rds.ServerlessCluster(this, 'AuroraCluster', {\n engine: rds.DatabaseClusterEngine.AURORA_MYSQL,\n vpc,\n credentials: { username: 'clusteradmin' },\n clusterIdentifier: 'db-endpoint-test',\n defaultDatabaseName: 'demos',\n});\nconst rdsDS = api.addRdsDataSource('rds', cluster, secret, 'demos');\n\n// Set up a resolver for an RDS query.\nrdsDS.createResolver({\n typeName: 'Query',\n fieldName: 'getDemosRds',\n requestMappingTemplate: appsync.MappingTemplate.fromString(`\n {\n \"version\": \"2018-05-29\",\n \"statements\": [\n \"SELECT * FROM demos\"\n ]\n }\n `),\n responseMappingTemplate: appsync.MappingTemplate.fromString(`\n $utils.toJson($utils.rds.toJsonObject($ctx.result)[0])\n `),\n});\n\n// Set up a resolver for an RDS mutation.\nrdsDS.createResolver({\n typeName: 'Mutation',\n fieldName: 'addDemoRds',\n requestMappingTemplate: appsync.MappingTemplate.fromString(`\n {\n \"version\": \"2018-05-29\",\n \"statements\": [\n \"INSERT INTO demos VALUES (:id, :version)\",\n \"SELECT * WHERE id = :id\"\n ],\n \"variableMap\": {\n \":id\": $util.toJson($util.autoId()),\n \":version\": $util.toJson($ctx.args.version)\n }\n }\n `),\n responseMappingTemplate: appsync.MappingTemplate.fromString(`\n $utils.toJson($utils.rds.toJsonObject($ctx.result)[1][0])\n `),\n});\n/// !hide\n// Code snippet ended before !hide marker above\n }\n}\n","syntaxKindCounter":{"10":13,"14":4,"75":51,"104":3,"130":1,"153":1,"169":1,"193":5,"194":16,"196":7,"197":3,"225":5,"226":2,"242":5,"243":5,"281":14,"282":1,"290":1},"fqnsFingerprint":"8d41eadbaa2333c2e3fededd0444806421aac9db30339899e7cc89d80338bec5"},"dbaf71b926503241f0155ce9ae9d681cbf01d9871bb6bec8086f911f788ecb66":{"translations":{"python":{"source":"# The code below shows an example of how to instantiate this type.\n# The values are placeholders you should change.\nimport aws_cdk.aws_appsync as appsync\nimport aws_cdk.aws_iam as iam\nimport aws_cdk.aws_rds as rds\nimport aws_cdk.aws_secretsmanager as secretsmanager\n\n# graphql_api: appsync.GraphqlApi\n# role: iam.Role\n# secret: secretsmanager.Secret\n# serverless_cluster: rds.ServerlessCluster\n\nrds_data_source_props = appsync.RdsDataSourceProps(\n api=graphql_api,\n secret_store=secret,\n serverless_cluster=serverless_cluster,\n\n # the properties below are optional\n database_name=\"databaseName\",\n description=\"description\",\n name=\"name\",\n service_role=role\n)","version":"2"},"csharp":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nusing Amazon.CDK.AWS.AppSync;\nusing Amazon.CDK.AWS.IAM;\nusing Amazon.CDK.AWS.RDS;\nusing Amazon.CDK.AWS.SecretsManager;\n\nGraphqlApi graphqlApi;\nRole role;\nSecret secret;\nServerlessCluster serverlessCluster;\n\nvar rdsDataSourceProps = new RdsDataSourceProps {\n Api = graphqlApi,\n SecretStore = secret,\n ServerlessCluster = serverlessCluster,\n\n // the properties below are optional\n DatabaseName = \"databaseName\",\n Description = \"description\",\n Name = \"name\",\n ServiceRole = role\n};","version":"1"},"java":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport software.amazon.awscdk.services.appsync.*;\nimport software.amazon.awscdk.services.iam.*;\nimport software.amazon.awscdk.services.rds.*;\nimport software.amazon.awscdk.services.secretsmanager.*;\n\nGraphqlApi graphqlApi;\nRole role;\nSecret secret;\nServerlessCluster serverlessCluster;\n\nRdsDataSourceProps rdsDataSourceProps = RdsDataSourceProps.builder()\n .api(graphqlApi)\n .secretStore(secret)\n .serverlessCluster(serverlessCluster)\n\n // the properties below are optional\n .databaseName(\"databaseName\")\n .description(\"description\")\n .name(\"name\")\n .serviceRole(role)\n .build();","version":"1"},"go":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport appsync \"github.com/aws-samples/dummy/awscdkawsappsync\"\nimport iam \"github.com/aws-samples/dummy/awscdkawsiam\"\nimport rds \"github.com/aws-samples/dummy/awscdkawsrds\"\nimport secretsmanager \"github.com/aws-samples/dummy/awscdkawssecretsmanager\"\n\nvar graphqlApi graphqlApi\nvar role role\nvar secret secret\nvar serverlessCluster serverlessCluster\n\nrdsDataSourceProps := &RdsDataSourceProps{\n\tApi: graphqlApi,\n\tSecretStore: secret,\n\tServerlessCluster: serverlessCluster,\n\n\t// the properties below are optional\n\tDatabaseName: jsii.String(\"databaseName\"),\n\tDescription: jsii.String(\"description\"),\n\tName: jsii.String(\"name\"),\n\tServiceRole: role,\n}","version":"1"},"$":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as appsync from '@aws-cdk/aws-appsync';\nimport * as iam from '@aws-cdk/aws-iam';\nimport * as rds from '@aws-cdk/aws-rds';\nimport * as secretsmanager from '@aws-cdk/aws-secretsmanager';\n\ndeclare const graphqlApi: appsync.GraphqlApi;\ndeclare const role: iam.Role;\ndeclare const secret: secretsmanager.Secret;\ndeclare const serverlessCluster: rds.ServerlessCluster;\nconst rdsDataSourceProps: appsync.RdsDataSourceProps = {\n api: graphqlApi,\n secretStore: secret,\n serverlessCluster: serverlessCluster,\n\n // the properties below are optional\n databaseName: 'databaseName',\n description: 'description',\n name: 'name',\n serviceRole: role,\n};","version":"0"}},"location":{"api":{"api":"type","fqn":"@aws-cdk/aws-appsync.RdsDataSourceProps"},"field":{"field":"example"}},"didCompile":true,"fqnsReferenced":["@aws-cdk/aws-appsync.IGraphqlApi","@aws-cdk/aws-appsync.RdsDataSourceProps","@aws-cdk/aws-iam.IRole","@aws-cdk/aws-rds.IServerlessCluster","@aws-cdk/aws-secretsmanager.ISecret"],"fullSource":"// Hoisted imports begin after !show marker below\n/// !show\n// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as appsync from '@aws-cdk/aws-appsync';\nimport * as iam from '@aws-cdk/aws-iam';\nimport * as rds from '@aws-cdk/aws-rds';\nimport * as secretsmanager from '@aws-cdk/aws-secretsmanager';\n\ndeclare const graphqlApi: appsync.GraphqlApi;\ndeclare const role: iam.Role;\ndeclare const secret: secretsmanager.Secret;\ndeclare const serverlessCluster: rds.ServerlessCluster;\n/// !hide\n// Hoisted imports ended before !hide marker above\nimport { Construct } from \"@aws-cdk/core\";\nclass MyConstruct extends Construct {\nconstructor(scope: Construct, id: string) {\nsuper(scope, id);\n// Code snippet begins after !show marker below\n/// !show\n\nconst rdsDataSourceProps: appsync.RdsDataSourceProps = {\n api: graphqlApi,\n secretStore: secret,\n serverlessCluster: serverlessCluster,\n\n // the properties below are optional\n databaseName: 'databaseName',\n description: 'description',\n name: 'name',\n serviceRole: role,\n};\n/// !hide\n// Code snippet ended before !hide marker above\n} }","syntaxKindCounter":{"10":7,"75":30,"130":4,"153":5,"169":5,"193":1,"225":5,"242":5,"243":5,"254":4,"255":4,"256":4,"281":7,"290":1},"fqnsFingerprint":"aed0a716bcac49805a3fbd30a0e5d4b4613ba21fff5d1c538465269a930946f9"},"67d5ce535f882e4d9b2e529cff4c0bd9845aae863884bff0766d7f62f7d8ce54":{"translations":{"python":{"source":"# api: appsync.GraphqlApi\n# dummy_request: appsync.MappingTemplate\n# dummy_response: appsync.MappingTemplate\n\ninfo = appsync.ObjectType(\"Info\",\n definition={\n \"node\": appsync.ResolvableField(\n return_type=appsync.GraphqlType.string(),\n args={\n \"id\": appsync.GraphqlType.string()\n },\n data_source=api.add_none_data_source(\"none\"),\n request_mapping_template=dummy_request,\n response_mapping_template=dummy_response\n )\n }\n)","version":"2"},"csharp":{"source":"GraphqlApi api;\nMappingTemplate dummyRequest;\nMappingTemplate dummyResponse;\n\nvar info = new ObjectType(\"Info\", new ObjectTypeOptions {\n Definition = new Dictionary {\n { \"node\", new ResolvableField(new ResolvableFieldOptions {\n ReturnType = GraphqlType.String(),\n Args = new Dictionary {\n { \"id\", GraphqlType.String() }\n },\n DataSource = api.AddNoneDataSource(\"none\"),\n RequestMappingTemplate = dummyRequest,\n ResponseMappingTemplate = dummyResponse\n }) }\n }\n});","version":"1"},"java":{"source":"GraphqlApi api;\nMappingTemplate dummyRequest;\nMappingTemplate dummyResponse;\n\nObjectType info = ObjectType.Builder.create(\"Info\")\n .definition(Map.of(\n \"node\", ResolvableField.Builder.create()\n .returnType(GraphqlType.string())\n .args(Map.of(\n \"id\", GraphqlType.string()))\n .dataSource(api.addNoneDataSource(\"none\"))\n .requestMappingTemplate(dummyRequest)\n .responseMappingTemplate(dummyResponse)\n .build()))\n .build();","version":"1"},"go":{"source":"var api graphqlApi\nvar dummyRequest mappingTemplate\nvar dummyResponse mappingTemplate\n\ninfo := appsync.NewObjectType(jsii.String(\"Info\"), &ObjectTypeOptions{\n\tDefinition: map[string]iField{\n\t\t\"node\": appsync.NewResolvableField(&ResolvableFieldOptions{\n\t\t\t\"returnType\": appsync.GraphqlType_string(),\n\t\t\t\"args\": map[string]GraphqlType{\n\t\t\t\t\"id\": appsync.GraphqlType_string(),\n\t\t\t},\n\t\t\t\"dataSource\": api.addNoneDataSource(jsii.String(\"none\")),\n\t\t\t\"requestMappingTemplate\": dummyRequest,\n\t\t\t\"responseMappingTemplate\": dummyResponse,\n\t\t}),\n\t},\n})","version":"1"},"$":{"source":"declare const api: appsync.GraphqlApi;\ndeclare const dummyRequest: appsync.MappingTemplate;\ndeclare const dummyResponse: appsync.MappingTemplate;\nconst info = new appsync.ObjectType('Info', {\n definition: {\n node: new appsync.ResolvableField({\n returnType: appsync.GraphqlType.string(),\n args: {\n id: appsync.GraphqlType.string(),\n },\n dataSource: api.addNoneDataSource('none'),\n requestMappingTemplate: dummyRequest,\n responseMappingTemplate: dummyResponse,\n }),\n },\n});","version":"0"}},"location":{"api":{"api":"type","fqn":"@aws-cdk/aws-appsync.ResolvableField"},"field":{"field":"example"}},"didCompile":true,"fqnsReferenced":["@aws-cdk/aws-appsync.BaseDataSource","@aws-cdk/aws-appsync.GraphqlApiBase#addNoneDataSource","@aws-cdk/aws-appsync.GraphqlType","@aws-cdk/aws-appsync.GraphqlType#string","@aws-cdk/aws-appsync.IField","@aws-cdk/aws-appsync.MappingTemplate","@aws-cdk/aws-appsync.ObjectType","@aws-cdk/aws-appsync.ObjectTypeOptions","@aws-cdk/aws-appsync.ResolvableField","@aws-cdk/aws-appsync.ResolvableFieldOptions"],"fullSource":"// Hoisted imports begin after !show marker below\n/// !show\ndeclare const api: appsync.GraphqlApi;\ndeclare const dummyRequest: appsync.MappingTemplate;\ndeclare const dummyResponse: appsync.MappingTemplate;\n/// !hide\n// Hoisted imports ended before !hide marker above\n// Fixture with packages imported, but nothing else\nimport { Construct } from 'constructs';\nimport { RemovalPolicy, Stack } from '@aws-cdk/core';\nimport appsync = require('@aws-cdk/aws-appsync');\nimport ec2 = require('@aws-cdk/aws-ec2');\nimport dynamodb = require('@aws-cdk/aws-dynamodb');\nimport iam = require('@aws-cdk/aws-iam');\nimport rds = require('@aws-cdk/aws-rds');\nimport path = require('path');\n\nclass Fixture extends Stack {\n constructor(scope: Construct, id: string) {\n super(scope, id);\n // Code snippet begins after !show marker below\n/// !show\n\nconst info = new appsync.ObjectType('Info', {\n definition: {\n node: new appsync.ResolvableField({\n returnType: appsync.GraphqlType.string(),\n args: {\n id: appsync.GraphqlType.string(),\n },\n dataSource: api.addNoneDataSource('none'),\n requestMappingTemplate: dummyRequest,\n responseMappingTemplate: dummyResponse,\n }),\n },\n});\n/// !hide\n// Code snippet ended before !hide marker above\n }\n}\n","syntaxKindCounter":{"10":2,"75":32,"130":3,"153":3,"169":3,"193":4,"194":7,"196":3,"197":2,"225":4,"242":4,"243":4,"281":8,"290":1},"fqnsFingerprint":"3be3ebaf9507fb3aaab596ab869c6b3d2b14b935150f47b1987de9069d6edd8f"},"a31080d569abf4c7b6a6be516555e6e159dcf26038ed910a80e28ecb19dc750d":{"translations":{"python":{"source":"# api: appsync.GraphqlApi\n# film_node: appsync.ObjectType\n# dummy_request: appsync.MappingTemplate\n# dummy_response: appsync.MappingTemplate\n\n\nstring = appsync.GraphqlType.string()\nint = appsync.GraphqlType.int()\napi.add_mutation(\"addFilm\", appsync.ResolvableField(\n return_type=film_node.attribute(),\n args={\"name\": string, \"film_number\": int},\n data_source=api.add_none_data_source(\"none\"),\n request_mapping_template=dummy_request,\n response_mapping_template=dummy_response\n))","version":"2"},"csharp":{"source":"GraphqlApi api;\nObjectType filmNode;\nMappingTemplate dummyRequest;\nMappingTemplate dummyResponse;\n\n\nvar string = GraphqlType.String();\nvar int = GraphqlType.Int();\napi.AddMutation(\"addFilm\", new ResolvableField(new ResolvableFieldOptions {\n ReturnType = filmNode.Attribute(),\n Args = new Dictionary { { \"name\", string }, { \"film_number\", int } },\n DataSource = api.AddNoneDataSource(\"none\"),\n RequestMappingTemplate = dummyRequest,\n ResponseMappingTemplate = dummyResponse\n}));","version":"1"},"java":{"source":"GraphqlApi api;\nObjectType filmNode;\nMappingTemplate dummyRequest;\nMappingTemplate dummyResponse;\n\n\nGraphqlType string = GraphqlType.string();\nGraphqlType int = GraphqlType.int();\napi.addMutation(\"addFilm\", ResolvableField.Builder.create()\n .returnType(filmNode.attribute())\n .args(Map.of(\"name\", string, \"film_number\", int))\n .dataSource(api.addNoneDataSource(\"none\"))\n .requestMappingTemplate(dummyRequest)\n .responseMappingTemplate(dummyResponse)\n .build());","version":"1"},"go":{"source":"var api graphqlApi\nvar filmNode objectType\nvar dummyRequest mappingTemplate\nvar dummyResponse mappingTemplate\n\n\nstring := appsync.GraphqlType_String()\nint := appsync.GraphqlType_Int()\napi.AddMutation(jsii.String(\"addFilm\"), appsync.NewResolvableField(&ResolvableFieldOptions{\n\tReturnType: filmNode.Attribute(),\n\tArgs: map[string]graphqlType{\n\t\t\"name\": string,\n\t\t\"film_number\": int,\n\t},\n\tDataSource: api.AddNoneDataSource(jsii.String(\"none\")),\n\tRequestMappingTemplate: dummyRequest,\n\tResponseMappingTemplate: dummyResponse,\n}))","version":"1"},"$":{"source":"declare const api: appsync.GraphqlApi;\ndeclare const filmNode: appsync.ObjectType;\ndeclare const dummyRequest: appsync.MappingTemplate;\ndeclare const dummyResponse: appsync.MappingTemplate;\n\nconst string = appsync.GraphqlType.string();\nconst int = appsync.GraphqlType.int();\napi.addMutation('addFilm', new appsync.ResolvableField({\n returnType: filmNode.attribute(),\n args: { name: string, film_number: int },\n dataSource: api.addNoneDataSource('none'),\n requestMappingTemplate: dummyRequest,\n responseMappingTemplate: dummyResponse,\n}));","version":"0"}},"location":{"api":{"api":"type","fqn":"@aws-cdk/aws-appsync.ResolvableFieldOptions"},"field":{"field":"example"}},"didCompile":true,"fqnsReferenced":["@aws-cdk/aws-appsync.BaseDataSource","@aws-cdk/aws-appsync.GraphqlApi#addMutation","@aws-cdk/aws-appsync.GraphqlApiBase#addNoneDataSource","@aws-cdk/aws-appsync.GraphqlType","@aws-cdk/aws-appsync.GraphqlType#int","@aws-cdk/aws-appsync.GraphqlType#string","@aws-cdk/aws-appsync.InterfaceType#attribute","@aws-cdk/aws-appsync.MappingTemplate","@aws-cdk/aws-appsync.ResolvableField","@aws-cdk/aws-appsync.ResolvableFieldOptions"],"fullSource":"// Hoisted imports begin after !show marker below\n/// !show\ndeclare const api: appsync.GraphqlApi;\ndeclare const filmNode: appsync.ObjectType;\ndeclare const dummyRequest: appsync.MappingTemplate;\ndeclare const dummyResponse: appsync.MappingTemplate;\n/// !hide\n// Hoisted imports ended before !hide marker above\n// Fixture with packages imported, but nothing else\nimport { Construct } from 'constructs';\nimport { RemovalPolicy, Stack } from '@aws-cdk/core';\nimport appsync = require('@aws-cdk/aws-appsync');\nimport ec2 = require('@aws-cdk/aws-ec2');\nimport dynamodb = require('@aws-cdk/aws-dynamodb');\nimport iam = require('@aws-cdk/aws-iam');\nimport rds = require('@aws-cdk/aws-rds');\nimport path = require('path');\n\nclass Fixture extends Stack {\n constructor(scope: Construct, id: string) {\n super(scope, id);\n // Code snippet begins after !show marker below\n/// !show\n\n\nconst string = appsync.GraphqlType.string();\nconst int = appsync.GraphqlType.int();\napi.addMutation('addFilm', new appsync.ResolvableField({\n returnType: filmNode.attribute(),\n args: { name: string, film_number: int },\n dataSource: api.addNoneDataSource('none'),\n requestMappingTemplate: dummyRequest,\n responseMappingTemplate: dummyResponse,\n}));\n/// !hide\n// Code snippet ended before !hide marker above\n }\n}\n","syntaxKindCounter":{"10":2,"75":39,"130":4,"153":4,"169":4,"193":2,"194":8,"196":5,"197":1,"225":6,"226":1,"242":6,"243":6,"281":7,"290":1},"fqnsFingerprint":"4ad35cc55fa2f9e3d5add55930d3862f793f8b6d074918ee45825366f1bec58b"},"43d64c665f760abf6ca76d6e66f66e3dff453f213376e691e9073ed1f27e5996":{"translations":{"python":{"source":"# api: appsync.GraphqlApi\n# appsync_function: appsync.AppsyncFunction\n\n\npipeline_resolver = appsync.Resolver(self, \"pipeline\",\n api=api,\n data_source=api.add_none_data_source(\"none\"),\n type_name=\"typeName\",\n field_name=\"fieldName\",\n request_mapping_template=appsync.MappingTemplate.from_file(\"beforeRequest.vtl\"),\n pipeline_config=[appsync_function],\n response_mapping_template=appsync.MappingTemplate.from_file(\"afterResponse.vtl\")\n)","version":"2"},"csharp":{"source":"GraphqlApi api;\nAppsyncFunction appsyncFunction;\n\n\nvar pipelineResolver = new Resolver(this, \"pipeline\", new ResolverProps {\n Api = api,\n DataSource = api.AddNoneDataSource(\"none\"),\n TypeName = \"typeName\",\n FieldName = \"fieldName\",\n RequestMappingTemplate = MappingTemplate.FromFile(\"beforeRequest.vtl\"),\n PipelineConfig = new [] { appsyncFunction },\n ResponseMappingTemplate = MappingTemplate.FromFile(\"afterResponse.vtl\")\n});","version":"1"},"java":{"source":"GraphqlApi api;\nAppsyncFunction appsyncFunction;\n\n\nResolver pipelineResolver = Resolver.Builder.create(this, \"pipeline\")\n .api(api)\n .dataSource(api.addNoneDataSource(\"none\"))\n .typeName(\"typeName\")\n .fieldName(\"fieldName\")\n .requestMappingTemplate(MappingTemplate.fromFile(\"beforeRequest.vtl\"))\n .pipelineConfig(List.of(appsyncFunction))\n .responseMappingTemplate(MappingTemplate.fromFile(\"afterResponse.vtl\"))\n .build();","version":"1"},"go":{"source":"var api graphqlApi\nvar appsyncFunction appsyncFunction\n\n\npipelineResolver := appsync.NewResolver(this, jsii.String(\"pipeline\"), &ResolverProps{\n\tApi: Api,\n\tDataSource: api.AddNoneDataSource(jsii.String(\"none\")),\n\tTypeName: jsii.String(\"typeName\"),\n\tFieldName: jsii.String(\"fieldName\"),\n\tRequestMappingTemplate: appsync.MappingTemplate_FromFile(jsii.String(\"beforeRequest.vtl\")),\n\tPipelineConfig: []iAppsyncFunction{\n\t\tappsyncFunction,\n\t},\n\tResponseMappingTemplate: appsync.MappingTemplate_*FromFile(jsii.String(\"afterResponse.vtl\")),\n})","version":"1"},"$":{"source":"declare const api: appsync.GraphqlApi;\ndeclare const appsyncFunction: appsync.AppsyncFunction;\n\nconst pipelineResolver = new appsync.Resolver(this, 'pipeline', {\n api,\n dataSource: api.addNoneDataSource('none'),\n typeName: 'typeName',\n fieldName: 'fieldName',\n requestMappingTemplate: appsync.MappingTemplate.fromFile('beforeRequest.vtl'),\n pipelineConfig: [appsyncFunction],\n responseMappingTemplate: appsync.MappingTemplate.fromFile('afterResponse.vtl'),\n});","version":"0"}},"location":{"api":{"api":"type","fqn":"@aws-cdk/aws-appsync.Resolver"},"field":{"field":"example"}},"didCompile":true,"fqnsReferenced":["@aws-cdk/aws-appsync.BaseDataSource","@aws-cdk/aws-appsync.GraphqlApiBase#addNoneDataSource","@aws-cdk/aws-appsync.IGraphqlApi","@aws-cdk/aws-appsync.MappingTemplate","@aws-cdk/aws-appsync.MappingTemplate#fromFile","@aws-cdk/aws-appsync.Resolver","@aws-cdk/aws-appsync.ResolverProps","constructs.Construct"],"fullSource":"// Hoisted imports begin after !show marker below\n/// !show\ndeclare const api: appsync.GraphqlApi;\ndeclare const appsyncFunction: appsync.AppsyncFunction;\n/// !hide\n// Hoisted imports ended before !hide marker above\n// Fixture with packages imported, but nothing else\nimport { Construct } from 'constructs';\nimport { RemovalPolicy, Stack } from '@aws-cdk/core';\nimport appsync = require('@aws-cdk/aws-appsync');\nimport ec2 = require('@aws-cdk/aws-ec2');\nimport dynamodb = require('@aws-cdk/aws-dynamodb');\nimport iam = require('@aws-cdk/aws-iam');\nimport rds = require('@aws-cdk/aws-rds');\nimport path = require('path');\n\nclass Fixture extends Stack {\n constructor(scope: Construct, id: string) {\n super(scope, id);\n // Code snippet begins after !show marker below\n/// !show\n\n\nconst pipelineResolver = new appsync.Resolver(this, 'pipeline', {\n api,\n dataSource: api.addNoneDataSource('none'),\n typeName: 'typeName',\n fieldName: 'fieldName',\n requestMappingTemplate: appsync.MappingTemplate.fromFile('beforeRequest.vtl'),\n pipelineConfig: [appsyncFunction],\n responseMappingTemplate: appsync.MappingTemplate.fromFile('afterResponse.vtl'),\n});\n/// !hide\n// Code snippet ended before !hide marker above\n }\n}\n","syntaxKindCounter":{"10":6,"75":25,"104":1,"130":2,"153":2,"169":2,"192":1,"193":1,"194":6,"196":3,"197":1,"225":3,"242":3,"243":3,"281":6,"282":1,"290":1},"fqnsFingerprint":"a1cf2ef9e8d98556f23d17d7177239c82246db86eec5517e48cf160abfcdd5bc"},"4d679be949f0ca590b8e17d421f124d8e2039d37689e2741c0fde29d5078d9bc":{"translations":{"python":{"source":"# api: appsync.GraphqlApi\n# appsync_function: appsync.AppsyncFunction\n\n\npipeline_resolver = appsync.Resolver(self, \"pipeline\",\n api=api,\n data_source=api.add_none_data_source(\"none\"),\n type_name=\"typeName\",\n field_name=\"fieldName\",\n request_mapping_template=appsync.MappingTemplate.from_file(\"beforeRequest.vtl\"),\n pipeline_config=[appsync_function],\n response_mapping_template=appsync.MappingTemplate.from_file(\"afterResponse.vtl\")\n)","version":"2"},"csharp":{"source":"GraphqlApi api;\nAppsyncFunction appsyncFunction;\n\n\nvar pipelineResolver = new Resolver(this, \"pipeline\", new ResolverProps {\n Api = api,\n DataSource = api.AddNoneDataSource(\"none\"),\n TypeName = \"typeName\",\n FieldName = \"fieldName\",\n RequestMappingTemplate = MappingTemplate.FromFile(\"beforeRequest.vtl\"),\n PipelineConfig = new [] { appsyncFunction },\n ResponseMappingTemplate = MappingTemplate.FromFile(\"afterResponse.vtl\")\n});","version":"1"},"java":{"source":"GraphqlApi api;\nAppsyncFunction appsyncFunction;\n\n\nResolver pipelineResolver = Resolver.Builder.create(this, \"pipeline\")\n .api(api)\n .dataSource(api.addNoneDataSource(\"none\"))\n .typeName(\"typeName\")\n .fieldName(\"fieldName\")\n .requestMappingTemplate(MappingTemplate.fromFile(\"beforeRequest.vtl\"))\n .pipelineConfig(List.of(appsyncFunction))\n .responseMappingTemplate(MappingTemplate.fromFile(\"afterResponse.vtl\"))\n .build();","version":"1"},"go":{"source":"var api graphqlApi\nvar appsyncFunction appsyncFunction\n\n\npipelineResolver := appsync.NewResolver(this, jsii.String(\"pipeline\"), &ResolverProps{\n\tApi: Api,\n\tDataSource: api.AddNoneDataSource(jsii.String(\"none\")),\n\tTypeName: jsii.String(\"typeName\"),\n\tFieldName: jsii.String(\"fieldName\"),\n\tRequestMappingTemplate: appsync.MappingTemplate_FromFile(jsii.String(\"beforeRequest.vtl\")),\n\tPipelineConfig: []iAppsyncFunction{\n\t\tappsyncFunction,\n\t},\n\tResponseMappingTemplate: appsync.MappingTemplate_*FromFile(jsii.String(\"afterResponse.vtl\")),\n})","version":"1"},"$":{"source":"declare const api: appsync.GraphqlApi;\ndeclare const appsyncFunction: appsync.AppsyncFunction;\n\nconst pipelineResolver = new appsync.Resolver(this, 'pipeline', {\n api,\n dataSource: api.addNoneDataSource('none'),\n typeName: 'typeName',\n fieldName: 'fieldName',\n requestMappingTemplate: appsync.MappingTemplate.fromFile('beforeRequest.vtl'),\n pipelineConfig: [appsyncFunction],\n responseMappingTemplate: appsync.MappingTemplate.fromFile('afterResponse.vtl'),\n});","version":"0"}},"location":{"api":{"api":"type","fqn":"@aws-cdk/aws-appsync.ResolverProps"},"field":{"field":"example"}},"didCompile":true,"fqnsReferenced":["@aws-cdk/aws-appsync.BaseDataSource","@aws-cdk/aws-appsync.GraphqlApiBase#addNoneDataSource","@aws-cdk/aws-appsync.IGraphqlApi","@aws-cdk/aws-appsync.MappingTemplate","@aws-cdk/aws-appsync.MappingTemplate#fromFile","@aws-cdk/aws-appsync.Resolver","@aws-cdk/aws-appsync.ResolverProps","constructs.Construct"],"fullSource":"// Hoisted imports begin after !show marker below\n/// !show\ndeclare const api: appsync.GraphqlApi;\ndeclare const appsyncFunction: appsync.AppsyncFunction;\n/// !hide\n// Hoisted imports ended before !hide marker above\n// Fixture with packages imported, but nothing else\nimport { Construct } from 'constructs';\nimport { RemovalPolicy, Stack } from '@aws-cdk/core';\nimport appsync = require('@aws-cdk/aws-appsync');\nimport ec2 = require('@aws-cdk/aws-ec2');\nimport dynamodb = require('@aws-cdk/aws-dynamodb');\nimport iam = require('@aws-cdk/aws-iam');\nimport rds = require('@aws-cdk/aws-rds');\nimport path = require('path');\n\nclass Fixture extends Stack {\n constructor(scope: Construct, id: string) {\n super(scope, id);\n // Code snippet begins after !show marker below\n/// !show\n\n\nconst pipelineResolver = new appsync.Resolver(this, 'pipeline', {\n api,\n dataSource: api.addNoneDataSource('none'),\n typeName: 'typeName',\n fieldName: 'fieldName',\n requestMappingTemplate: appsync.MappingTemplate.fromFile('beforeRequest.vtl'),\n pipelineConfig: [appsyncFunction],\n responseMappingTemplate: appsync.MappingTemplate.fromFile('afterResponse.vtl'),\n});\n/// !hide\n// Code snippet ended before !hide marker above\n }\n}\n","syntaxKindCounter":{"10":6,"75":25,"104":1,"130":2,"153":2,"169":2,"192":1,"193":1,"194":6,"196":3,"197":1,"225":3,"242":3,"243":3,"281":6,"282":1,"290":1},"fqnsFingerprint":"a1cf2ef9e8d98556f23d17d7177239c82246db86eec5517e48cf160abfcdd5bc"},"72bbeddb159827c54e2e262e92a550541de66c5588987748a16015b58931ff24":{"translations":{"python":{"source":"api = appsync.GraphqlApi(self, \"api\",\n name=\"api\",\n schema=appsync.Schema.from_asset(path.join(__dirname, \"schema.graphql\"))\n)\n\nhttp_ds = api.add_http_data_source(\"ds\", \"https://states.amazonaws.com\",\n name=\"httpDsWithStepF\",\n description=\"from appsync to StepFunctions Workflow\",\n authorization_config=appsync.AwsIamConfig(\n signing_region=\"us-east-1\",\n signing_service_name=\"states\"\n )\n)\n\nhttp_ds.create_resolver(\n type_name=\"Mutation\",\n field_name=\"callStepFunction\",\n request_mapping_template=appsync.MappingTemplate.from_file(\"request.vtl\"),\n response_mapping_template=appsync.MappingTemplate.from_file(\"response.vtl\")\n)","version":"2"},"csharp":{"source":"var api = new GraphqlApi(this, \"api\", new GraphqlApiProps {\n Name = \"api\",\n Schema = Schema.FromAsset(Join(__dirname, \"schema.graphql\"))\n});\n\nvar httpDs = api.AddHttpDataSource(\"ds\", \"https://states.amazonaws.com\", new HttpDataSourceOptions {\n Name = \"httpDsWithStepF\",\n Description = \"from appsync to StepFunctions Workflow\",\n AuthorizationConfig = new AwsIamConfig {\n SigningRegion = \"us-east-1\",\n SigningServiceName = \"states\"\n }\n});\n\nhttpDs.CreateResolver(new BaseResolverProps {\n TypeName = \"Mutation\",\n FieldName = \"callStepFunction\",\n RequestMappingTemplate = MappingTemplate.FromFile(\"request.vtl\"),\n ResponseMappingTemplate = MappingTemplate.FromFile(\"response.vtl\")\n});","version":"1"},"java":{"source":"GraphqlApi api = GraphqlApi.Builder.create(this, \"api\")\n .name(\"api\")\n .schema(Schema.fromAsset(join(__dirname, \"schema.graphql\")))\n .build();\n\nHttpDataSource httpDs = api.addHttpDataSource(\"ds\", \"https://states.amazonaws.com\", HttpDataSourceOptions.builder()\n .name(\"httpDsWithStepF\")\n .description(\"from appsync to StepFunctions Workflow\")\n .authorizationConfig(AwsIamConfig.builder()\n .signingRegion(\"us-east-1\")\n .signingServiceName(\"states\")\n .build())\n .build());\n\nhttpDs.createResolver(BaseResolverProps.builder()\n .typeName(\"Mutation\")\n .fieldName(\"callStepFunction\")\n .requestMappingTemplate(MappingTemplate.fromFile(\"request.vtl\"))\n .responseMappingTemplate(MappingTemplate.fromFile(\"response.vtl\"))\n .build());","version":"1"},"go":{"source":"api := appsync.NewGraphqlApi(this, jsii.String(\"api\"), &GraphqlApiProps{\n\tName: jsii.String(\"api\"),\n\tSchema: appsync.Schema_FromAsset(path.join(__dirname, jsii.String(\"schema.graphql\"))),\n})\n\nhttpDs := api.AddHttpDataSource(jsii.String(\"ds\"), jsii.String(\"https://states.amazonaws.com\"), &HttpDataSourceOptions{\n\tName: jsii.String(\"httpDsWithStepF\"),\n\tDescription: jsii.String(\"from appsync to StepFunctions Workflow\"),\n\tAuthorizationConfig: &AwsIamConfig{\n\t\tSigningRegion: jsii.String(\"us-east-1\"),\n\t\tSigningServiceName: jsii.String(\"states\"),\n\t},\n})\n\nhttpDs.CreateResolver(&BaseResolverProps{\n\tTypeName: jsii.String(\"Mutation\"),\n\tFieldName: jsii.String(\"callStepFunction\"),\n\tRequestMappingTemplate: appsync.MappingTemplate_FromFile(jsii.String(\"request.vtl\")),\n\tResponseMappingTemplate: appsync.MappingTemplate_*FromFile(jsii.String(\"response.vtl\")),\n})","version":"1"},"$":{"source":"const api = new appsync.GraphqlApi(this, 'api', {\n name: 'api',\n schema: appsync.Schema.fromAsset(path.join(__dirname, 'schema.graphql')),\n});\n\nconst httpDs = api.addHttpDataSource(\n 'ds',\n 'https://states.amazonaws.com',\n {\n name: 'httpDsWithStepF',\n description: 'from appsync to StepFunctions Workflow',\n authorizationConfig: {\n signingRegion: 'us-east-1',\n signingServiceName: 'states',\n }\n }\n);\n\nhttpDs.createResolver({\n typeName: 'Mutation',\n fieldName: 'callStepFunction',\n requestMappingTemplate: appsync.MappingTemplate.fromFile('request.vtl'),\n responseMappingTemplate: appsync.MappingTemplate.fromFile('response.vtl'),\n});","version":"0"}},"location":{"api":{"api":"type","fqn":"@aws-cdk/aws-appsync.Schema"},"field":{"field":"example"}},"didCompile":true,"fqnsReferenced":["@aws-cdk/aws-appsync.AwsIamConfig","@aws-cdk/aws-appsync.BaseDataSource#createResolver","@aws-cdk/aws-appsync.BaseResolverProps","@aws-cdk/aws-appsync.GraphqlApi","@aws-cdk/aws-appsync.GraphqlApiBase#addHttpDataSource","@aws-cdk/aws-appsync.GraphqlApiProps","@aws-cdk/aws-appsync.HttpDataSource","@aws-cdk/aws-appsync.HttpDataSourceOptions","@aws-cdk/aws-appsync.MappingTemplate","@aws-cdk/aws-appsync.MappingTemplate#fromFile","@aws-cdk/aws-appsync.Schema","@aws-cdk/aws-appsync.Schema#fromAsset","constructs.Construct"],"fullSource":"// Fixture with packages imported, but nothing else\nimport { Construct } from 'constructs';\nimport { RemovalPolicy, Stack } from '@aws-cdk/core';\nimport appsync = require('@aws-cdk/aws-appsync');\nimport ec2 = require('@aws-cdk/aws-ec2');\nimport dynamodb = require('@aws-cdk/aws-dynamodb');\nimport iam = require('@aws-cdk/aws-iam');\nimport rds = require('@aws-cdk/aws-rds');\nimport path = require('path');\n\nclass Fixture extends Stack {\n constructor(scope: Construct, id: string) {\n super(scope, id);\n // Code snippet begins after !show marker below\n/// !show\nconst api = new appsync.GraphqlApi(this, 'api', {\n name: 'api',\n schema: appsync.Schema.fromAsset(path.join(__dirname, 'schema.graphql')),\n});\n\nconst httpDs = api.addHttpDataSource(\n 'ds',\n 'https://states.amazonaws.com',\n {\n name: 'httpDsWithStepF',\n description: 'from appsync to StepFunctions Workflow',\n authorizationConfig: {\n signingRegion: 'us-east-1',\n signingServiceName: 'states',\n }\n }\n);\n\nhttpDs.createResolver({\n typeName: 'Mutation',\n fieldName: 'callStepFunction',\n requestMappingTemplate: appsync.MappingTemplate.fromFile('request.vtl'),\n responseMappingTemplate: appsync.MappingTemplate.fromFile('response.vtl'),\n});\n/// !hide\n// Code snippet ended before !hide marker above\n }\n}\n","syntaxKindCounter":{"10":13,"75":31,"104":1,"193":4,"194":10,"196":6,"197":1,"225":2,"226":1,"242":2,"243":2,"281":11},"fqnsFingerprint":"795f1a985c589204be96efdf628b1bcbf6022ec5528223be236f8b56402cd9dc"},"2be657d1eb3a9457c27f0aabd2d5ad66e1bb50345046f467d2d2235f9bdc2be9":{"translations":{"python":{"source":"# The code below shows an example of how to instantiate this type.\n# The values are placeholders you should change.\nimport aws_cdk.aws_appsync as appsync\n\nschema_options = appsync.SchemaOptions(\n file_path=\"filePath\"\n)","version":"2"},"csharp":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nusing Amazon.CDK.AWS.AppSync;\n\nvar schemaOptions = new SchemaOptions {\n FilePath = \"filePath\"\n};","version":"1"},"java":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport software.amazon.awscdk.services.appsync.*;\n\nSchemaOptions schemaOptions = SchemaOptions.builder()\n .filePath(\"filePath\")\n .build();","version":"1"},"go":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport appsync \"github.com/aws-samples/dummy/awscdkawsappsync\"\n\nschemaOptions := &SchemaOptions{\n\tFilePath: jsii.String(\"filePath\"),\n}","version":"1"},"$":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as appsync from '@aws-cdk/aws-appsync';\nconst schemaOptions: appsync.SchemaOptions = {\n filePath: 'filePath',\n};","version":"0"}},"location":{"api":{"api":"type","fqn":"@aws-cdk/aws-appsync.SchemaOptions"},"field":{"field":"example"}},"didCompile":true,"fqnsReferenced":["@aws-cdk/aws-appsync.SchemaOptions"],"fullSource":"// Hoisted imports begin after !show marker below\n/// !show\n// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as appsync from '@aws-cdk/aws-appsync';\n/// !hide\n// Hoisted imports ended before !hide marker above\nimport { Construct } from \"@aws-cdk/core\";\nclass MyConstruct extends Construct {\nconstructor(scope: Construct, id: string) {\nsuper(scope, id);\n// Code snippet begins after !show marker below\n/// !show\n\nconst schemaOptions: appsync.SchemaOptions = {\n filePath: 'filePath',\n};\n/// !hide\n// Code snippet ended before !hide marker above\n} }","syntaxKindCounter":{"10":2,"75":5,"153":1,"169":1,"193":1,"225":1,"242":1,"243":1,"254":1,"255":1,"256":1,"281":1,"290":1},"fqnsFingerprint":"4ac30e0ad41d0681413e361529f06daca1a3466bc48221e269d76802b8f7513e"},"e2eb1c8be965db924962b875a054d539feb50ca1e0d3229e5b8ba037478da97a":{"translations":{"python":{"source":"# The code below shows an example of how to instantiate this type.\n# The values are placeholders you should change.\nimport aws_cdk.aws_appsync as appsync\n\n# assign: appsync.Assign\n\nsort_key_step = appsync.SortKeyStep(assign, \"skey\")","version":"2"},"csharp":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nusing Amazon.CDK.AWS.AppSync;\n\nAssign assign;\n\nvar sortKeyStep = new SortKeyStep(assign, \"skey\");","version":"1"},"java":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport software.amazon.awscdk.services.appsync.*;\n\nAssign assign;\n\nSortKeyStep sortKeyStep = new SortKeyStep(assign, \"skey\");","version":"1"},"go":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport appsync \"github.com/aws-samples/dummy/awscdkawsappsync\"\n\nvar assign assign\n\nsortKeyStep := appsync.NewSortKeyStep(assign, jsii.String(\"skey\"))","version":"1"},"$":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as appsync from '@aws-cdk/aws-appsync';\n\ndeclare const assign: appsync.Assign;\nconst sortKeyStep = new appsync.SortKeyStep(assign, 'skey');","version":"0"}},"location":{"api":{"api":"type","fqn":"@aws-cdk/aws-appsync.SortKeyStep"},"field":{"field":"example"}},"didCompile":true,"fqnsReferenced":["@aws-cdk/aws-appsync.Assign","@aws-cdk/aws-appsync.SortKeyStep"],"fullSource":"// Hoisted imports begin after !show marker below\n/// !show\n// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as appsync from '@aws-cdk/aws-appsync';\n\ndeclare const assign: appsync.Assign;\n/// !hide\n// Hoisted imports ended before !hide marker above\nimport { Construct } from \"@aws-cdk/core\";\nclass MyConstruct extends Construct {\nconstructor(scope: Construct, id: string) {\nsuper(scope, id);\n// Code snippet begins after !show marker below\n/// !show\n\nconst sortKeyStep = new appsync.SortKeyStep(assign, 'skey');\n/// !hide\n// Code snippet ended before !hide marker above\n} }","syntaxKindCounter":{"10":2,"75":8,"130":1,"153":1,"169":1,"194":1,"197":1,"225":2,"242":2,"243":2,"254":1,"255":1,"256":1,"290":1},"fqnsFingerprint":"fb06243aa29ea3e1f60a3ce0fd4b67f7970d85728b145356352194bd235bee9a"},"d8f1c1654310f9ec40b04704fb8b9573e5f9f626ec68c192b9cd3f72bc3065e6":{"translations":{"python":{"source":"# api: appsync.GraphqlApi\n\nstring = appsync.GraphqlType.string()\nhuman = appsync.ObjectType(\"Human\", definition={\"name\": string})\ndroid = appsync.ObjectType(\"Droid\", definition={\"name\": string})\nstarship = appsync.ObjectType(\"Starship\", definition={\"name\": string})\nsearch = appsync.UnionType(\"Search\",\n definition=[human, droid, starship]\n)\napi.add_type(search)","version":"2"},"csharp":{"source":"GraphqlApi api;\n\nvar string = GraphqlType.String();\nvar human = new ObjectType(\"Human\", new ObjectTypeOptions { Definition = new Dictionary { { \"name\", string } } });\nvar droid = new ObjectType(\"Droid\", new ObjectTypeOptions { Definition = new Dictionary { { \"name\", string } } });\nvar starship = new ObjectType(\"Starship\", new ObjectTypeOptions { Definition = new Dictionary { { \"name\", string } } });\nvar search = new UnionType(\"Search\", new UnionTypeOptions {\n Definition = new [] { human, droid, starship }\n});\napi.AddType(search);","version":"1"},"java":{"source":"GraphqlApi api;\n\nGraphqlType string = GraphqlType.string();\nObjectType human = ObjectType.Builder.create(\"Human\").definition(Map.of(\"name\", string)).build();\nObjectType droid = ObjectType.Builder.create(\"Droid\").definition(Map.of(\"name\", string)).build();\nObjectType starship = ObjectType.Builder.create(\"Starship\").definition(Map.of(\"name\", string)).build();\nUnionType search = UnionType.Builder.create(\"Search\")\n .definition(List.of(human, droid, starship))\n .build();\napi.addType(search);","version":"1"},"go":{"source":"var api graphqlApi\n\nstring := appsync.GraphqlType_String()\nhuman := appsync.NewObjectType(jsii.String(\"Human\"), &ObjectTypeOptions{\n\tDefinition: map[string]iField{\n\t\t\"name\": string,\n\t},\n})\ndroid := appsync.NewObjectType(jsii.String(\"Droid\"), &ObjectTypeOptions{\n\tDefinition: map[string]*iField{\n\t\t\"name\": string,\n\t},\n})\nstarship := appsync.NewObjectType(jsii.String(\"Starship\"), &ObjectTypeOptions{\n\tDefinition: map[string]*iField{\n\t\t\"name\": string,\n\t},\n})\nsearch := appsync.NewUnionType(jsii.String(\"Search\"), &UnionTypeOptions{\n\tDefinition: []iIntermediateType{\n\t\thuman,\n\t\tdroid,\n\t\tstarship,\n\t},\n})\napi.AddType(search)","version":"1"},"$":{"source":"declare const api: appsync.GraphqlApi;\nconst string = appsync.GraphqlType.string();\nconst human = new appsync.ObjectType('Human', { definition: { name: string } });\nconst droid = new appsync.ObjectType('Droid', { definition: { name: string } });\nconst starship = new appsync.ObjectType('Starship', { definition: { name: string } }););\nconst search = new appsync.UnionType('Search', {\n definition: [ human, droid, starship ],\n});\napi.addType(search);","version":"0"}},"location":{"api":{"api":"type","fqn":"@aws-cdk/aws-appsync.UnionType"},"field":{"field":"example"}},"didCompile":true,"fqnsReferenced":["@aws-cdk/aws-appsync.GraphqlApi#addType","@aws-cdk/aws-appsync.GraphqlType","@aws-cdk/aws-appsync.GraphqlType#string","@aws-cdk/aws-appsync.IField","@aws-cdk/aws-appsync.IIntermediateType","@aws-cdk/aws-appsync.ObjectType","@aws-cdk/aws-appsync.ObjectTypeOptions","@aws-cdk/aws-appsync.UnionType","@aws-cdk/aws-appsync.UnionTypeOptions"],"fullSource":"// Hoisted imports begin after !show marker below\n/// !show\ndeclare const api: appsync.GraphqlApi;\n/// !hide\n// Hoisted imports ended before !hide marker above\n// Fixture with packages imported, but nothing else\nimport { Construct } from 'constructs';\nimport { RemovalPolicy, Stack } from '@aws-cdk/core';\nimport appsync = require('@aws-cdk/aws-appsync');\nimport ec2 = require('@aws-cdk/aws-ec2');\nimport dynamodb = require('@aws-cdk/aws-dynamodb');\nimport iam = require('@aws-cdk/aws-iam');\nimport rds = require('@aws-cdk/aws-rds');\nimport path = require('path');\n\nclass Fixture extends Stack {\n constructor(scope: Construct, id: string) {\n super(scope, id);\n // Code snippet begins after !show marker below\n/// !show\n\nconst string = appsync.GraphqlType.string();\nconst human = new appsync.ObjectType('Human', { definition: { name: string } });\nconst droid = new appsync.ObjectType('Droid', { definition: { name: string } });\nconst starship = new appsync.ObjectType('Starship', { definition: { name: string } });;\nconst search = new appsync.UnionType('Search', {\n definition: [ human, droid, starship ],\n});\napi.addType(search);\n/// !hide\n// Code snippet ended before !hide marker above\n }\n}\n","syntaxKindCounter":{"10":4,"75":35,"130":1,"153":1,"169":1,"192":1,"193":7,"194":7,"196":2,"197":4,"224":1,"225":6,"226":1,"242":6,"243":6,"281":7,"290":1},"fqnsFingerprint":"27af74f4f6b056f2255095d0153b070790029de36afc1dcbac576154cfe45ee0"},"ccb623fb03911f8c3e60d589c2ddff6c8d227f51af86ccc54e126e498d95836a":{"translations":{"python":{"source":"# api: appsync.GraphqlApi\n\nstring = appsync.GraphqlType.string()\nhuman = appsync.ObjectType(\"Human\", definition={\"name\": string})\ndroid = appsync.ObjectType(\"Droid\", definition={\"name\": string})\nstarship = appsync.ObjectType(\"Starship\", definition={\"name\": string})\nsearch = appsync.UnionType(\"Search\",\n definition=[human, droid, starship]\n)\napi.add_type(search)","version":"2"},"csharp":{"source":"GraphqlApi api;\n\nvar string = GraphqlType.String();\nvar human = new ObjectType(\"Human\", new ObjectTypeOptions { Definition = new Dictionary { { \"name\", string } } });\nvar droid = new ObjectType(\"Droid\", new ObjectTypeOptions { Definition = new Dictionary { { \"name\", string } } });\nvar starship = new ObjectType(\"Starship\", new ObjectTypeOptions { Definition = new Dictionary { { \"name\", string } } });\nvar search = new UnionType(\"Search\", new UnionTypeOptions {\n Definition = new [] { human, droid, starship }\n});\napi.AddType(search);","version":"1"},"java":{"source":"GraphqlApi api;\n\nGraphqlType string = GraphqlType.string();\nObjectType human = ObjectType.Builder.create(\"Human\").definition(Map.of(\"name\", string)).build();\nObjectType droid = ObjectType.Builder.create(\"Droid\").definition(Map.of(\"name\", string)).build();\nObjectType starship = ObjectType.Builder.create(\"Starship\").definition(Map.of(\"name\", string)).build();\nUnionType search = UnionType.Builder.create(\"Search\")\n .definition(List.of(human, droid, starship))\n .build();\napi.addType(search);","version":"1"},"go":{"source":"var api graphqlApi\n\nstring := appsync.GraphqlType_String()\nhuman := appsync.NewObjectType(jsii.String(\"Human\"), &ObjectTypeOptions{\n\tDefinition: map[string]iField{\n\t\t\"name\": string,\n\t},\n})\ndroid := appsync.NewObjectType(jsii.String(\"Droid\"), &ObjectTypeOptions{\n\tDefinition: map[string]*iField{\n\t\t\"name\": string,\n\t},\n})\nstarship := appsync.NewObjectType(jsii.String(\"Starship\"), &ObjectTypeOptions{\n\tDefinition: map[string]*iField{\n\t\t\"name\": string,\n\t},\n})\nsearch := appsync.NewUnionType(jsii.String(\"Search\"), &UnionTypeOptions{\n\tDefinition: []iIntermediateType{\n\t\thuman,\n\t\tdroid,\n\t\tstarship,\n\t},\n})\napi.AddType(search)","version":"1"},"$":{"source":"declare const api: appsync.GraphqlApi;\nconst string = appsync.GraphqlType.string();\nconst human = new appsync.ObjectType('Human', { definition: { name: string } });\nconst droid = new appsync.ObjectType('Droid', { definition: { name: string } });\nconst starship = new appsync.ObjectType('Starship', { definition: { name: string } }););\nconst search = new appsync.UnionType('Search', {\n definition: [ human, droid, starship ],\n});\napi.addType(search);","version":"0"}},"location":{"api":{"api":"type","fqn":"@aws-cdk/aws-appsync.UnionTypeOptions"},"field":{"field":"example"}},"didCompile":true,"fqnsReferenced":["@aws-cdk/aws-appsync.GraphqlApi#addType","@aws-cdk/aws-appsync.GraphqlType","@aws-cdk/aws-appsync.GraphqlType#string","@aws-cdk/aws-appsync.IField","@aws-cdk/aws-appsync.IIntermediateType","@aws-cdk/aws-appsync.ObjectType","@aws-cdk/aws-appsync.ObjectTypeOptions","@aws-cdk/aws-appsync.UnionType","@aws-cdk/aws-appsync.UnionTypeOptions"],"fullSource":"// Hoisted imports begin after !show marker below\n/// !show\ndeclare const api: appsync.GraphqlApi;\n/// !hide\n// Hoisted imports ended before !hide marker above\n// Fixture with packages imported, but nothing else\nimport { Construct } from 'constructs';\nimport { RemovalPolicy, Stack } from '@aws-cdk/core';\nimport appsync = require('@aws-cdk/aws-appsync');\nimport ec2 = require('@aws-cdk/aws-ec2');\nimport dynamodb = require('@aws-cdk/aws-dynamodb');\nimport iam = require('@aws-cdk/aws-iam');\nimport rds = require('@aws-cdk/aws-rds');\nimport path = require('path');\n\nclass Fixture extends Stack {\n constructor(scope: Construct, id: string) {\n super(scope, id);\n // Code snippet begins after !show marker below\n/// !show\n\nconst string = appsync.GraphqlType.string();\nconst human = new appsync.ObjectType('Human', { definition: { name: string } });\nconst droid = new appsync.ObjectType('Droid', { definition: { name: string } });\nconst starship = new appsync.ObjectType('Starship', { definition: { name: string } });;\nconst search = new appsync.UnionType('Search', {\n definition: [ human, droid, starship ],\n});\napi.addType(search);\n/// !hide\n// Code snippet ended before !hide marker above\n }\n}\n","syntaxKindCounter":{"10":4,"75":35,"130":1,"153":1,"169":1,"192":1,"193":7,"194":7,"196":2,"197":4,"224":1,"225":6,"226":1,"242":6,"243":6,"281":7,"290":1},"fqnsFingerprint":"27af74f4f6b056f2255095d0153b070790029de36afc1dcbac576154cfe45ee0"},"7280b39294983745f9abd9078a95936ad667051b002e91c3162e574db55862c4":{"translations":{"python":{"source":"# The code below shows an example of how to instantiate this type.\n# The values are placeholders you should change.\nimport aws_cdk.aws_appsync as appsync\nimport aws_cdk.aws_cognito as cognito\n\n# user_pool: cognito.UserPool\n\nuser_pool_config = appsync.UserPoolConfig(\n user_pool=user_pool,\n\n # the properties below are optional\n app_id_client_regex=\"appIdClientRegex\",\n default_action=appsync.UserPoolDefaultAction.ALLOW\n)","version":"2"},"csharp":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nusing Amazon.CDK.AWS.AppSync;\nusing Amazon.CDK.AWS.Cognito;\n\nUserPool userPool;\n\nvar userPoolConfig = new UserPoolConfig {\n UserPool = userPool,\n\n // the properties below are optional\n AppIdClientRegex = \"appIdClientRegex\",\n DefaultAction = UserPoolDefaultAction.ALLOW\n};","version":"1"},"java":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport software.amazon.awscdk.services.appsync.*;\nimport software.amazon.awscdk.services.cognito.*;\n\nUserPool userPool;\n\nUserPoolConfig userPoolConfig = UserPoolConfig.builder()\n .userPool(userPool)\n\n // the properties below are optional\n .appIdClientRegex(\"appIdClientRegex\")\n .defaultAction(UserPoolDefaultAction.ALLOW)\n .build();","version":"1"},"go":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport appsync \"github.com/aws-samples/dummy/awscdkawsappsync\"\nimport cognito \"github.com/aws-samples/dummy/awscdkawscognito\"\n\nvar userPool userPool\n\nuserPoolConfig := &UserPoolConfig{\n\tUserPool: userPool,\n\n\t// the properties below are optional\n\tAppIdClientRegex: jsii.String(\"appIdClientRegex\"),\n\tDefaultAction: appsync.UserPoolDefaultAction_ALLOW,\n}","version":"1"},"$":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as appsync from '@aws-cdk/aws-appsync';\nimport * as cognito from '@aws-cdk/aws-cognito';\n\ndeclare const userPool: cognito.UserPool;\nconst userPoolConfig: appsync.UserPoolConfig = {\n userPool: userPool,\n\n // the properties below are optional\n appIdClientRegex: 'appIdClientRegex',\n defaultAction: appsync.UserPoolDefaultAction.ALLOW,\n};","version":"0"}},"location":{"api":{"api":"type","fqn":"@aws-cdk/aws-appsync.UserPoolConfig"},"field":{"field":"example"}},"didCompile":true,"fqnsReferenced":["@aws-cdk/aws-appsync.UserPoolConfig","@aws-cdk/aws-appsync.UserPoolDefaultAction","@aws-cdk/aws-appsync.UserPoolDefaultAction#ALLOW","@aws-cdk/aws-cognito.IUserPool"],"fullSource":"// Hoisted imports begin after !show marker below\n/// !show\n// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as appsync from '@aws-cdk/aws-appsync';\nimport * as cognito from '@aws-cdk/aws-cognito';\n\ndeclare const userPool: cognito.UserPool;\n/// !hide\n// Hoisted imports ended before !hide marker above\nimport { Construct } from \"@aws-cdk/core\";\nclass MyConstruct extends Construct {\nconstructor(scope: Construct, id: string) {\nsuper(scope, id);\n// Code snippet begins after !show marker below\n/// !show\n\nconst userPoolConfig: appsync.UserPoolConfig = {\n userPool: userPool,\n\n // the properties below are optional\n appIdClientRegex: 'appIdClientRegex',\n defaultAction: appsync.UserPoolDefaultAction.ALLOW,\n};\n/// !hide\n// Code snippet ended before !hide marker above\n} }","syntaxKindCounter":{"10":3,"75":15,"130":1,"153":2,"169":2,"193":1,"194":2,"225":2,"242":2,"243":2,"254":2,"255":2,"256":2,"281":3,"290":1},"fqnsFingerprint":"9b08085391ce672794bbac10509cd54ed9ad15d6497a8ab8fd9cf370cfa5052d"},"aaef04b93ed4c1417ced969d506a8f0c97248f77332c1509a52eba8659e87b65":{"translations":{"python":{"source":"api = appsync.GraphqlApi(self, \"Api\",\n name=\"demo\",\n schema=appsync.Schema.from_asset(path.join(__dirname, \"schema.graphql\")),\n authorization_config=appsync.AuthorizationConfig(\n default_authorization=appsync.AuthorizationMode(\n authorization_type=appsync.AuthorizationType.IAM\n )\n ),\n xray_enabled=True\n)\n\ndemo_table = dynamodb.Table(self, \"DemoTable\",\n partition_key=dynamodb.Attribute(\n name=\"id\",\n type=dynamodb.AttributeType.STRING\n )\n)\n\ndemo_dS = api.add_dynamo_db_data_source(\"demoDataSource\", demo_table)\n\n# Resolver for the Query \"getDemos\" that scans the DynamoDb table and returns the entire list.\ndemo_dS.create_resolver(\n type_name=\"Query\",\n field_name=\"getDemos\",\n request_mapping_template=appsync.MappingTemplate.dynamo_db_scan_table(),\n response_mapping_template=appsync.MappingTemplate.dynamo_db_result_list()\n)\n\n# Resolver for the Mutation \"addDemo\" that puts the item into the DynamoDb table.\ndemo_dS.create_resolver(\n type_name=\"Mutation\",\n field_name=\"addDemo\",\n request_mapping_template=appsync.MappingTemplate.dynamo_db_put_item(\n appsync.PrimaryKey.partition(\"id\").auto(),\n appsync.Values.projecting(\"input\")),\n response_mapping_template=appsync.MappingTemplate.dynamo_db_result_item()\n)","version":"2"},"csharp":{"source":"var api = new GraphqlApi(this, \"Api\", new GraphqlApiProps {\n Name = \"demo\",\n Schema = Schema.FromAsset(Join(__dirname, \"schema.graphql\")),\n AuthorizationConfig = new AuthorizationConfig {\n DefaultAuthorization = new AuthorizationMode {\n AuthorizationType = AuthorizationType.IAM\n }\n },\n XrayEnabled = true\n});\n\nvar demoTable = new Table(this, \"DemoTable\", new TableProps {\n PartitionKey = new Attribute {\n Name = \"id\",\n Type = AttributeType.STRING\n }\n});\n\nvar demoDS = api.AddDynamoDbDataSource(\"demoDataSource\", demoTable);\n\n// Resolver for the Query \"getDemos\" that scans the DynamoDb table and returns the entire list.\ndemoDS.CreateResolver(new BaseResolverProps {\n TypeName = \"Query\",\n FieldName = \"getDemos\",\n RequestMappingTemplate = MappingTemplate.DynamoDbScanTable(),\n ResponseMappingTemplate = MappingTemplate.DynamoDbResultList()\n});\n\n// Resolver for the Mutation \"addDemo\" that puts the item into the DynamoDb table.\ndemoDS.CreateResolver(new BaseResolverProps {\n TypeName = \"Mutation\",\n FieldName = \"addDemo\",\n RequestMappingTemplate = MappingTemplate.DynamoDbPutItem(PrimaryKey.Partition(\"id\").Auto(), Values.Projecting(\"input\")),\n ResponseMappingTemplate = MappingTemplate.DynamoDbResultItem()\n});","version":"1"},"java":{"source":"GraphqlApi api = GraphqlApi.Builder.create(this, \"Api\")\n .name(\"demo\")\n .schema(Schema.fromAsset(join(__dirname, \"schema.graphql\")))\n .authorizationConfig(AuthorizationConfig.builder()\n .defaultAuthorization(AuthorizationMode.builder()\n .authorizationType(AuthorizationType.IAM)\n .build())\n .build())\n .xrayEnabled(true)\n .build();\n\nTable demoTable = Table.Builder.create(this, \"DemoTable\")\n .partitionKey(Attribute.builder()\n .name(\"id\")\n .type(AttributeType.STRING)\n .build())\n .build();\n\nDynamoDbDataSource demoDS = api.addDynamoDbDataSource(\"demoDataSource\", demoTable);\n\n// Resolver for the Query \"getDemos\" that scans the DynamoDb table and returns the entire list.\ndemoDS.createResolver(BaseResolverProps.builder()\n .typeName(\"Query\")\n .fieldName(\"getDemos\")\n .requestMappingTemplate(MappingTemplate.dynamoDbScanTable())\n .responseMappingTemplate(MappingTemplate.dynamoDbResultList())\n .build());\n\n// Resolver for the Mutation \"addDemo\" that puts the item into the DynamoDb table.\ndemoDS.createResolver(BaseResolverProps.builder()\n .typeName(\"Mutation\")\n .fieldName(\"addDemo\")\n .requestMappingTemplate(MappingTemplate.dynamoDbPutItem(PrimaryKey.partition(\"id\").auto(), Values.projecting(\"input\")))\n .responseMappingTemplate(MappingTemplate.dynamoDbResultItem())\n .build());","version":"1"},"go":{"source":"api := appsync.NewGraphqlApi(this, jsii.String(\"Api\"), &GraphqlApiProps{\n\tName: jsii.String(\"demo\"),\n\tSchema: appsync.Schema_FromAsset(path.join(__dirname, jsii.String(\"schema.graphql\"))),\n\tAuthorizationConfig: &AuthorizationConfig{\n\t\tDefaultAuthorization: &AuthorizationMode{\n\t\t\tAuthorizationType: appsync.AuthorizationType_IAM,\n\t\t},\n\t},\n\tXrayEnabled: jsii.Boolean(true),\n})\n\ndemoTable := dynamodb.NewTable(this, jsii.String(\"DemoTable\"), &TableProps{\n\tPartitionKey: &Attribute{\n\t\tName: jsii.String(\"id\"),\n\t\tType: dynamodb.AttributeType_STRING,\n\t},\n})\n\ndemoDS := api.AddDynamoDbDataSource(jsii.String(\"demoDataSource\"), demoTable)\n\n// Resolver for the Query \"getDemos\" that scans the DynamoDb table and returns the entire list.\ndemoDS.CreateResolver(&BaseResolverProps{\n\tTypeName: jsii.String(\"Query\"),\n\tFieldName: jsii.String(\"getDemos\"),\n\tRequestMappingTemplate: appsync.MappingTemplate_DynamoDbScanTable(),\n\tResponseMappingTemplate: appsync.MappingTemplate_DynamoDbResultList(),\n})\n\n// Resolver for the Mutation \"addDemo\" that puts the item into the DynamoDb table.\ndemoDS.CreateResolver(&BaseResolverProps{\n\tTypeName: jsii.String(\"Mutation\"),\n\tFieldName: jsii.String(\"addDemo\"),\n\tRequestMappingTemplate: appsync.MappingTemplate_DynamoDbPutItem(appsync.PrimaryKey_Partition(jsii.String(\"id\")).Auto(), appsync.Values_Projecting(jsii.String(\"input\"))),\n\tResponseMappingTemplate: appsync.MappingTemplate_DynamoDbResultItem(),\n})","version":"1"},"$":{"source":"const api = new appsync.GraphqlApi(this, 'Api', {\n name: 'demo',\n schema: appsync.Schema.fromAsset(path.join(__dirname, 'schema.graphql')),\n authorizationConfig: {\n defaultAuthorization: {\n authorizationType: appsync.AuthorizationType.IAM,\n },\n },\n xrayEnabled: true,\n});\n\nconst demoTable = new dynamodb.Table(this, 'DemoTable', {\n partitionKey: {\n name: 'id',\n type: dynamodb.AttributeType.STRING,\n },\n});\n\nconst demoDS = api.addDynamoDbDataSource('demoDataSource', demoTable);\n\n// Resolver for the Query \"getDemos\" that scans the DynamoDb table and returns the entire list.\ndemoDS.createResolver({\n typeName: 'Query',\n fieldName: 'getDemos',\n requestMappingTemplate: appsync.MappingTemplate.dynamoDbScanTable(),\n responseMappingTemplate: appsync.MappingTemplate.dynamoDbResultList(),\n});\n\n// Resolver for the Mutation \"addDemo\" that puts the item into the DynamoDb table.\ndemoDS.createResolver({\n typeName: 'Mutation',\n fieldName: 'addDemo',\n requestMappingTemplate: appsync.MappingTemplate.dynamoDbPutItem(\n appsync.PrimaryKey.partition('id').auto(),\n appsync.Values.projecting('input'),\n ),\n responseMappingTemplate: appsync.MappingTemplate.dynamoDbResultItem(),\n});","version":"0"}},"location":{"api":{"api":"type","fqn":"@aws-cdk/aws-appsync.Values"},"field":{"field":"example"}},"didCompile":true,"fqnsReferenced":["@aws-cdk/aws-appsync.AttributeValues","@aws-cdk/aws-appsync.AuthorizationConfig","@aws-cdk/aws-appsync.AuthorizationMode","@aws-cdk/aws-appsync.AuthorizationType","@aws-cdk/aws-appsync.AuthorizationType#IAM","@aws-cdk/aws-appsync.BaseDataSource#createResolver","@aws-cdk/aws-appsync.BaseResolverProps","@aws-cdk/aws-appsync.DynamoDbDataSource","@aws-cdk/aws-appsync.GraphqlApi","@aws-cdk/aws-appsync.GraphqlApiBase#addDynamoDbDataSource","@aws-cdk/aws-appsync.GraphqlApiProps","@aws-cdk/aws-appsync.MappingTemplate","@aws-cdk/aws-appsync.MappingTemplate#dynamoDbPutItem","@aws-cdk/aws-appsync.MappingTemplate#dynamoDbResultItem","@aws-cdk/aws-appsync.MappingTemplate#dynamoDbResultList","@aws-cdk/aws-appsync.MappingTemplate#dynamoDbScanTable","@aws-cdk/aws-appsync.PartitionKeyStep#auto","@aws-cdk/aws-appsync.PrimaryKey","@aws-cdk/aws-appsync.PrimaryKey#partition","@aws-cdk/aws-appsync.Schema","@aws-cdk/aws-appsync.Schema#fromAsset","@aws-cdk/aws-appsync.Values","@aws-cdk/aws-appsync.Values#projecting","@aws-cdk/aws-dynamodb.Attribute","@aws-cdk/aws-dynamodb.AttributeType","@aws-cdk/aws-dynamodb.AttributeType#STRING","@aws-cdk/aws-dynamodb.ITable","@aws-cdk/aws-dynamodb.Table","@aws-cdk/aws-dynamodb.TableProps","constructs.Construct"],"fullSource":"// Fixture with packages imported, but nothing else\nimport { Construct } from 'constructs';\nimport { RemovalPolicy, Stack } from '@aws-cdk/core';\nimport appsync = require('@aws-cdk/aws-appsync');\nimport ec2 = require('@aws-cdk/aws-ec2');\nimport dynamodb = require('@aws-cdk/aws-dynamodb');\nimport iam = require('@aws-cdk/aws-iam');\nimport rds = require('@aws-cdk/aws-rds');\nimport path = require('path');\n\nclass Fixture extends Stack {\n constructor(scope: Construct, id: string) {\n super(scope, id);\n // Code snippet begins after !show marker below\n/// !show\nconst api = new appsync.GraphqlApi(this, 'Api', {\n name: 'demo',\n schema: appsync.Schema.fromAsset(path.join(__dirname, 'schema.graphql')),\n authorizationConfig: {\n defaultAuthorization: {\n authorizationType: appsync.AuthorizationType.IAM,\n },\n },\n xrayEnabled: true,\n});\n\nconst demoTable = new dynamodb.Table(this, 'DemoTable', {\n partitionKey: {\n name: 'id',\n type: dynamodb.AttributeType.STRING,\n },\n});\n\nconst demoDS = api.addDynamoDbDataSource('demoDataSource', demoTable);\n\n// Resolver for the Query \"getDemos\" that scans the DynamoDb table and returns the entire list.\ndemoDS.createResolver({\n typeName: 'Query',\n fieldName: 'getDemos',\n requestMappingTemplate: appsync.MappingTemplate.dynamoDbScanTable(),\n responseMappingTemplate: appsync.MappingTemplate.dynamoDbResultList(),\n});\n\n// Resolver for the Mutation \"addDemo\" that puts the item into the DynamoDb table.\ndemoDS.createResolver({\n typeName: 'Mutation',\n fieldName: 'addDemo',\n requestMappingTemplate: appsync.MappingTemplate.dynamoDbPutItem(\n appsync.PrimaryKey.partition('id').auto(),\n appsync.Values.projecting('input'),\n ),\n responseMappingTemplate: appsync.MappingTemplate.dynamoDbResultItem(),\n});\n/// !hide\n// Code snippet ended before !hide marker above\n }\n}\n","syntaxKindCounter":{"10":12,"75":62,"104":2,"106":1,"193":7,"194":25,"196":12,"197":2,"225":3,"226":2,"242":3,"243":3,"281":17},"fqnsFingerprint":"5e70d7ba2ab2d468126c46d474cb1c8201cf1abcfcdb9adfd0c3a8c047de1b0e"}}}