AWS step-functions documentation change
Summary
Updated parameter references from 'Parameters' to 'Arguments' and standardized account IDs/ARN placeholders in EMR integration examples
Security assessment
Changes are documentation syntax updates (Parameters->Arguments) and placeholder normalization. No evidence of addressing security vulnerabilities or adding security-related content in the diff.
Diff
diff --git a/step-functions/latest/dg/connect-emr.md b/step-functions/latest/dg/connect-emr.md index 5f45bed7a..23bf2b1b5 100644 --- a//step-functions/latest/dg/connect-emr.md +++ b//step-functions/latest/dg/connect-emr.md @@ -187 +187 @@ The following includes a `Task` state that creates a cluster. - "Parameters": { + "Arguments": { @@ -198 +198 @@ The following includes a `Task` state that creates a cluster. - "LogUri": "s3n://aws-logs-123456789012-us-east-1/elasticmapreduce/", + "LogUri": "s3n://aws-logs-account-id-us-east-1/elasticmapreduce/", @@ -234,2 +234,2 @@ The following includes a `Task` state that enables termination protection. - "Parameters": { - "ClusterId.$": "$.ClusterId", + "Arguments": { + "ClusterId": "{% $ClusterId %}", @@ -247,3 +247,3 @@ The following includes a `Task` state that submits a step to a cluster. - "Parameters": { - "ClusterId.$": "$.ClusterId", - "ExecutionRoleArn": "arn:aws:iam::123456789012:role/myEMR-execution-role", + "Arguments": { + "ClusterId": "{% $ClusterId %}", + "ExecutionRoleArn": "arn:aws:iam::account-id:role/myEMR-execution-role", @@ -260 +260 @@ The following includes a `Task` state that submits a step to a cluster. - "s3://<region>.elasticmapreduce.samples/cloudfront/code/Hive_CloudFront.q", + "s3://region.elasticmapreduce.samples/cloudfront/code/Hive_CloudFront.q", @@ -262 +262 @@ The following includes a `Task` state that submits a step to a cluster. - "INPUT=s3://<region>.elasticmapreduce.samples", + "INPUT=s3://region.elasticmapreduce.samples", @@ -278,3 +278,3 @@ The following includes a `Task` state that cancels a step. - "Parameters": { - "ClusterId.$": "$.ClusterId", - "StepId.$": "$.AddStepsResult.StepId" + "Arguments": { + "ClusterId": "{% $ClusterId %}", + "StepId": "{% $AddStepsResult.StepId %}" @@ -291,2 +291,2 @@ The following includes a `Task` state that terminates a cluster. - "Parameters": { - "ClusterId.$": "$.ClusterId" + "Arguments": { + "ClusterId": "{% $ClusterId %}", @@ -303,2 +303,2 @@ The following includes a `Task` state that scales a cluster up or down for an in - "Parameters": { - "ClusterId": "j-1234567890123", + "Arguments": { + "ClusterId": "j-account-id3", @@ -319,2 +319,2 @@ The following includes a `Task` state that scales a cluster up or down for an in - "Parameters": { - "ClusterId": "j-1234567890123", + "Arguments": { + "ClusterId": "j-account-id3", @@ -386 +386 @@ _Static resources_ - "arn:aws:elasticmapreduce:[[region]]:[[accountId]]:cluster/[[clusterId]]" + "arn:aws:elasticmapreduce:region:account-id:cluster/cluster-id" @@ -427 +427 @@ _Static resources_ - "arn:aws:iam::{{account}}:role/[[roleName]]" + "arn:aws:iam::account-id:role/roleName" @@ -445 +445 @@ _Static resources_ - "arn:aws:elasticmapreduce:[[region]]:[[accountId]]:cluster/[[clusterId]]" + "arn:aws:elasticmapreduce:region:account-id:cluster/cluster-id" @@ -480 +480 @@ _Static resources_ - "arn:aws:elasticmapreduce:[[region]]:[[accountId]]:cluster/[[clusterId]]" + "arn:aws:elasticmapreduce:region:account-id:cluster/cluster-id" @@ -518 +518 @@ _Static resources_ - "arn:aws:elasticmapreduce:[[region]]:[[accountId]]:cluster/[[clusterId]]" + "arn:aws:elasticmapreduce:region:account-id:cluster/cluster-id" @@ -556 +556 @@ _Static resources_ - "arn:aws:elasticmapreduce:[[region]]:[[accountId]]:cluster/[[clusterId]]" + "arn:aws:elasticmapreduce:region:account-id:cluster/cluster-id"