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
-
arn
optional computed - string -
filter_expression
required - string -
group_name
required - string -
id
optional computed - string -
tags
optional - 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
-
FilterExpression
optional - String -
GroupName
optional - String -
InsightsConfiguration
optional - InsightsConfiguration -
Tags
optional - List
Explanation in CloudFormation Registry
Use the
AWS::XRay::Group
resource 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.