File tree Expand file tree Collapse file tree 2 files changed +61
-0
lines changed
examples/2016-10-31/policy_templates
samtranslator/policy_templates_data Expand file tree Collapse file tree 2 files changed +61
-0
lines changed Original file line number Diff line number Diff line change @@ -101,3 +101,9 @@ Resources:
101
101
102
102
- CodeCommitReadPolicy :
103
103
RepositoryName : name
104
+
105
+ - TextractPolicy : {}
106
+
107
+ - TextractDetectAnalyzePolicy : {}
108
+
109
+ - TextractGetResultPolicy : {}
Original file line number Diff line number Diff line change 1849
1849
}
1850
1850
]
1851
1851
}
1852
+ },
1853
+ "TextractPolicy" : {
1854
+ "Description" : " Gives full access to Textract" ,
1855
+ "Parameters" : {
1856
+
1857
+ },
1858
+ "Definition" : {
1859
+ "Statement" : [
1860
+ {
1861
+ "Effect" : " Allow" ,
1862
+ "Action" : [
1863
+ " textract:*"
1864
+ ],
1865
+ "Resource" : " *"
1866
+ }
1867
+ ]
1868
+ }
1869
+ },
1870
+ "TextractDetectAnalyzePolicy" : {
1871
+ "Description" : " Gives access to detect and analyze documents with Textract" ,
1872
+ "Parameters" : {
1873
+
1874
+ },
1875
+ "Definition" : {
1876
+ "Statement" : [
1877
+ {
1878
+ "Effect" : " Allow" ,
1879
+ "Action" : [
1880
+ " textract:DetectDocumentText" ,
1881
+ " textract:StartDocumentTextDetection" ,
1882
+ " textract:StartDocumentAnalysis" ,
1883
+ " textract:AnalyzeDocument"
1884
+ ],
1885
+ "Resource" : " *"
1886
+ }
1887
+ ]
1888
+ }
1889
+ },
1890
+ "TextractGetResultPolicy" : {
1891
+ "Description" : " Gives access to get detected and analyzed documents from Textract" ,
1892
+ "Parameters" : {
1893
+
1894
+ },
1895
+ "Definition" : {
1896
+ "Statement" : [
1897
+ {
1898
+ "Effect" : " Allow" ,
1899
+ "Action" : [
1900
+ " textract:GetDocumentTextDetection" ,
1901
+ " textract:GetDocumentAnalysis"
1902
+ ],
1903
+ "Resource" : " *"
1904
+ }
1905
+ ]
1906
+ }
1852
1907
}
1853
1908
}
1854
1909
}
You can’t perform that action at this time.
0 commit comments