import * as core from "@terrascript/core"; export interface InsightsConfigurationArgs extends core.SchemaArgs { insightsEnabled: boolean | core.BooleanOut; notificationsEnabled?: boolean | core.BooleanOut; } export class InsightsConfiguration extends core.Schema { @core.attr(Boolean) public insightsEnabled!: boolean | core.BooleanOut; @core.attr(Boolean, { computed: true }) public notificationsEnabled?: boolean | core.BooleanOut; } export interface XrayGroupArgs extends core.ResourceArgs { /** * (Required) The filter expression defining criteria by which to group traces. more info can be found * in official [docs](https://docs.aws.amazon.com/xray/latest/devguide/xray-console-filters.html). */ filterExpression: string | core.StringOut; /** * (Required) The name of the group. */ groupName: string | core.StringOut; /** * (Optional) Configuration options for enabling insights. */ insightsConfiguration?: InsightsConfiguration; /** * (Optional) Key-value mapping of resource tags. If configured with a provider [`default_tags` configu * ration block](https://registry.terraform.io/providers/hashicorp/aws/latest/docs#default_tags-configu * ration-block) present, tags with matching keys will overwrite those defined at the provider-level. */ tags?: core.Map | core.MapOut; /** * A map of tags assigned to the resource, including those inherited from the provider [`default_tags` * configuration block](https://registry.terraform.io/providers/hashicorp/aws/latest/docs#default_tags- * configuration-block). */ tagsAll?: core.Map | core.MapOut; } export class XrayGroup extends core.Resource { /** * The ARN of the Group. */ @core.attr(String, { computed: true }) public arn!: string | core.StringOut; /** * (Required) The filter expression defining criteria by which to group traces. more info can be found * in official [docs](https://docs.aws.amazon.com/xray/latest/devguide/xray-console-filters.html). */ @core.attr(String) public filterExpression!: string | core.StringOut; /** * (Required) The name of the group. */ @core.attr(String) public groupName!: string | core.StringOut; /** * The ARN of the Group. */ @core.attr(String, { computed: true }) public id!: string | core.StringOut; /** * (Optional) Configuration options for enabling insights. */ @core.attr(InsightsConfiguration, { computed: true }) public insightsConfiguration?: InsightsConfiguration; /** * (Optional) Key-value mapping of resource tags. If configured with a provider [`default_tags` configu * ration block](https://registry.terraform.io/providers/hashicorp/aws/latest/docs#default_tags-configu * ration-block) present, tags with matching keys will overwrite those defined at the provider-level. */ @core.attr(String, { kind: "map" }) public tags?: core.Map | core.MapOut; /** * A map of tags assigned to the resource, including those inherited from the provider [`default_tags` * configuration block](https://registry.terraform.io/providers/hashicorp/aws/latest/docs#default_tags- * configuration-block). */ @core.attr(String, { computed: true, kind: "map" }) public tagsAll?: core.Map | core.MapOut; constructor(name: string, args?: XrayGroupArgs) { super(name, "aws_xray_group", args); } public override getNamespace(): string { return "aws_x_ray"; } }