Skip to content

Commit

Permalink
updated docs
Browse files Browse the repository at this point in the history
  • Loading branch information
dustins committed Nov 19, 2024
1 parent f205e65 commit 07a643a
Show file tree
Hide file tree
Showing 4 changed files with 84 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,25 @@
"sagemaker:CreateProcessingJob",
"sagemaker:CreateHyperParameterTuningJob",
"sagemaker:CreateTransformJob",

"sagemaker:DeleteModel",
"sagemaker:DescribeModel",
"sagemaker:DeleteEndpoint",
"sagemaker:DescribeEndpoint",
"sagemaker:InvokeEndpoint",
"sagemaker:DeleteEndpointConfig",
"sageamker:DescribeEndpointConfig",
"sagemaker:DescribeLabelingJob",
"sagemaker:StopLabelingJob",
"sagemaker:DescribeTrainingJob",
"sagemaker:StopTrainingJob",
"sagemaker:DescribeProcessingJob",
"sageamker:StopProcessingJob",
"sagemaker:DescribeHyperParameterTuningJob",
"sagemaker:StopHyperParameterTuningJob",
"sagemaker:DescribeTransformJob",
"sagemaker:StopTransformJob",
"sagemaker:UpdateEndpoint",
"sagemaker:UpdateEndpointWeightsAndCapacities",
"bedrock:Associate*",
"bedrock:Create*",
"bedrock:BatchDelete*",
Expand All @@ -48,7 +66,6 @@
"bedrock:Retrieve*",
"bedrock:Start*",
"bedrock:Update*",

"bedrock:Apply*",
"bedrock:Detect*",
"bedrock:List*",
Expand All @@ -59,7 +76,8 @@
"Resource": "*",
"Condition": {
"StringNotEqualsIgnoreCase": {
"aws:RequestTag/project": "Project001v20241002"
"aws:RequestTag/project": "Project001v20241002",
"aws:ResourceTag/project": "Project001v20241002"
}
}
},
Expand Down
24 changes: 21 additions & 3 deletions frontend/docs/admin-guide/security/policies/project-policy.md
Original file line number Diff line number Diff line change
Expand Up @@ -73,15 +73,32 @@ These actions grants a role the ability to create the specified SageMaker and Be
"sagemaker:CreateProcessingJob",
"sagemaker:CreateHyperParameterTuningJob",
"sagemaker:CreateTransformJob",
"sagemaker:DeleteModel",
"sagemaker:DescribeModel",
"sagemaker:DeleteEndpoint",
"sagemaker:DescribeEndpoint",
"sagemaker:InvokeEndpoint",
"sagemaker:DeleteEndpointConfig",
"sageamker:DescribeEndpointConfig",
"sagemaker:DescribeLabelingJob",
"sagemaker:StopLabelingJob",
"sagemaker:DescribeTrainingJob",
"sagemaker:StopTrainingJob",
"sagemaker:DescribeProcessingJob",
"sageamker:StopProcessingJob",
"sagemaker:DescribeHyperParameterTuningJob",
"sagemaker:StopHyperParameterTuningJob",
"sagemaker:DescribeTransformJob",
"sagemaker:StopTransformJob",
"sagemaker:UpdateEndpoint",
"sagemaker:UpdateEndpointWeightsAndCapacities",
"bedrock:Associate*",
"bedrock:Create*",
"bedrock:BatchDelete*",
"bedrock:Delete*",
"bedrock:Put*",
"bedrock:Start*",
"bedrock:Update*",
"bedrock:Apply*",
"bedrock:Detect*",
"bedrock:List*",
Expand All @@ -92,7 +109,8 @@ These actions grants a role the ability to create the specified SageMaker and Be
"Resource": "*",
"Condition": {
"StringNotEqualsIgnoreCase": {
"aws:RequestTag/project": "Project001"
"aws:RequestTag/project": "Project001",
"aws:ResourceTag/project": "Project001v20241002"
}
}
},
Expand Down
24 changes: 21 additions & 3 deletions frontend/docs/admin-guide/security/policies/user-policy-raw.json
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,25 @@
"sagemaker:CreateProcessingJob",
"sagemaker:CreateHyperParameterTuningJob",
"sagemaker:CreateTransformJob",

