Skip to content

feat: add Textract analysis operations to supported services SCP#73

Open
chrisns wants to merge 1 commit into
aws-solutions:mainfrom
co-cddo:feature/add-textract-service-support
Open

feat: add Textract analysis operations to supported services SCP#73
chrisns wants to merge 1 commit into
aws-solutions:mainfrom
co-cddo:feature/add-textract-service-support

Conversation

@chrisns
Copy link
Copy Markdown

@chrisns chrisns commented Jan 5, 2026

Summary

  • Adds Amazon Textract read and analysis operations to the AWS Nuke supported services SCP
  • Enables sandbox users to use Textract's document analysis capabilities

Details

This PR adds the following Textract actions to InnovationSandboxAWSNukeSupportedServicesScp:

  • AnalyzeDocument, AnalyzeExpense, AnalyzeID, DetectDocumentText
  • GetAdapter, GetAdapterVersion, GetDocumentAnalysis, GetDocumentTextDetection
  • GetExpenseAnalysis, GetLendingAnalysis, GetLendingAnalysisSummary
  • ListAdapters, ListAdapterVersions, ListTagsForResource

The actions are intentionally scoped to read and analysis operations only. This prevents users from creating Textract Adapters and Adapter Versions, which are not currently cleaned up by aws-nuke.

Note: Once ekristen/aws-nuke#829 is merged and incorporated into this solution, this could be simplified to textract:* as adapter resources would then be properly managed during cleanup.

@aws-khargita
Copy link
Copy Markdown
Member

Thanks for opening this PR @chrisns, because of updates potentially overriding changes to the default SCPs we are delaying making these types of changes in patch releases for now. We plan on implementing better SCP and global configuration management in 1.3.0.

Also just an disclaimer, because of policy we are unable to directly merge PRs on github without going through some internal processes, but we still provide credit in changelog entries for PRs that were incorporated into the release.

When we make this change we will make sure to credit you with changes to these SCPs!

@chrisns
Copy link
Copy Markdown
Author

chrisns commented Jan 14, 2026

Early access to 1.3.0 would be amazing, we're developing so much code and complexity I'd LOVE to throw away :)

My PR to awsnuke got merged so this can now just be textract:* if you update that

Thanks for the offer of recognition, aware of AWS policy so this is appreciated.

Add Amazon Textract read and analysis operations to the list of allowed
AWS services in the InnovationSandboxAWSNukeSupportedServicesScp.

Limited to specific actions to prevent creation of adapter resources
that are not managed by aws-nuke:
- AnalyzeDocument, AnalyzeExpense, AnalyzeID, DetectDocumentText
- GetAdapter, GetAdapterVersion, GetDocumentAnalysis
- GetDocumentTextDetection, GetExpenseAnalysis, GetLendingAnalysis
- GetLendingAnalysisSummary, ListAdapters, ListAdapterVersions
- ListTagsForResource
@chrisns chrisns force-pushed the feature/add-textract-service-support branch 2 times, most recently from a7ffd12 to a93048d Compare January 26, 2026 20:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants