Skip to main content
IAM Policy Map

AWSXrayCrossAccountSharingConfiguration

OperatorAWS managedActivePermissions reviewedShow on mapCompare

Summary

Provides capabilities to manage Observability Access Manager links and establish sharing of X-Ray traces

Permissions imported from the AWS Managed Policy Reference Guide; other sections pending editorial review.

Identity

ARN
arn:aws:iam::aws:policy/AWSXrayCrossAccountSharingConfiguration
Default version
v1
Created
Last edited
Services
oam, xray

Control-plane actions (7)

By access level: 2 Read, 1 Tagging, 4 Write.

Control-plane actions by service
ServiceGrantedAccess levels and limitsGranted by
OAM6 of 152 Read, 1 Tagging, 3 Write; 5 restricted, 0 conditionaloam:CreateLink, oam:DeleteLink, oam:GetLink, oam:ListLinks, oam:TagResource, oam:UpdateLink
X-Ray1 of 321 Write; 0 restricted, 0 conditionalxray:Link
OAM: 6 actions
  • oam:CreateLink (Write)
  • oam:DeleteLink (Write)
  • oam:GetLink (Read)
  • oam:ListLinks (Read)
  • oam:TagResource (Tagging)
  • oam:UpdateLink (Write)
X-Ray: 1 actions
  • xray:Link (Write)

Data-plane actions (0)

By access level: none.

This policy grants no actions in this plane.

Excluded and conditional actions

No patterns are excluded by NotAction or Deny statements.

Resource scope and attachment

Resource scope across granted actions: mixed.

Can be attached: Yes, to users, groups and roles.

Why this tier

  • Grants 5 write, tagging or permissions-management actions, short of full control of any service.

Guidance

Pending editorial review. The permission data on this page comes straight from AWS; this section will be filled in once a reviewed guide exists.

Same service

Same domain

Frequently asked questions

Pending editorial review. The permission data on this page comes straight from AWS; this section will be filled in once a reviewed guide exists.

Policy JSON

Download policy.json

{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Effect": "Allow",
      "Action": [
        "xray:Link",
        "oam:ListLinks"
      ],
      "Resource": "*"
    },
    {
      "Effect": "Allow",
      "Action": [
        "oam:DeleteLink",
        "oam:GetLink",
        "oam:TagResource"
      ],
      "Resource": "arn:aws:oam:*:*:link/*"
    },
    {
      "Effect": "Allow",
      "Action": [
        "oam:CreateLink",
        "oam:UpdateLink"
      ],
      "Resource": [
        "arn:aws:oam:*:*:link/*",
        "arn:aws:oam:*:*:sink/*"
      ]
    }
  ]
}

Version history

Current version v1, edited by AWS on 2022-11-27. Version history is recorded from 2026-11-11. Earlier versions are in the IAM console under Policy versions.

Attach snippets

AWS CLI

aws iam attach-role-policy --role-name ROLE_NAME --policy-arn arn:aws:iam::aws:policy/AWSXrayCrossAccountSharingConfiguration
aws iam attach-user-policy --user-name USER_NAME --policy-arn arn:aws:iam::aws:policy/AWSXrayCrossAccountSharingConfiguration
aws iam attach-group-policy --group-name GROUP_NAME --policy-arn arn:aws:iam::aws:policy/AWSXrayCrossAccountSharingConfiguration

CloudFormation

Resources:
  ExampleRole:
    Type: AWS::IAM::Role
    Properties:
      AssumeRolePolicyDocument: {}  # replace with your trust policy
      ManagedPolicyArns:
        - arn:aws:iam::aws:policy/AWSXrayCrossAccountSharingConfiguration

Terraform

resource "aws_iam_role_policy_attachment" "awsxraycrossaccountsharingconfiguration" {
  role       = aws_iam_role.example.name
  policy_arn = "arn:aws:iam::aws:policy/AWSXrayCrossAccountSharingConfiguration"
}

CDK (TypeScript)

role.addManagedPolicy(
  iam.ManagedPolicy.fromAwsManagedPolicyName("AWSXrayCrossAccountSharingConfiguration"),
);

Sources

Pending editorial review. No editorial sources are listed yet.