@Generated(value="jsii-pacmak/1.74.0 (build 6d08790)", date="2023-03-22T19:35:40.850Z") public class CfnGroup extends CfnResource implements IInspectable
Use the AWS::XRay::Group
resource to specify a group with a name and a filter expression.
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.*; Object tags; CfnGroup cfnGroup = CfnGroup.Builder.create(this, "MyCfnGroup") .filterExpression("filterExpression") .groupName("groupName") .insightsConfiguration(InsightsConfigurationProperty.builder() .insightsEnabled(false) .notificationsEnabled(false) .build()) .tags(List.of(tags)) .build();
Modifier and Type | Class and Description |
---|---|
static class |
CfnGroup.Builder
A fluent builder for
CfnGroup . |
static interface |
CfnGroup.InsightsConfigurationProperty
The structure containing configurations related to insights.
|
static interface |
CfnGroup.TagsItemsProperty
Example:
|
IInspectable.Jsii$Default, IInspectable.Jsii$Proxy
IConstruct.Jsii$Default
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
|
Modifier | Constructor and Description |
---|---|
|
CfnGroup(Construct scope,
java.lang.String id)
Create a new `AWS::XRay::Group`.
|
|
CfnGroup(Construct scope,
java.lang.String id,
CfnGroupProps props)
Create a new `AWS::XRay::Group`.
|
protected |
CfnGroup(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
CfnGroup(software.amazon.jsii.JsiiObjectRef objRef) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getAttrGroupArn()
The group ARN that was created or updated.
|
protected java.util.Map<java.lang.String,java.lang.Object> |
getCfnProperties() |
java.lang.String |
getFilterExpression()
The filter expression defining the parameters to include traces.
|
java.lang.String |
getGroupName()
The unique case-sensitive name of the group.
|
java.lang.Object |
getInsightsConfiguration()
The structure containing configurations related to insights.
|
java.util.List<java.lang.Object> |
getTags()
An array of key-value pairs to apply to this resource.
|
void |
inspect(TreeInspector inspector)
Examines the CloudFormation resource and discloses attributes.
|
protected java.util.Map<java.lang.String,java.lang.Object> |
renderProperties(java.util.Map<java.lang.String,java.lang.Object> props) |
void |
setFilterExpression(java.lang.String value)
The filter expression defining the parameters to include traces.
|
void |
setGroupName(java.lang.String value)
The unique case-sensitive name of the group.
|
void |
setInsightsConfiguration(CfnGroup.InsightsConfigurationProperty value)
The structure containing configurations related to insights.
|
void |
setInsightsConfiguration(IResolvable value)
The structure containing configurations related to insights.
|
void |
setTags(java.util.List<java.lang.Object> value)
An array of key-value pairs to apply to this resource.
|
addDeletionOverride, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getCfnOptions, getCfnResourceType, getMetadata, getUpdatedProperites, isCfnResource, shouldSynthesize, toString, validateProperties
getRef
getCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalId
getNode, isConstruct, onPrepare, onSynthesize, onValidate, prepare, synthesize, validate
public static final java.lang.String CFN_RESOURCE_TYPE_NAME
protected CfnGroup(software.amazon.jsii.JsiiObjectRef objRef)
protected CfnGroup(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
public CfnGroup(Construct scope, java.lang.String id, CfnGroupProps props)
scope
- - scope in which this resource is defined. This parameter is required.id
- - scoped id of the resource. This parameter is required.props
- - resource properties.public CfnGroup(Construct scope, java.lang.String id)
scope
- - scope in which this resource is defined. This parameter is required.id
- - scoped id of the resource. This parameter is required.public void inspect(TreeInspector inspector)
inspect
in interface IInspectable
inspector
- - tree inspector to collect and process attributes. This parameter is required.protected java.util.Map<java.lang.String,java.lang.Object> renderProperties(java.util.Map<java.lang.String,java.lang.Object> props)
renderProperties
in class CfnResource
props
- This parameter is required.public java.lang.String getAttrGroupArn()
protected java.util.Map<java.lang.String,java.lang.Object> getCfnProperties()
getCfnProperties
in class CfnResource
public java.lang.String getFilterExpression()
public void setFilterExpression(java.lang.String value)
public java.lang.String getGroupName()
public void setGroupName(java.lang.String value)
public java.lang.Object getInsightsConfiguration()
public void setInsightsConfiguration(CfnGroup.InsightsConfigurationProperty value)
public void setInsightsConfiguration(IResolvable value)
public java.util.List<java.lang.Object> getTags()
For more information, see Tag .
public void setTags(java.util.List<java.lang.Object> value)
For more information, see Tag .