AWS step-functions documentation change
Summary
Updated ARN formatting examples to use placeholder account-id and region values instead of hardcoded 123456789012/us-east-2
Security assessment
Routine documentation standardization without security context or vulnerability fixes
Diff
diff --git a/step-functions/latest/dg/state-map-distributed.md b/step-functions/latest/dg/state-map-distributed.md index a2da1c7e7..f5791af90 100644 --- a//step-functions/latest/dg/state-map-distributed.md +++ b//step-functions/latest/dg/state-map-distributed.md @@ -80 +80 @@ Map Runs do **not** emit metrics to CloudWatch. However, child workflow executio -`arn:`partition`:states:`region`:`account`:stateMachine:`StateMachineName`/`MapRunLabel or UUID`` +`arn:`partition`:states:`region`:`account`:stateMachine:`stateMachineName`/`MapRunLabel or UUID`` @@ -127 +127 @@ The following _Distributed Map state_ definition example specifies the dataset a - "FunctionName": "arn:aws:lambda:us-east-2:123456789012:function:processCSVData" + "FunctionName": "arn:aws:lambda:us-east-2:account-id:function:processCSVData" @@ -153 +153 @@ The following IAM policy example grants the least privileges required to your st -Make sure that you replace ``stateMachineName`` with the name of the state machine in which you're using the _Distributed Map state_. For example, `arn:aws:states:`us-east-2`:`123456789012`:stateMachine:`mystateMachine``. +Make sure that you replace ``stateMachineName`` with the name of the state machine in which you're using the _Distributed Map state_. For example, `arn:aws:states:`region`:`account-id`:stateMachine:`mystateMachine``. @@ -165 +165 @@ Make sure that you replace ``stateMachineName`` with the name of the state machi - "arn:aws:states:region:accountID:stateMachine:stateMachineName" + "arn:aws:states:region:account-id:stateMachine:stateMachineName" @@ -173 +173 @@ Make sure that you replace ``stateMachineName`` with the name of the state machi - "Resource": "arn:aws:states:region:accountID:execution:stateMachineName:*" + "Resource": "arn:aws:states:region:account-id:execution:stateMachineName:*" @@ -292 +292 @@ A string that uniquely identifies a `Map` state. For each Map Run, Step Function - arn:aws:states:us-east-1:123456789012:mapRun:demoWorkflow/demoLabel:3c39a231-69bb-3d89-8607-9e124eddbb0b + arn:aws:states:region:account-id:mapRun:demoWorkflow/demoLabel:3c39a231-69bb-3d89-8607-9e124eddbb0b