Skip to content

awsTrustPolicy

Retrieves the AWS trust policy that will be attached with each role (cross-account, exocompute, etc.) in the customer's environment.

Arguments

Argument Type Description
input (required) AwsTrustPolicyInput! Input to retrieve the AWS trust policy.

Returns

AwsTrustPolicy!

Sample

query AwsTrustPolicy($input: AwsTrustPolicyInput!) {
  awsTrustPolicy(input: $input)
}
{
  "input": {
    "awsNativeAccounts": [
      {
        "id": "example-string"
      }
    ],
    "features": [
      "ALL"
    ]
  }
}
{
  "data": {
    "awsTrustPolicy": {
      "result": [
        {
          "awsNativeId": "example-string"
        }
      ]
    }
  }
}