Skip to content

Commit

Permalink
fix(stepfunctions-tasks): SageMakerCreateTrainingJob add sagemaker:…
Browse files Browse the repository at this point in the history
…AddTags permission (#32536)

### Issue # (if applicable)

Closes #32294

### Reason for this change


- Missing permission
<img width="722" alt="Screenshot 2024-12-15 171605" src="https://github.com/user-attachments/assets/c5626c58-fef7-48bf-afd1-934978ce7baa" />

### Description of changes


- StepFunctions add `sagemaker:AddTags` permission

### Description of how you validated changes


Unit + Integration test

### Checklist
- [x] My code adheres to the [CONTRIBUTING GUIDE](https://github.com/aws/aws-cdk/blob/main/CONTRIBUTING.md) and [DESIGN GUIDELINES](https://github.com/aws/aws-cdk/blob/main/docs/DESIGN_GUIDELINES.md)

----

*By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
  • Loading branch information
phuhung273 authored Feb 21, 2025
1 parent 862072e commit 3b07346
Show file tree
Hide file tree
Showing 28 changed files with 33,964 additions and 60 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
__label__4 linux ready for prime time , intel says , despite all the linux hype , the open-source movement has yet to make a huge splash in the desktop market . that may be about to change , thanks to chipmaking giant intel corp .
__label__2 bowled by the slower one again , kolkata , november 14 the past caught up with sourav ganguly as the indian skippers return to international cricket was short lived .

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -282,6 +282,7 @@
"Statement": [
{
"Action": [
"sagemaker:AddTags",
"sagemaker:CreateTrainingJob",
"sagemaker:DescribeTrainingJob",
"sagemaker:StopTrainingJob"
Expand Down Expand Up @@ -447,12 +448,6 @@
"StateMachine2E01A3A5": {
"Type": "AWS::StepFunctions::StateMachine",
"Properties": {
"RoleArn": {
"Fn::GetAtt": [
"StateMachineRoleB840431D",
"Arn"
]
},
"DefinitionString": {
"Fn::Join": [
"",
Expand Down Expand Up @@ -518,6 +513,12 @@
":states:::sagemaker:updateEndpoint\",\"Parameters\":{\"EndpointConfigName.$\":\"$.Endpoint.Config\",\"EndpointName.$\":\"$.Endpoint.Name\"}}}}"
]
]
},
"RoleArn": {
"Fn::GetAtt": [
"StateMachineRoleB840431D",
"Arn"
]
}
},
"DependsOn": [
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 3b07346

Please sign in to comment.