Skip to content

Commit 98ed6b3

Browse files
authored
feat(appsync): IntrospectionConfig property (#28500)
Add support for [IntrospectionConfig](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appsync-graphqlapi.html#cfn-appsync-graphqlapi-introspectionconfig) Closes #28429. ---- *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
1 parent 6b80338 commit 98ed6b3

File tree

12 files changed

+584
-0
lines changed

12 files changed

+584
-0
lines changed

packages/@aws-cdk-testing/framework-integ/test/aws-appsync/test/integ.appsync-disable-introspection.js.snapshot/apiDefaultTestDeployAssert018781F2.assets.json

Lines changed: 19 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/@aws-cdk-testing/framework-integ/test/aws-appsync/test/integ.appsync-disable-introspection.js.snapshot/apiDefaultTestDeployAssert018781F2.template.json

Lines changed: 36 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/@aws-cdk-testing/framework-integ/test/aws-appsync/test/integ.appsync-disable-introspection.js.snapshot/cdk.out

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/@aws-cdk-testing/framework-integ/test/aws-appsync/test/integ.appsync-disable-introspection.js.snapshot/integ.json

Lines changed: 12 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/@aws-cdk-testing/framework-integ/test/aws-appsync/test/integ.appsync-disable-introspection.js.snapshot/manifest.json

Lines changed: 131 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/@aws-cdk-testing/framework-integ/test/aws-appsync/test/integ.appsync-disable-introspection.js.snapshot/stack.assets.json

Lines changed: 19 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,85 @@
1+
{
2+
"Resources": {
3+
"DisableIntrospectionE1701CE9": {
4+
"Type": "AWS::AppSync::GraphQLApi",
5+
"Properties": {
6+
"AuthenticationType": "API_KEY",
7+
"IntrospectionConfig": "DISABLED",
8+
"Name": "DisableIntrospection"
9+
}
10+
},
11+
"DisableIntrospectionSchema09592192": {
12+
"Type": "AWS::AppSync::GraphQLSchema",
13+
"Properties": {
14+
"ApiId": {
15+
"Fn::GetAtt": [
16+
"DisableIntrospectionE1701CE9",
17+
"ApiId"
18+
]
19+
},
20+
"Definition": "type test {\n version: String!\n}\ntype Query {\n getTests: [test]!\n}\ntype Mutation {\n addTest(version: String!): test\n}\n"
21+
}
22+
},
23+
"DisableIntrospectionDefaultApiKeyD4180023": {
24+
"Type": "AWS::AppSync::ApiKey",
25+
"Properties": {
26+
"ApiId": {
27+
"Fn::GetAtt": [
28+
"DisableIntrospectionE1701CE9",
29+
"ApiId"
30+
]
31+
}
32+
},
33+
"DependsOn": [
34+
"DisableIntrospectionSchema09592192"
35+
]
36+
},
37+
"DisableIntrospectionNoneDSC312E52A": {
38+
"Type": "AWS::AppSync::DataSource",
39+
"Properties": {
40+
"ApiId": {
41+
"Fn::GetAtt": [
42+
"DisableIntrospectionE1701CE9",
43+
"ApiId"
44+
]
45+
},
46+
"Name": "NoneDS",
47+
"Type": "NONE"
48+
}
49+
}
50+
},
51+
"Parameters": {
52+
"BootstrapVersion": {
53+
"Type": "AWS::SSM::Parameter::Value<String>",
54+
"Default": "/cdk-bootstrap/hnb659fds/version",
55+
"Description": "Version of the CDK Bootstrap resources in this environment, automatically retrieved from SSM Parameter Store. [cdk:skip]"
56+
}
57+
},
58+
"Rules": {
59+
"CheckBootstrapVersion": {
60+
"Assertions": [
61+
{
62+
"Assert": {
63+
"Fn::Not": [
64+
{
65+
"Fn::Contains": [
66+
[
67+
"1",
68+
"2",
69+
"3",
70+
"4",
71+
"5"
72+
],
73+
{
74+
"Ref": "BootstrapVersion"
75+
}
76+
]
77+
}
78+
]
79+
},
80+
"AssertDescription": "CDK bootstrap stack version 6 required. Please run 'cdk bootstrap' with a recent version of the CDK CLI."
81+
}
82+
]
83+
}
84+
}
85+
}

0 commit comments

Comments
 (0)