This schema provides construct and validation rules for AWS-XRay Group resource parameters.
resource "awscc_xray_group" "example" {
group_name = "example"
filter_expression = "responsetime > 5"
insights_configuration = {
insights_enabled = true
notifications_enabled = true
}
tags = [
{
key = "ModifiedBy"
value = "AWSCC"
}
]
}
group_name
(String) The case-sensitive name of the new group. Names must be unique.filter_expression
(String) The filter expression defining criteria by which to group traces.insights_configuration
(Attributes) (see below for nested schema)tags
(Attributes List) An array of key-value pairs to apply to this resource. (see below for nested schema)group_arn
(String) The ARN of the group that was generated on creation.id
(String) Uniquely identifies the resource.insights_configuration
Optional:
insights_enabled
(Boolean) Set the InsightsEnabled value to true to enable insights or false to disable insights.notifications_enabled
(Boolean) Set the NotificationsEnabled value to true to enable insights notifications. Notifications can only be enabled on a group with InsightsEnabled set to true.tags
Required:
key
(String) The key name of the tag.value
(String) The value for the tag.Import is supported using the following syntax:
$ terraform import awscc_xray_group.example <resource ID>