CfnGroupMixinProps
- class aws_cdk.mixins_preview.aws_xray.mixins.CfnGroupMixinProps(*, filter_expression=None, group_name=None, insights_configuration=None, tags=None)
Bases:
objectProperties for CfnGroupPropsMixin.
- Parameters:
filter_expression (
Optional[str]) – The filter expression defining the parameters to include traces.group_name (
Optional[str]) – The unique case-sensitive name of the group.insights_configuration (
Union[IResolvable,InsightsConfigurationProperty,Dict[str,Any],None]) – 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 (
Optional[Sequence[Union[CfnTag,Dict[str,Any]]]]) – An array of key-value pairs to apply to this resource.
- See:
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-xray-group.html
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk.mixins_preview.aws_xray import mixins as xray_mixins cfn_group_mixin_props = xray_mixins.CfnGroupMixinProps( filter_expression="filterExpression", group_name="groupName", insights_configuration=xray_mixins.CfnGroupPropsMixin.InsightsConfigurationProperty( insights_enabled=False, notifications_enabled=False ), tags=[CfnTag( key="key", value="value" )] )
Attributes
- filter_expression
The filter expression defining the parameters to include traces.
- group_name
The unique case-sensitive name of the group.
- insights_configuration
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
An array of key-value pairs to apply to this resource.