Interface CfnGroupProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnGroupProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.116.0 (build 0eddcff)",
date="2025-10-29T11:15:50.746Z")
@Stability(Stable)
public interface CfnGroupProps
extends software.amazon.jsii.JsiiSerializable
Properties for defining a
CfnGroup.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.xray.*;
CfnGroupProps cfnGroupProps = CfnGroupProps.builder()
.groupName("groupName")
// the properties below are optional
.filterExpression("filterExpression")
.insightsConfiguration(InsightsConfigurationProperty.builder()
.insightsEnabled(false)
.notificationsEnabled(false)
.build())
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnGroupPropsstatic final classAn implementation forCfnGroupProps -
Method Summary
Modifier and TypeMethodDescriptionstatic CfnGroupProps.Builderbuilder()default StringThe filter expression defining the parameters to include traces.The unique case-sensitive name of the group.default ObjectThe structure containing configurations related to insights.getTags()An array of key-value pairs to apply to this resource.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getGroupName
The unique case-sensitive name of the group.- See Also:
-
getFilterExpression
The filter expression defining the parameters to include traces.- See Also:
-
getInsightsConfiguration
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.
Returns union: either
IResolvableorCfnGroup.InsightsConfigurationProperty- See Also:
-
getTags
An array of key-value pairs to apply to this resource.- See Also:
-
builder
- Returns:
- a
CfnGroupProps.BuilderofCfnGroupProps
-