Skip to content

Commit 86cad42

Browse files
authored
Added new AWS Attributes for various services (#1794)
1 parent f7f908f commit 86cad42

File tree

16 files changed

+623
-33
lines changed

16 files changed

+623
-33
lines changed

.chloggen/add-new-aws-attributes.yaml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
# Use this changelog template to create an entry for release notes.
2+
#
3+
# If your change doesn't affect end users you should instead start
4+
# your pull request title with [chore] or use the "Skip Changelog" label.
5+
6+
# One of 'breaking', 'deprecation', 'new_component', 'enhancement', 'bug_fix'
7+
change_type: enhancement
8+
9+
# The name of the area of concern in the attributes-registry, (e.g. http, cloud, db)
10+
component: aws
11+
12+
# A brief description of the change. Surround your text with quotes ("") if it needs to start with a backtick (`).
13+
note: Added new AWS attributes for various services including SQS, SNS, Bedrock, Step Functions, Secrets Manager and Kineses
14+
15+
# Mandatory: One or more tracking issues related to the change. You can use the PR number here if no issue exists.
16+
# The values here must be integers.
17+
issues: [1794]
18+
19+
# (Optional) One or more lines of additional information to render under the primary note.
20+
# These lines will be padded with 2 spaces and then inserted directly into the document.
21+
# Use pipe (|) for multiline entries.
22+
subtext:

docs/attributes-registry/aws.md

Lines changed: 57 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,18 @@
44
# AWS
55

66
- [General AWS Attributes](#general-aws-attributes)
7+
- [Amazon Bedrock Attributes](#amazon-bedrock-attributes)
78
- [Amazon DynamoDB Attributes](#amazon-dynamodb-attributes)
89
- [Amazon ECS Attributes](#amazon-ecs-attributes)
910
- [Amazon EKS Attributes](#amazon-eks-attributes)
11+
- [Amazon Kinesis Attributes](#amazon-kinesis-attributes)
1012
- [Amazon Lambda Attributes](#amazon-lambda-attributes)
1113
- [Amazon Logs Attributes](#amazon-logs-attributes)
1214
- [Amazon S3 Attributes](#amazon-s3-attributes)
15+
- [Amazon Secrets Manager Attributes](#amazon-secrets-manager-attributes)
16+
- [Amazon SNS Attributes](#amazon-sns-attributes)
17+
- [Amazon SQS Attributes](#amazon-sqs-attributes)
18+
- [Amazon Step Functions Attributes](#amazon-step-functions-attributes)
1319

1420
## General AWS Attributes
1521

@@ -20,6 +26,15 @@ This section defines generic attributes for AWS services.
2026
| <a id="aws-extended-request-id" href="#aws-extended-request-id">`aws.extended_request_id`</a> | string | The AWS extended request ID as returned in the response header `x-amz-id-2`. | `wzHcyEWfmOGDIE5QOhTAqFDoDWP3y8IUvpNINCwL9N4TEHbUw0/gZJ+VZTmCNCWR7fezEN3eCiQ=` | ![Development](https://img.shields.io/badge/-development-blue) |
2127
| <a id="aws-request-id" href="#aws-request-id">`aws.request_id`</a> | string | The AWS request ID as returned in the response headers `x-amzn-requestid`, `x-amzn-request-id` or `x-amz-request-id`. | `79b9da39-b7ae-508a-a6bc-864b2829c622`; `C9ER4AJX75574TDJ` | ![Development](https://img.shields.io/badge/-development-blue) |
2228

29+
## Amazon Bedrock Attributes
30+
31+
This document defines attributes for AWS Bedrock.
32+
33+
| Attribute | Type | Description | Examples | Stability |
34+
|---|---|---|---|---|
35+
| <a id="aws-bedrock-guardrail-id" href="#aws-bedrock-guardrail-id">`aws.bedrock.guardrail.id`</a> | string | The unique identifier of the AWS Bedrock Guardrail. A [guardrail](https://docs.aws.amazon.com/bedrock/latest/userguide/guardrails.html) helps safeguard and prevent unwanted behavior from model responses or user messages. | `sgi5gkybzqak` | ![Development](https://img.shields.io/badge/-development-blue) |
36+
| <a id="aws-bedrock-knowledge-base-id" href="#aws-bedrock-knowledge-base-id">`aws.bedrock.knowledge_base.id`</a> | string | The unique identifier of the AWS Bedrock Knowledge base. A [knowledge base](https://docs.aws.amazon.com/bedrock/latest/userguide/knowledge-base.html) is a bank of information that can be queried by models to generate more relevant responses and augment prompts. | `XFWUPB9PAW` | ![Development](https://img.shields.io/badge/-development-blue) |
37+
2338
## Amazon DynamoDB Attributes
2439

2540
This document defines attributes for AWS DynamoDB.
@@ -80,13 +95,22 @@ This document defines attributes for AWS Elastic Kubernetes Service (EKS).
8095
|---|---|---|---|---|
8196
| <a id="aws-eks-cluster-arn" href="#aws-eks-cluster-arn">`aws.eks.cluster.arn`</a> | string | The ARN of an EKS cluster. | `arn:aws:ecs:us-west-2:123456789123:cluster/my-cluster` | ![Development](https://img.shields.io/badge/-development-blue) |
8297

98+
## Amazon Kinesis Attributes
99+
100+
This document defines attributes for AWS Kinesis.
101+
102+
| Attribute | Type | Description | Examples | Stability |
103+
|---|---|---|---|---|
104+
| <a id="aws-kinesis-stream-name" href="#aws-kinesis-stream-name">`aws.kinesis.stream_name`</a> | string | The name of the AWS Kinesis [stream](https://docs.aws.amazon.com/streams/latest/dev/introduction.html) the request refers to. Corresponds to the `--stream-name` parameter of the Kinesis [describe-stream](https://docs.aws.amazon.com/cli/latest/reference/kinesis/describe-stream.html) operation. | `some-stream-name` | ![Development](https://img.shields.io/badge/-development-blue) |
105+
83106
## Amazon Lambda Attributes
84107

85108
This document defines attributes for AWS Lambda.
86109

87110
| Attribute | Type | Description | Examples | Stability |
88111
|---|---|---|---|---|
89112
| <a id="aws-lambda-invoked-arn" href="#aws-lambda-invoked-arn">`aws.lambda.invoked_arn`</a> | string | The full invoked ARN as provided on the `Context` passed to the function (`Lambda-Runtime-Invoked-Function-Arn` header on the `/runtime/invocation/next` applicable). [1] | `arn:aws:lambda:us-east-1:123456:function:myfunction:myalias` | ![Development](https://img.shields.io/badge/-development-blue) |
113+
| <a id="aws-lambda-resource-mapping-id" href="#aws-lambda-resource-mapping-id">`aws.lambda.resource_mapping.id`</a> | string | The UUID of the [AWS Lambda EvenSource Mapping](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-eventsourcemapping.html). An event source is mapped to a lambda function. It's contents are read by Lambda and used to trigger a function. This isn't available in the lambda execution context or the lambda runtime environtment. This is going to be populated by the AWS SDK for each language when that UUID is present. Some of these operations are Create/Delete/Get/List/Update EventSourceMapping. | `587ad24b-03b9-4413-8202-bbd56b36e5b7` | ![Development](https://img.shields.io/badge/-development-blue) |
90114

91115
**[1] `aws.lambda.invoked_arn`:** This may be different from `cloud.resource_id` if an alias is involved.
92116

@@ -165,3 +189,36 @@ This applies in particular to the following operations:
165189
- [list-parts](https://docs.aws.amazon.com/cli/latest/reference/s3api/list-parts.html)
166190
- [upload-part](https://docs.aws.amazon.com/cli/latest/reference/s3api/upload-part.html)
167191
- [upload-part-copy](https://docs.aws.amazon.com/cli/latest/reference/s3api/upload-part-copy.html)
192+
193+
## Amazon Secrets Manager Attributes
194+
195+
This document defines attributes for AWS Secrets Manager.
196+
197+
| Attribute | Type | Description | Examples | Stability |
198+
|---|---|---|---|---|
199+
| <a id="aws-secretsmanager-secret-arn" href="#aws-secretsmanager-secret-arn">`aws.secretsmanager.secret.arn`</a> | string | The ARN of the Secret stored in the Secrets Mangger | `arn:aws:secretsmanager:us-east-1:123456789012:secret:SecretName-6RandomCharacters` | ![Development](https://img.shields.io/badge/-development-blue) |
200+
201+
## Amazon SNS Attributes
202+
203+
This document defines attributes for AWS SNS.
204+
205+
| Attribute | Type | Description | Examples | Stability |
206+
|---|---|---|---|---|
207+
| <a id="aws-sns-topic-arn" href="#aws-sns-topic-arn">`aws.sns.topic.arn`</a> | string | The ARN of the AWS SNS Topic. An Amazon SNS [topic](https://docs.aws.amazon.com/sns/latest/dg/sns-create-topic.html) is a logical access point that acts as a communication channel. | `arn:aws:sns:us-east-1:123456789012:mystack-mytopic-NZJ5JSMVGFIE` | ![Development](https://img.shields.io/badge/-development-blue) |
208+
209+
## Amazon SQS Attributes
210+
211+
This document defines attributes for AWS SQS.
212+
213+
| Attribute | Type | Description | Examples | Stability |
214+
|---|---|---|---|---|
215+
| <a id="aws-sqs-queue-url" href="#aws-sqs-queue-url">`aws.sqs.queue.url`</a> | string | The URL of the AWS SQS Queue. It's a unique identifier for a queue in Amazon Simple Queue Service (SQS) and is used to access the queue and perform actions on it. | `https://sqs.us-east-1.amazonaws.com/123456789012/MyQueue` | ![Development](https://img.shields.io/badge/-development-blue) |
216+
217+
## Amazon Step Functions Attributes
218+
219+
This document defines attributes for AWS Step Functions.
220+
221+
| Attribute | Type | Description | Examples | Stability |
222+
|---|---|---|---|---|
223+
| <a id="aws-step-functions-activity-arn" href="#aws-step-functions-activity-arn">`aws.step_functions.activity.arn`</a> | string | The ARN of the AWS Step Functions Activity. | `arn:aws:states:us-east-1:123456789012:activity:get-greeting` | ![Development](https://img.shields.io/badge/-development-blue) |
224+
| <a id="aws-step-functions-state-machine-arn" href="#aws-step-functions-state-machine-arn">`aws.step_functions.state_machine.arn`</a> | string | The ARN of the AWS Step Functions State Machine. | `arn:aws:states:us-east-1:123456789012:stateMachine:myStateMachine:1` | ![Development](https://img.shields.io/badge/-development-blue) |

0 commit comments

Comments
 (0)