x-xray¶
This section allows to enable X-Ray to run right next to your container. It will use the AWS original image for X-Ray Daemon and exposes the ports to the task.
Syntax reference¶
x-xray: True/False
IAM permissions¶
Enabling XRay will automatically add the following managed policy to your task definition:
arn:aws:iam::aws:policy/AWSXRayDaemonWriteAccess
{
"Version": "2012-10-17",
"Statement": [
{
"Effect": "Allow",
"Action": [
"xray:PutTraceSegments",
"xray:PutTelemetryRecords",
"xray:GetSamplingRules",
"xray:GetSamplingTargets",
"xray:GetSamplingStatisticSummaries"
],
"Resource": [
"*"
]
}
]
}