AWS step-functions documentation change
Summary
Updated example ARNs and User-Agent headers to use placeholder values
Security assessment
Changes standardize documentation examples by replacing specific account/region values with placeholders. No security features or vulnerabilities addressed.
Diff
diff --git a/step-functions/latest/dg/call-https-apis.md b/step-functions/latest/dg/call-https-apis.md index a6aa38381..6f272aadf 100644 --- a//step-functions/latest/dg/call-https-apis.md +++ b//step-functions/latest/dg/call-https-apis.md @@ -73 +73 @@ The [ASL definition](./concepts-amazon-states-language.html) represents an HTTP - "ConnectionArn": "arn:aws:events:us-east-2:123456789012:connection/Stripe/81210c42-8af1-456b-9c4a-6ff02fc664ac" + "ConnectionArn": "arn:aws:events:region:account-id:connection/Stripe/81210c42-8af1-456b-9c4a-6ff02fc664ac" @@ -159 +159 @@ The following example shows how you can specify the `Authentication` field in yo - "ConnectionArn": "arn:aws:events:us-east-2:123456789012:connection/Stripe/81210c42-8af1-456b-9c4a-6ff02fc664ac" + "ConnectionArn": "arn:aws:events:us-east-2:account-id:connection/Stripe/81210c42-8af1-456b-9c4a-6ff02fc664ac" @@ -182 +182 @@ The following example shows how you can specify an `InvocationConfig` field in y - "ConnectionArn": "arn:aws:events:us-east-2:123456789012:connection/connection-id" + "ConnectionArn": "arn:aws:events:region:account-id:connection/connection-id" @@ -206 +206 @@ Step Functions sets the `User-Agent`, `Range`, and `Host` headers. Step Function - User-Agent: Amazon|StepFunctions|HttpInvoke|us-east-1, + User-Agent: Amazon|StepFunctions|HttpInvoke|region, @@ -413 +413 @@ The following example sets the `Headers`, `QueryParameters`, and `RequestBody` f - "ConnectionArn": "arn:aws:events:us-east-1:123456789012:connection/Example/81210c42-8af1-456b-9c4a-6ff02fc664ac" + "ConnectionArn": "arn:aws:events:region:account-id:connection/Example/81210c42-8af1-456b-9c4a-6ff02fc664ac" @@ -478 +478 @@ In this example, duplicate keys are specified in the HTTP Task and EventBridge c - User-Agent: Amazon|StepFunctions|HttpInvoke|us-east-1 + User-Agent: Amazon|StepFunctions|HttpInvoke|region @@ -558 +558 @@ The following IAM policy example grants the least privileges required to your st - "Resource": "arn:aws:states:us-east-2:123456789012:stateMachine:myStateMachine", + "Resource": "arn:aws:states:us-east-2:account-id:stateMachine:myStateMachine", @@ -574 +574 @@ The following IAM policy example grants the least privileges required to your st - "Resource": "arn:aws:events:us-east-2:123456789012:connection/oauth_connection/aeabd89e-d39c-4181-9486-9fe03e6f286a" + "Resource": "arn:aws:events:us-east-2:account-id:connection/oauth_connection/aeabd89e-d39c-4181-9486-9fe03e6f286a" @@ -619 +619 @@ Remember to replace the `italicized` text with your resource-specific informatio - "ConnectionArn": ""arn:aws:events:us-east-2:123456789012:connection/Stripe/81210c42-8af1-456b-9c4a-6ff02fc664ac" + "ConnectionArn": ""arn:aws:events:region:account-id:connection/Stripe/81210c42-8af1-456b-9c4a-6ff02fc664ac" @@ -686 +686 @@ The following example shows the HTTP request that Step Functions sends to the St - User-Agent: Amazon|StepFunctions|HttpInvoke|us-east-1 + User-Agent: Amazon|StepFunctions|HttpInvoke|region