aws-native.xray.Group
This schema provides construct and validation rules for AWS-XRay Group resource parameters.
Example Usage
Example
using System.Collections.Generic;
using Pulumi;
using AwsNative = Pulumi.AwsNative;
return await Deployment.RunAsync(() =>
{
var testGrpResource = new AwsNative.XRay.Group("testGrpResource", new()
{
GroupName = "MyGroup",
FilterExpression = "duration > 10",
InsightsConfiguration = new AwsNative.XRay.Inputs.GroupInsightsConfigurationArgs
{
InsightsEnabled = false,
NotificationsEnabled = false,
},
});
});
package main
import (
"github.com/pulumi/pulumi-aws-native/sdk/go/aws/xray"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := xray.NewGroup(ctx, "testGrpResource", &xray.GroupArgs{
GroupName: pulumi.String("MyGroup"),
FilterExpression: pulumi.String("duration > 10"),
InsightsConfiguration: &xray.GroupInsightsConfigurationArgs{
InsightsEnabled: pulumi.Bool(false),
NotificationsEnabled: pulumi.Bool(false),
},
})
if err != nil {
return err
}
return nil
})
}
Coming soon!
import pulumi
import pulumi_aws_native as aws_native
test_grp_resource = aws_native.xray.Group("testGrpResource",
group_name="MyGroup",
filter_expression="duration > 10",
insights_configuration=aws_native.xray.GroupInsightsConfigurationArgs(
insights_enabled=False,
notifications_enabled=False,
))
import * as pulumi from "@pulumi/pulumi";
import * as aws_native from "@pulumi/aws-native";
const testGrpResource = new aws_native.xray.Group("testGrpResource", {
groupName: "MyGroup",
filterExpression: "duration > 10",
insightsConfiguration: {
insightsEnabled: false,
notificationsEnabled: false,
},
});
Coming soon!
Example
using System.Collections.Generic;
using Pulumi;
using AwsNative = Pulumi.AwsNative;
return await Deployment.RunAsync(() =>
{
var @group = new AwsNative.XRay.Group("group", new()
{
GroupName = "MyGroup",
FilterExpression = "duration > 10",
InsightsConfiguration = new AwsNative.XRay.Inputs.GroupInsightsConfigurationArgs
{
InsightsEnabled = false,
NotificationsEnabled = false,
},
});
});
package main
import (
"github.com/pulumi/pulumi-aws-native/sdk/go/aws/xray"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := xray.NewGroup(ctx, "group", &xray.GroupArgs{
GroupName: pulumi.String("MyGroup"),
FilterExpression: pulumi.String("duration > 10"),
InsightsConfiguration: &xray.GroupInsightsConfigurationArgs{
InsightsEnabled: pulumi.Bool(false),
NotificationsEnabled: pulumi.Bool(false),
},
})
if err != nil {
return err
}
return nil
})
}
Coming soon!
import pulumi
import pulumi_aws_native as aws_native
group = aws_native.xray.Group("group",
group_name="MyGroup",
filter_expression="duration > 10",
insights_configuration=aws_native.xray.GroupInsightsConfigurationArgs(
insights_enabled=False,
notifications_enabled=False,
))
import * as pulumi from "@pulumi/pulumi";
import * as aws_native from "@pulumi/aws-native";
const group = new aws_native.xray.Group("group", {
groupName: "MyGroup",
filterExpression: "duration > 10",
insightsConfiguration: {
insightsEnabled: false,
notificationsEnabled: false,
},
});
Coming soon!
Create Group Resource
new Group(name: string, args?: GroupArgs, opts?: CustomResourceOptions);
@overload
def Group(resource_name: str,
opts: Optional[ResourceOptions] = None,
filter_expression: Optional[str] = None,
group_name: Optional[str] = None,
insights_configuration: Optional[GroupInsightsConfigurationArgs] = None,
tags: Optional[Sequence[TagsItemPropertiesArgs]] = None)
@overload
def Group(resource_name: str,
args: Optional[GroupArgs] = None,
opts: Optional[ResourceOptions] = None)
func NewGroup(ctx *Context, name string, args *GroupArgs, opts ...ResourceOption) (*Group, error)
public Group(string name, GroupArgs? args = null, CustomResourceOptions? opts = null)
type: aws-native:xray:Group
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args GroupArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args GroupArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args GroupArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args GroupArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args GroupArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Group Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
The Group resource accepts the following input properties:
- Filter
Expression string The filter expression defining criteria by which to group traces.
- Group
Name string The case-sensitive name of the new group. Names must be unique.
- Insights
Configuration Pulumi.Aws Native. XRay. Inputs. Group Insights Configuration Args - List<Pulumi.
Aws Native. XRay. Inputs. Tags Item Properties Args>
- Filter
Expression string The filter expression defining criteria by which to group traces.
- Group
Name string The case-sensitive name of the new group. Names must be unique.
- Insights
Configuration GroupInsights Configuration Args - []Tags
Item Properties Args
- filter
Expression String The filter expression defining criteria by which to group traces.
- group
Name String The case-sensitive name of the new group. Names must be unique.
- insights
Configuration GroupInsights Configuration Args - List<Tags
Item Properties Args>
- filter
Expression string The filter expression defining criteria by which to group traces.
- group
Name string The case-sensitive name of the new group. Names must be unique.
- insights
Configuration GroupInsights Configuration Args - Tags
Item Properties Args[]
- filter_
expression str The filter expression defining criteria by which to group traces.
- group_
name str The case-sensitive name of the new group. Names must be unique.
- insights_
configuration GroupInsights Configuration Args - Sequence[Tags
Item Properties Args]
- filter
Expression String The filter expression defining criteria by which to group traces.
- group
Name String The case-sensitive name of the new group. Names must be unique.
- insights
Configuration Property Map - List<Property Map>
Outputs
All input properties are implicitly available as output properties. Additionally, the Group resource produces the following output properties:
Supporting Types
GroupInsightsConfiguration
- Insights
Enabled bool Set the InsightsEnabled value to true to enable insights or false to disable insights.
- Notifications
Enabled bool Set the NotificationsEnabled value to true to enable insights notifications. Notifications can only be enabled on a group with InsightsEnabled set to true.
- Insights
Enabled bool Set the InsightsEnabled value to true to enable insights or false to disable insights.
- Notifications
Enabled bool Set the NotificationsEnabled value to true to enable insights notifications. Notifications can only be enabled on a group with InsightsEnabled set to true.
- insights
Enabled Boolean Set the InsightsEnabled value to true to enable insights or false to disable insights.
- notifications
Enabled Boolean Set the NotificationsEnabled value to true to enable insights notifications. Notifications can only be enabled on a group with InsightsEnabled set to true.
- insights
Enabled boolean Set the InsightsEnabled value to true to enable insights or false to disable insights.
- notifications
Enabled boolean Set the NotificationsEnabled value to true to enable insights notifications. Notifications can only be enabled on a group with InsightsEnabled set to true.
- insights_
enabled bool Set the InsightsEnabled value to true to enable insights or false to disable insights.
- notifications_
enabled bool Set the NotificationsEnabled value to true to enable insights notifications. Notifications can only be enabled on a group with InsightsEnabled set to true.
- insights
Enabled Boolean Set the InsightsEnabled value to true to enable insights or false to disable insights.
- notifications
Enabled Boolean Set the NotificationsEnabled value to true to enable insights notifications. Notifications can only be enabled on a group with InsightsEnabled set to true.
TagsItemProperties
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0