interface CfnGroupProps
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.XRay.CfnGroupProps |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsxray#CfnGroupProps |
Java | software.amazon.awscdk.services.xray.CfnGroupProps |
Python | aws_cdk.aws_xray.CfnGroupProps |
TypeScript | aws-cdk-lib » aws_xray » CfnGroupProps |
Properties for defining a CfnGroup
.
See also: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-xray-group.html
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_xray as xray } from 'aws-cdk-lib';
const cfnGroupProps: xray.CfnGroupProps = {
groupName: 'groupName',
// the properties below are optional
filterExpression: 'filterExpression',
insightsConfiguration: {
insightsEnabled: false,
notificationsEnabled: false,
},
tags: [{
key: 'key',
value: 'value',
}],
};
Properties
Name | Type | Description |
---|---|---|
group | string | The unique case-sensitive name of the group. |
filter | string | The filter expression defining the parameters to include traces. |
insights | IResolvable | Insights | The structure containing configurations related to insights. |
tags? | Cfn [] | An array of key-value pairs to apply to this resource. |
groupName
Type:
string
The unique case-sensitive name of the group.
filterExpression?
Type:
string
(optional)
The filter expression defining the parameters to include traces.
insightsConfiguration?
Type:
IResolvable
|
Insights
(optional)
The structure containing configurations related to insights.
- The InsightsEnabled boolean can be set to true to enable insights for the group or false to disable insights for the group.
- The NotificationsEnabled boolean can be set to true to enable insights notifications through Amazon EventBridge for the group.
tags?
Type:
Cfn
[]
(optional)
An array of key-value pairs to apply to this resource.