AWS X-Ray Group
This page shows how to write Terraform and CloudFormation for X-Ray Group and write them securely.
aws_xray_group (Terraform)
The Group in X-Ray can be configured in Terraform with the resource name aws_xray_group. The following sections describe 1 example of how to use the resource and its parameters.
Example Usage from GitHub
resource "aws_xray_group" "this" {
filter_expression = var.filter_expression
group_name = var.group_name
tags = var.tags
}
Parameters
-
arnoptional computed - string -
filter_expressionrequired - string -
group_namerequired - string -
idoptional computed - string -
tagsoptional - map from string to string
Explanation in Terraform Registry
Creates and manages an AWS XRay Group.
AWS::XRay::Group (CloudFormation)
The Group in XRay can be configured in CloudFormation with the resource name AWS::XRay::Group. The following sections describe how to use the resource and its parameters.
Example Usage from GitHub
An example could not be found in GitHub.
Parameters
-
FilterExpressionoptional - String -
GroupNameoptional - String -
InsightsConfigurationoptional - InsightsConfiguration -
Tagsoptional - List
Explanation in CloudFormation Registry
Use the
AWS::XRay::Groupresource to specify a group with a name and a filter expression.
Frequently asked questions
What is AWS X-Ray Group?
AWS X-Ray Group is a resource for X-Ray of Amazon Web Service. Settings can be wrote in Terraform and CloudFormation.
Where can I find the example code for the AWS X-Ray Group?
For Terraform, the niveklabs/aws source code example is useful. See the Terraform Example section for further details.