In this workshop you'll learn to use the AI-Powered Health Data Masking Solution to mask PHI from within images and unstructured text.
4. Make a new Permissions Policy to access the AI-Powered APIs. Click the JSON tab and paste the below policy. Replace ACCOUNTID with your AWS Account ID (no dashes), and APIGATEWAYID with the API Gateway ID from your CloudFormation output.
{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "AIPowered",
"Effect": "Allow",
"Action": [
"apigateway:PUT",
"execute-api:Invoke",
"apigateway:POST",
"apigateway:GET"
],
"Resource": [
"arn:aws:execute-api:us-east-1:ACCOUNTID:APIGATEWAYID/prod/*",
"arn:aws:apigateway:us-east-1::/restapis/APIGATEWAYID/resources/*"
]
}
]
}