"sagemaker:DeleteModel",
"sagemaker:DescribeModel",
"sagemaker:DeleteEndpoint",
"sagemaker:DescribeEndpoint",
"sagemaker:InvokeEndpoint",
"sagemaker:DeleteEndpointConfig",
"sageamker:DescribeEndpointConfig",
"sagemaker:DescribeLabelingJob",
"sagemaker:StopLabelingJob",
"sagemaker:DescribeTrainingJob",
"sagemaker:StopTrainingJob",
"sagemaker:DescribeProcessingJob",
"sageamker:StopProcessingJob",
"sagemaker:DescribeHyperParameterTuningJob",
"sagemaker:StopHyperParameterTuningJob",
"sagemaker:DescribeTransformJob",
"sagemaker:StopTransformJob",
"sagemaker:UpdateEndpoint",
"sagemaker:UpdateEndpointWeightsAndCapacities",
"bedrock:Associate*",
"bedrock:Create*",
"bedrock:BatchDelete*",
Expand All @@ -79,7 +97,6 @@
"bedrock:Retrieve*",
"bedrock:Start*",
"bedrock:Update*",

"bedrock:Apply*",
"bedrock:Detect*",
"bedrock:List*",
Expand All @@ -90,7 +107,8 @@
"Resource": "*",
"Condition": {
"StringNotEqualsIgnoreCase": {
"aws:RequestTag/user": "jdoe"
"aws:RequestTag/user": "jdoe",
"aws:ResourceTag/user": "jdoe"
}
}
}
Expand Down
24 changes: 21 additions & 3 deletions frontend/docs/admin-guide/security/policies/user-policy.md
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,25 @@ These actions grants a role the ability to create the specified SageMaker and Be
"sagemaker:CreateProcessingJob",
"sagemaker:CreateHyperParameterTuningJob",
"sagemaker:CreateTransformJob",
"sagemaker:DeleteModel",
"sagemaker:DescribeModel",
"sagemaker:DeleteEndpoint",
"sagemaker:DescribeEndpoint",
"sagemaker:InvokeEndpoint",
"sagemaker:DeleteEndpointConfig",
"sageamker:DescribeEndpointConfig",
"sagemaker:DescribeLabelingJob",
"sagemaker:StopLabelingJob",
"sagemaker:DescribeTrainingJob",
"sagemaker:StopTrainingJob",
"sagemaker:DescribeProcessingJob",
"sageamker:StopProcessingJob",
"sagemaker:DescribeHyperParameterTuningJob",
"sagemaker:StopHyperParameterTuningJob",
"sagemaker:DescribeTransformJob",
"sagemaker:StopTransformJob",
"sagemaker:UpdateEndpoint",
"sagemaker:UpdateEndpointWeightsAndCapacities",
"bedrock:Associate*",
"bedrock:Create*",
"bedrock:BatchDelete*",
Expand All @@ -134,7 +152,6 @@ These actions grants a role the ability to create the specified SageMaker and Be
"bedrock:Retrieve*",
"bedrock:Start*",
"bedrock:Update*",
"bedrock:Apply*",
"bedrock:Detect*",
"bedrock:List*",
Expand All @@ -145,7 +162,8 @@ These actions grants a role the ability to create the specified SageMaker and Be
"Resource": "*",
"Condition": {
"StringNotEqualsIgnoreCase": {
"aws:RequestTag/user": "jdoe"
"aws:RequestTag/user": "jdoe",
"aws:ResourceTag/user": "jdoe"
}
}
}
Expand Down

0 comments on commit 07a643a

Please sign in to comment.