Skip to content

Commit

Permalink
more docs
Browse files Browse the repository at this point in the history
  • Loading branch information
ykethan committed Dec 3, 2024
1 parent c71e9f7 commit 6dd9e11
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,8 @@ export const postConfirmation = defineFunction({
// optionally define an environment variable for your group name
environment: {
GROUP_NAME: 'EVERYONE'
}
},
resourceGroupName: 'auth'
});
```

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ import { defineFunction } from "@aws-amplify/backend"

export const createAuthChallenge = defineFunction({
name: "create-auth-challenge",
resourceGroupName: 'auth'
})
```

Expand Down Expand Up @@ -89,6 +90,7 @@ import { defineFunction } from "@aws-amplify/backend"

export const defineAuthChallenge = defineFunction({
name: "define-auth-challenge",
resourceGroupName: 'auth'
})
```

Expand Down Expand Up @@ -183,6 +185,7 @@ import { defineFunction, secret } from "@aws-amplify/backend"

export const verifyAuthChallengeResponse = defineFunction({
name: "verify-auth-challenge-response",
resourceGroupName: 'auth'
})
```

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ import { defineFunction } from '@aws-amplify/backend';

export const customMessage = defineFunction({
name: "custom-message",
resourceGroupName: 'auth'
});
```

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ import { defineFunction } from "@aws-amplify/backend"

export const createAuthChallenge = defineFunction({
name: "create-auth-challenge",
resourceGroupName: 'auth'
})
```

Expand Down Expand Up @@ -79,6 +80,7 @@ import { defineFunction } from "@aws-amplify/backend"

export const defineAuthChallenge = defineFunction({
name: "define-auth-challenge",
resourceGroupName: 'auth'
})
```

Expand Down Expand Up @@ -144,6 +146,7 @@ export const verifyAuthChallengeResponse = defineFunction({
environment: {
GOOGLE_RECAPTCHA_SECRET_KEY: secret("GOOGLE_RECAPTCHA_SECRET_KEY"),
},
resourceGroupName: 'auth'
})
```

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ import { defineFunction } from '@aws-amplify/backend';

export const preTokenGeneration = defineFunction({
name: 'pre-token-generation',
resourceGroupName: 'auth'
});
```

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,8 @@ To get started, create a new directory and a resource file, `amplify/auth/pre-si
import { defineFunction } from '@aws-amplify/backend';

export const preSignUp = defineFunction({
name: "pre-sign-up"
name: "pre-sign-up",
resourceGroupName: 'auth'
});
```

Expand Down

0 comments on commit 6dd9e11

Please sign in to comment.