CfnGroupProps

class aws_cdk.aws_xray.CfnGroupProps(*, filter_expression=None, group_name=None, insights_configuration=None, tags=None)

Bases: object

Properties for defining a AWS::XRay::Group.

Parameters
  • filter_expression (Optional[str]) – AWS::XRay::Group.FilterExpression.

  • group_name (Optional[str]) – AWS::XRay::Group.GroupName.

  • insights_configuration (Union[IResolvable, InsightsConfigurationProperty, None]) – AWS::XRay::Group.InsightsConfiguration.

  • tags (Optional[Sequence[Any]]) – AWS::XRay::Group.Tags.

Link

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_cdk.aws_xray as xray

# tags is of type object

cfn_group_props = xray.CfnGroupProps(
    filter_expression="filterExpression",
    group_name="groupName",
    insights_configuration=xray.CfnGroup.InsightsConfigurationProperty(
        insights_enabled=False,
        notifications_enabled=False
    ),
    tags=[tags]
)

Attributes

filter_expression

AWS::XRay::Group.FilterExpression.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-xray-group.html#cfn-xray-group-filterexpression

Return type

Optional[str]

group_name

AWS::XRay::Group.GroupName.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-xray-group.html#cfn-xray-group-groupname

Return type

Optional[str]

insights_configuration

AWS::XRay::Group.InsightsConfiguration.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-xray-group.html#cfn-xray-group-insightsconfiguration

Return type

Union[IResolvable, InsightsConfigurationProperty, None]

tags

AWS::XRay::Group.Tags.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-xray-group.html#cfn-xray-group-tags

Return type

Optional[List[Any]]