You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/pages/[platform]/build-a-backend/add-aws-services/logging/set-up-logging/index.mdx
+2-2
Original file line number
Diff line number
Diff line change
@@ -113,11 +113,11 @@ The `<log-group-name>` and `<region>` configured in the CDK construct will be us
113
113
-`<amplify-authenticated-role-name>` and `<amplify-unauthenticated-role-name>` are Amplify roles created as part of Amplify Auth configuration via Amplify CLI.
Copy file name to clipboardExpand all lines: src/pages/[platform]/build-a-backend/add-aws-services/predictions/set-up-predictions/index.mdx
+9-22
Original file line number
Diff line number
Diff line change
@@ -25,8 +25,6 @@ export function getStaticProps() {
25
25
};
26
26
}
27
27
28
-
### Set up the backend
29
-
30
28
To enable Predictions we need to set up the appropriate IAM policy for Roles in your Cognito Identity Pool in order to use an appropriate feature. Additionally, we need to use the ```addOutput``` method to patch the custom Predictions resource to the expected output configuration.
31
29
32
30
<Calloutinformational>
@@ -38,11 +36,9 @@ To learn more, check the docs of [Amazon Translate](https://docs.aws.amazon.com/
To use the Amazon Rekognition service, you need to add Amazon Rekognition as an HTTP Data Source and configure the proper IAM policy for Lambda to effectively utilize the desired feature and grant permission to access the storage. In this case, you can add the `rekognition:DetectText` and `rekognition:DetectLabels` actions to the policy. Update the `amplify/backend.ts` file as shown below.
In your `amplify/backend.ts` file, replace the content with the following code to add an HTTP data source for Amazon Bedrock to your API and grant it permissions to invoke a generative AI model:
@@ -407,7 +403,7 @@ export default function App() {
407
403
}
408
404
```
409
405
410
-

406
+

0 commit comments