Skip to content

Instantly share code, notes, and snippets.

@ErickTamayo
Created July 23, 2019 00:50
Show Gist options
  • Save ErickTamayo/2fc64c7d886527f968f28c58727be2a7 to your computer and use it in GitHub Desktop.
Save ErickTamayo/2fc64c7d886527f968f28c58727be2a7 to your computer and use it in GitHub Desktop.
{
"auth": {
"icontainer": {
"service": "Cognito",
"providerPlugin": "awscloudformation",
"dependsOn": [
{
"category": "function",
"resourceName": "icontainerPostConfirmation",
"triggerProvider": "Cognito",
"attributes": [
"Arn",
"Name"
]
}
]
}
},
"storage": {
"icontainer": {
"service": "S3",
"providerPlugin": "awscloudformation"
}
},
"api": {
"icontainer": {
"service": "AppSync",
"providerPlugin": "awscloudformation",
"output": {
"securityType": "AMAZON_COGNITO_USER_POOLS"
}
}
},
"function": {
"me": {
"service": "Lambda",
"providerPlugin": "awscloudformation",
"build": true,
"dependsOn": [
{
"category": "auth",
"resourceName": "icontainer",
"attributes": [
"UserPoolId"
]
},
{
"category": "api",
"resourceName": "icontainer",
"attributes": [
"GraphQLAPIIdOutput",
"GraphQLAPIEndpointOutput"
]
}
]
},
"deleteDirectory": {
"service": "Lambda",
"providerPlugin": "awscloudformation",
"build": true,
"dependsOn": [
{
"category": "api",
"resourceName": "icontainer",
"attributes": [
"GraphQLAPIIdOutput",
"GraphQLAPIEndpointOutput"
]
}
]
},
"icontainerPostConfirmation": {
"service": "Lambda",
"providerPlugin": "awscloudformation",
"build": true,
"dependsOn": [
{
"category": "api",
"resourceName": "icontainer",
"attributes": [
"GraphQLAPIIdOutput",
"GraphQLAPIEndpointOutput"
]
}
]
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment