1
1
{
2
- "auth" : {
3
- "literalAuth" : {
4
- "service" : " Cognito" ,
5
- "providerPlugin" : " awscloudformation" ,
6
- "dependsOn" : [
7
- {
8
- "category" : " function" ,
9
- "resourceName" : " PostAuthentication" ,
10
- "triggerProvider" : " Cognito" ,
11
- "attributes" : [
12
- " Arn" ,
13
- " Name"
14
- ]
15
- }
16
- ]
17
- }
18
- },
19
- "api" : {
20
- "literal" : {
21
- "service" : " AppSync" ,
22
- "providerPlugin" : " awscloudformation" ,
23
- "output" : {
24
- "authConfig" : {
25
- "additionalAuthenticationProviders" : [
26
- {
27
- "authenticationType" : " AWS_IAM"
28
- }
29
- ],
30
- "defaultAuthentication" : {
31
- "authenticationType" : " AMAZON_COGNITO_USER_POOLS" ,
32
- "userPoolConfig" : {
33
- "userPoolId" : " authliteralAuth"
34
- }
35
- }
36
- }
37
- },
38
- "dependsOn" : []
39
- }
40
- },
41
- "function" : {
42
- "GraphQLResolver" : {
43
- "service" : " Lambda" ,
44
- "providerPlugin" : " awscloudformation" ,
45
- "build" : true ,
46
- "dependsOn" : [
47
- {
48
- "category" : " auth" ,
49
- "resourceName" : " literalAuth" ,
50
- "attributes" : [
51
- " UserPoolId"
52
- ]
53
- },
54
- {
55
- "category" : " api" ,
56
- "resourceName" : " literal" ,
57
- "attributes" : [
58
- " GraphQLAPIIdOutput" ,
59
- " GraphQLAPIEndpointOutput"
60
- ]
61
- },
62
- {
63
- "category" : " storage" ,
64
- "resourceName" : " literalStorage" ,
65
- "attributes" : [
66
- " BucketName"
67
- ]
68
- }
69
- ]
70
- },
71
- "CloudfrontOriginRequest" : {
72
- "service" : " Lambda" ,
73
- "providerPlugin" : " awscloudformation" ,
74
- "build" : true
75
- },
76
- "PostAuthentication" : {
77
- "service" : " Lambda" ,
78
- "providerPlugin" : " awscloudformation" ,
79
- "build" : true ,
80
- "dependsOn" : []
81
- }
82
- },
83
- "storage" : {
84
- "literalStorage" : {
85
- "service" : " S3" ,
86
- "providerPlugin" : " awscloudformation" ,
87
- "dependsOn" : []
88
- }
89
- },
90
- "hosting" : {
91
- "S3AndCloudFront" : {
92
- "service" : " S3AndCloudFront" ,
93
- "providerPlugin" : " awscloudformation" ,
94
- "dependsOn" : [
95
- {
96
- "category" : " function" ,
97
- "resourceName" : " CloudfrontOriginRequest" ,
98
- "attributes" : [
99
- " VersionArn"
100
- ]
101
- }
102
- ]
103
- }
104
- }
105
- }
2
+ "auth" : {
3
+ "literalAuth" : {
4
+ "service" : " Cognito" ,
5
+ "providerPlugin" : " awscloudformation" ,
6
+ "dependsOn" : [
7
+ {
8
+ "category" : " function" ,
9
+ "resourceName" : " PostAuthentication" ,
10
+ "triggerProvider" : " Cognito" ,
11
+ "attributes" : [" Arn" , " Name" ]
12
+ }
13
+ ]
14
+ }
15
+ },
16
+ "api" : {
17
+ "literal" : {
18
+ "service" : " AppSync" ,
19
+ "providerPlugin" : " awscloudformation" ,
20
+ "output" : {
21
+ "authConfig" : {
22
+ "additionalAuthenticationProviders" : [
23
+ {
24
+ "authenticationType" : " AWS_IAM"
25
+ }
26
+ ],
27
+ "defaultAuthentication" : {
28
+ "authenticationType" : " AMAZON_COGNITO_USER_POOLS" ,
29
+ "userPoolConfig" : {
30
+ "userPoolId" : " authliteralAuth"
31
+ }
32
+ }
33
+ }
34
+ },
35
+ "dependsOn" : []
36
+ }
37
+ },
38
+ "function" : {
39
+ "GraphQLResolver" : {
40
+ "service" : " Lambda" ,
41
+ "providerPlugin" : " awscloudformation" ,
42
+ "build" : true ,
43
+ "dependsOn" : [
44
+ {
45
+ "category" : " auth" ,
46
+ "resourceName" : " literalAuth" ,
47
+ "attributes" : [" UserPoolId" ]
48
+ },
49
+ {
50
+ "category" : " api" ,
51
+ "resourceName" : " literal" ,
52
+ "attributes" : [" GraphQLAPIIdOutput" , " GraphQLAPIEndpointOutput" ]
53
+ },
54
+ {
55
+ "category" : " storage" ,
56
+ "resourceName" : " literalStorage" ,
57
+ "attributes" : [" BucketName" ]
58
+ }
59
+ ]
60
+ },
61
+ "CloudfrontOriginRequest" : {
62
+ "service" : " Lambda" ,
63
+ "providerPlugin" : " awscloudformation" ,
64
+ "build" : true
65
+ },
66
+ "PostAuthentication" : {
67
+ "service" : " Lambda" ,
68
+ "providerPlugin" : " awscloudformation" ,
69
+ "build" : true ,
70
+ "dependsOn" : []
71
+ }
72
+ },
73
+ "storage" : {
74
+ "literalStorage" : {
75
+ "service" : " S3" ,
76
+ "providerPlugin" : " awscloudformation" ,
77
+ "dependsOn" : []
78
+ }
79
+ },
80
+ "hosting" : {
81
+ "S3AndCloudFront" : {
82
+ "service" : " S3AndCloudFront" ,
83
+ "providerPlugin" : " awscloudformation" ,
84
+ "dependsOn" : []
85
+ }
86
+ }
87
+ }
0 commit comments