1. Registry
  2. Packages
  3. Konnect Provider
  4. API Docs
  5. AiCostBudgetNotificationRule
Viewing docs for konnect 3.28.0
published on Friday, Nov 6, 2026 by kong
konnect
Viewing docs for konnect 3.28.0
published on Friday, Nov 6, 2026 by kong

    AICostBudgetNotificationRule Resource

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as konnect from "@pulumi/konnect";
    
    const myAicostbudgetnotificationrule = new konnect.AiCostBudgetNotificationRule("my_aicostbudgetnotificationrule", {
        budgetId: "5f9fd312-a987-4628-b4c5-bb4f4fddd5f7",
        channels: [{
            id: "8c219a7a-8116-4d1a-a1d5-98945f0141e4",
        }],
        message: {
            body: "...my_body...",
            subject: "...my_subject...",
        },
        thresholds: [{
            percent: 704,
        }],
    });
    
    import pulumi
    import pulumi_konnect as konnect
    
    my_aicostbudgetnotificationrule = konnect.AiCostBudgetNotificationRule("my_aicostbudgetnotificationrule",
        budget_id="5f9fd312-a987-4628-b4c5-bb4f4fddd5f7",
        channels=[{
            "id": "8c219a7a-8116-4d1a-a1d5-98945f0141e4",
        }],
        message={
            "body": "...my_body...",
            "subject": "...my_subject...",
        },
        thresholds=[{
            "percent": 704,
        }])
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-terraform-provider/sdks/go/konnect/v3/konnect"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := konnect.NewAiCostBudgetNotificationRule(ctx, "my_aicostbudgetnotificationrule", &konnect.AiCostBudgetNotificationRuleArgs{
    			BudgetId: pulumi.String("5f9fd312-a987-4628-b4c5-bb4f4fddd5f7"),
    			Channels: konnect.AiCostBudgetNotificationRuleChannelArray{
    				&konnect.AiCostBudgetNotificationRuleChannelArgs{
    					Id: pulumi.String("8c219a7a-8116-4d1a-a1d5-98945f0141e4"),
    				},
    			},
    			Message: &konnect.AiCostBudgetNotificationRuleMessageArgs{
    				Body:    pulumi.String("...my_body..."),
    				Subject: pulumi.String("...my_subject..."),
    			},
    			Thresholds: konnect.AiCostBudgetNotificationRuleThresholdArray{
    				&konnect.AiCostBudgetNotificationRuleThresholdArgs{
    					Percent: pulumi.Float64(704),
    				},
    			},
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Konnect = Pulumi.Konnect;
    
    return await Deployment.RunAsync(() => 
    {
        var myAicostbudgetnotificationrule = new Konnect.AiCostBudgetNotificationRule("my_aicostbudgetnotificationrule", new()
        {
            BudgetId = "5f9fd312-a987-4628-b4c5-bb4f4fddd5f7",
            Channels = new[]
            {
                new Konnect.Inputs.AiCostBudgetNotificationRuleChannelArgs
                {
                    Id = "8c219a7a-8116-4d1a-a1d5-98945f0141e4",
                },
            },
            Message = new Konnect.Inputs.AiCostBudgetNotificationRuleMessageArgs
            {
                Body = "...my_body...",
                Subject = "...my_subject...",
            },
            Thresholds = new[]
            {
                new Konnect.Inputs.AiCostBudgetNotificationRuleThresholdArgs
                {
                    Percent = 704,
                },
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.konnect.AiCostBudgetNotificationRule;
    import com.pulumi.konnect.AiCostBudgetNotificationRuleArgs;
    import com.pulumi.konnect.inputs.AiCostBudgetNotificationRuleChannelArgs;
    import com.pulumi.konnect.inputs.AiCostBudgetNotificationRuleMessageArgs;
    import com.pulumi.konnect.inputs.AiCostBudgetNotificationRuleThresholdArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            var myAicostbudgetnotificationrule = new AiCostBudgetNotificationRule("myAicostbudgetnotificationrule", AiCostBudgetNotificationRuleArgs.builder()
                .budgetId("5f9fd312-a987-4628-b4c5-bb4f4fddd5f7")
                .channels(AiCostBudgetNotificationRuleChannelArgs.builder()
                    .id("8c219a7a-8116-4d1a-a1d5-98945f0141e4")
                    .build())
                .message(AiCostBudgetNotificationRuleMessageArgs.builder()
                    .body("...my_body...")
                    .subject("...my_subject...")
                    .build())
                .thresholds(AiCostBudgetNotificationRuleThresholdArgs.builder()
                    .percent(704.0)
                    .build())
                .build());
    
        }
    }
    
    resources:
      myAicostbudgetnotificationrule:
        type: konnect:AiCostBudgetNotificationRule
        name: my_aicostbudgetnotificationrule
        properties:
          budgetId: 5f9fd312-a987-4628-b4c5-bb4f4fddd5f7
          channels:
            - id: 8c219a7a-8116-4d1a-a1d5-98945f0141e4
          message:
            body: '...my_body...'
            subject: '...my_subject...'
          thresholds:
            - percent: 704
    
    Example coming soon!
    

    Create AiCostBudgetNotificationRule Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new AiCostBudgetNotificationRule(name: string, args: AiCostBudgetNotificationRuleArgs, opts?: CustomResourceOptions);
    @overload
    def AiCostBudgetNotificationRule(resource_name: str,
                                     args: AiCostBudgetNotificationRuleArgs,
                                     opts: Optional[ResourceOptions] = None)
    
    @overload
    def AiCostBudgetNotificationRule(resource_name: str,
                                     opts: Optional[ResourceOptions] = None,
                                     budget_id: Optional[str] = None,
                                     thresholds: Optional[Sequence[AiCostBudgetNotificationRuleThresholdArgs]] = None,
                                     channels: Optional[Sequence[AiCostBudgetNotificationRuleChannelArgs]] = None,
                                     message: Optional[AiCostBudgetNotificationRuleMessageArgs] = None)
    func NewAiCostBudgetNotificationRule(ctx *Context, name string, args AiCostBudgetNotificationRuleArgs, opts ...ResourceOption) (*AiCostBudgetNotificationRule, error)
    public AiCostBudgetNotificationRule(string name, AiCostBudgetNotificationRuleArgs args, CustomResourceOptions? opts = null)
    public AiCostBudgetNotificationRule(String name, AiCostBudgetNotificationRuleArgs args)
    public AiCostBudgetNotificationRule(String name, AiCostBudgetNotificationRuleArgs args, CustomResourceOptions options)
    
    type: konnect:AiCostBudgetNotificationRule
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    resource "konnect_ai_cost_budget_notification_rule" "name" {
        # resource properties
    }

    Parameters

    name string
    The unique name of the resource.
    args AiCostBudgetNotificationRuleArgs
    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 AiCostBudgetNotificationRuleArgs
    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 AiCostBudgetNotificationRuleArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args AiCostBudgetNotificationRuleArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args AiCostBudgetNotificationRuleArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var aiCostBudgetNotificationRuleResource = new Konnect.AiCostBudgetNotificationRule("aiCostBudgetNotificationRuleResource", new()
    {
        BudgetId = "string",
        Thresholds = new[]
        {
            new Konnect.Inputs.AiCostBudgetNotificationRuleThresholdArgs
            {
                Percent = 0.0,
            },
        },
        Channels = new[]
        {
            new Konnect.Inputs.AiCostBudgetNotificationRuleChannelArgs
            {
                Id = "string",
            },
        },
        Message = new Konnect.Inputs.AiCostBudgetNotificationRuleMessageArgs
        {
            Body = "string",
            Subject = "string",
        },
    });
    
    example, err := konnect.NewAiCostBudgetNotificationRule(ctx, "aiCostBudgetNotificationRuleResource", &konnect.AiCostBudgetNotificationRuleArgs{
    	BudgetId: pulumi.String("string"),
    	Thresholds: konnect.AiCostBudgetNotificationRuleThresholdArray{
    		&konnect.AiCostBudgetNotificationRuleThresholdArgs{
    			Percent: pulumi.Float64(0),
    		},
    	},
    	Channels: konnect.AiCostBudgetNotificationRuleChannelArray{
    		&konnect.AiCostBudgetNotificationRuleChannelArgs{
    			Id: pulumi.String("string"),
    		},
    	},
    	Message: &konnect.AiCostBudgetNotificationRuleMessageArgs{
    		Body:    pulumi.String("string"),
    		Subject: pulumi.String("string"),
    	},
    })
    
    resource "konnect_ai_cost_budget_notification_rule" "aiCostBudgetNotificationRuleResource" {
      lifecycle {
        create_before_destroy = true
      }
      budget_id = "string"
      thresholds {
        percent = 0
      }
      channels {
        id = "string"
      }
      message = {
        body    = "string"
        subject = "string"
      }
    }
    
    var aiCostBudgetNotificationRuleResource = new AiCostBudgetNotificationRule("aiCostBudgetNotificationRuleResource", AiCostBudgetNotificationRuleArgs.builder()
        .budgetId("string")
        .thresholds(AiCostBudgetNotificationRuleThresholdArgs.builder()
            .percent(0.0)
            .build())
        .channels(AiCostBudgetNotificationRuleChannelArgs.builder()
            .id("string")
            .build())
        .message(AiCostBudgetNotificationRuleMessageArgs.builder()
            .body("string")
            .subject("string")
            .build())
        .build());
    
    ai_cost_budget_notification_rule_resource = konnect.AiCostBudgetNotificationRule("aiCostBudgetNotificationRuleResource",
        budget_id="string",
        thresholds=[{
            "percent": float(0),
        }],
        channels=[{
            "id": "string",
        }],
        message={
            "body": "string",
            "subject": "string",
        })
    
    const aiCostBudgetNotificationRuleResource = new konnect.AiCostBudgetNotificationRule("aiCostBudgetNotificationRuleResource", {
        budgetId: "string",
        thresholds: [{
            percent: 0,
        }],
        channels: [{
            id: "string",
        }],
        message: {
            body: "string",
            subject: "string",
        },
    });
    
    type: konnect:AiCostBudgetNotificationRule
    properties:
        budgetId: string
        channels:
            - id: string
        message:
            body: string
            subject: string
        thresholds:
            - percent: 0
    

    AiCostBudgetNotificationRule Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The AiCostBudgetNotificationRule resource accepts the following input properties:

    BudgetId string
    The id of the budget. Requires replacement if changed.
    Thresholds List<AiCostBudgetNotificationRuleThreshold>
    The shares of the limit at which the rule fires. Each threshold fires at most once per budget window, derived budget, and limit, and changing the limit lets the thresholds fire again.
    Channels List<AiCostBudgetNotificationRuleChannel>

    The channels that receive the rule's alerts.

    At most 10 channels, each listed once. Reads return them ordered by channel name. Defaults to [].

    Message AiCostBudgetNotificationRuleMessage

    The wording of the rule's alerts on every channel, or null for the built-in wording.

    subject and body can contain placeholders, such as {{budget.name}}. A placeholder is {{, optional whitespace, a name from the list below, optional whitespace, and }}. There's no escaping, and a lone }} is text. Each alert fills the placeholders with its own values. Amounts appear in US dollars, such as $4,125.50.

    • {{budget.name}}: the budget's name.
    • {{budget.url}}: a link to the budget in Konnect.
    • {{threshold}}: the threshold that was crossed, such as 80%.
    • {{limit}}: the limit that spend is measured against. With each, the limit of one derived budget.
    • {{spend}}: the spend so far in the budget window.
    • {{percent}}: the spend as a share of the limit, such as 82.51%.
    • {{remaining}}: what is left of the limit, never below $0.00.
    • {{projected}}: where spend ends the budget window at the current pace, as an amount and a share of the limit.
    • {{period}}: the budget window, in the time zone of its anchor.
    • {{period.start}}: when the budget window started.
    • {{period.end}}: when the budget window ends and the budget resets.
    • {{period.remaining}}: how long is left in the budget window when the alert is sent, in its largest whole unit, such as 8 days or 12 minutes. Under a minute, it's less than a minute, and after the window ends, no time.
    • {{entity.field}}: the each field as a noun, such as group, user for subject, or env tag for tags.env.
    • {{entity.value}}: the value whose derived budget crossed the threshold. A Kong Identity principal or a consumer shows as its display name when the service can resolve it. Any other value, such as a Kong Identity group or team, shows as it is.

    {{entity.field}} and {{entity.value}} work only on a budget with each. Defaults to null.

    BudgetId string
    The id of the budget. Requires replacement if changed.
    Thresholds []AiCostBudgetNotificationRuleThresholdArgs
    The shares of the limit at which the rule fires. Each threshold fires at most once per budget window, derived budget, and limit, and changing the limit lets the thresholds fire again.
    Channels []AiCostBudgetNotificationRuleChannelArgs

    The channels that receive the rule's alerts.

    At most 10 channels, each listed once. Reads return them ordered by channel name. Defaults to [].

    Message AiCostBudgetNotificationRuleMessageArgs

    The wording of the rule's alerts on every channel, or null for the built-in wording.

    subject and body can contain placeholders, such as {{budget.name}}. A placeholder is {{, optional whitespace, a name from the list below, optional whitespace, and }}. There's no escaping, and a lone }} is text. Each alert fills the placeholders with its own values. Amounts appear in US dollars, such as $4,125.50.

    • {{budget.name}}: the budget's name.
    • {{budget.url}}: a link to the budget in Konnect.
    • {{threshold}}: the threshold that was crossed, such as 80%.
    • {{limit}}: the limit that spend is measured against. With each, the limit of one derived budget.
    • {{spend}}: the spend so far in the budget window.
    • {{percent}}: the spend as a share of the limit, such as 82.51%.
    • {{remaining}}: what is left of the limit, never below $0.00.
    • {{projected}}: where spend ends the budget window at the current pace, as an amount and a share of the limit.
    • {{period}}: the budget window, in the time zone of its anchor.
    • {{period.start}}: when the budget window started.
    • {{period.end}}: when the budget window ends and the budget resets.
    • {{period.remaining}}: how long is left in the budget window when the alert is sent, in its largest whole unit, such as 8 days or 12 minutes. Under a minute, it's less than a minute, and after the window ends, no time.
    • {{entity.field}}: the each field as a noun, such as group, user for subject, or env tag for tags.env.
    • {{entity.value}}: the value whose derived budget crossed the threshold. A Kong Identity principal or a consumer shows as its display name when the service can resolve it. Any other value, such as a Kong Identity group or team, shows as it is.

    {{entity.field}} and {{entity.value}} work only on a budget with each. Defaults to null.

    budget_id string
    The id of the budget. Requires replacement if changed.
    thresholds list(object)
    The shares of the limit at which the rule fires. Each threshold fires at most once per budget window, derived budget, and limit, and changing the limit lets the thresholds fire again.
    channels list(object)

    The channels that receive the rule's alerts.

    At most 10 channels, each listed once. Reads return them ordered by channel name. Defaults to [].

    message object

    The wording of the rule's alerts on every channel, or null for the built-in wording.

    subject and body can contain placeholders, such as {{budget.name}}. A placeholder is {{, optional whitespace, a name from the list below, optional whitespace, and }}. There's no escaping, and a lone }} is text. Each alert fills the placeholders with its own values. Amounts appear in US dollars, such as $4,125.50.

    • {{budget.name}}: the budget's name.
    • {{budget.url}}: a link to the budget in Konnect.
    • {{threshold}}: the threshold that was crossed, such as 80%.
    • {{limit}}: the limit that spend is measured against. With each, the limit of one derived budget.
    • {{spend}}: the spend so far in the budget window.
    • {{percent}}: the spend as a share of the limit, such as 82.51%.
    • {{remaining}}: what is left of the limit, never below $0.00.
    • {{projected}}: where spend ends the budget window at the current pace, as an amount and a share of the limit.
    • {{period}}: the budget window, in the time zone of its anchor.
    • {{period.start}}: when the budget window started.
    • {{period.end}}: when the budget window ends and the budget resets.
    • {{period.remaining}}: how long is left in the budget window when the alert is sent, in its largest whole unit, such as 8 days or 12 minutes. Under a minute, it's less than a minute, and after the window ends, no time.
    • {{entity.field}}: the each field as a noun, such as group, user for subject, or env tag for tags.env.
    • {{entity.value}}: the value whose derived budget crossed the threshold. A Kong Identity principal or a consumer shows as its display name when the service can resolve it. Any other value, such as a Kong Identity group or team, shows as it is.

    {{entity.field}} and {{entity.value}} work only on a budget with each. Defaults to null.

    budgetId String
    The id of the budget. Requires replacement if changed.
    thresholds List<AiCostBudgetNotificationRuleThreshold>
    The shares of the limit at which the rule fires. Each threshold fires at most once per budget window, derived budget, and limit, and changing the limit lets the thresholds fire again.
    channels List<AiCostBudgetNotificationRuleChannel>

    The channels that receive the rule's alerts.

    At most 10 channels, each listed once. Reads return them ordered by channel name. Defaults to [].

    message AiCostBudgetNotificationRuleMessage

    The wording of the rule's alerts on every channel, or null for the built-in wording.

    subject and body can contain placeholders, such as {{budget.name}}. A placeholder is {{, optional whitespace, a name from the list below, optional whitespace, and }}. There's no escaping, and a lone }} is text. Each alert fills the placeholders with its own values. Amounts appear in US dollars, such as $4,125.50.

    • {{budget.name}}: the budget's name.
    • {{budget.url}}: a link to the budget in Konnect.
    • {{threshold}}: the threshold that was crossed, such as 80%.
    • {{limit}}: the limit that spend is measured against. With each, the limit of one derived budget.
    • {{spend}}: the spend so far in the budget window.
    • {{percent}}: the spend as a share of the limit, such as 82.51%.
    • {{remaining}}: what is left of the limit, never below $0.00.
    • {{projected}}: where spend ends the budget window at the current pace, as an amount and a share of the limit.
    • {{period}}: the budget window, in the time zone of its anchor.
    • {{period.start}}: when the budget window started.
    • {{period.end}}: when the budget window ends and the budget resets.
    • {{period.remaining}}: how long is left in the budget window when the alert is sent, in its largest whole unit, such as 8 days or 12 minutes. Under a minute, it's less than a minute, and after the window ends, no time.
    • {{entity.field}}: the each field as a noun, such as group, user for subject, or env tag for tags.env.
    • {{entity.value}}: the value whose derived budget crossed the threshold. A Kong Identity principal or a consumer shows as its display name when the service can resolve it. Any other value, such as a Kong Identity group or team, shows as it is.

    {{entity.field}} and {{entity.value}} work only on a budget with each. Defaults to null.

    budgetId string
    The id of the budget. Requires replacement if changed.
    thresholds AiCostBudgetNotificationRuleThreshold[]
    The shares of the limit at which the rule fires. Each threshold fires at most once per budget window, derived budget, and limit, and changing the limit lets the thresholds fire again.
    channels AiCostBudgetNotificationRuleChannel[]

    The channels that receive the rule's alerts.

    At most 10 channels, each listed once. Reads return them ordered by channel name. Defaults to [].

    message AiCostBudgetNotificationRuleMessage

    The wording of the rule's alerts on every channel, or null for the built-in wording.

    subject and body can contain placeholders, such as {{budget.name}}. A placeholder is {{, optional whitespace, a name from the list below, optional whitespace, and }}. There's no escaping, and a lone }} is text. Each alert fills the placeholders with its own values. Amounts appear in US dollars, such as $4,125.50.

    • {{budget.name}}: the budget's name.
    • {{budget.url}}: a link to the budget in Konnect.
    • {{threshold}}: the threshold that was crossed, such as 80%.
    • {{limit}}: the limit that spend is measured against. With each, the limit of one derived budget.
    • {{spend}}: the spend so far in the budget window.
    • {{percent}}: the spend as a share of the limit, such as 82.51%.
    • {{remaining}}: what is left of the limit, never below $0.00.
    • {{projected}}: where spend ends the budget window at the current pace, as an amount and a share of the limit.
    • {{period}}: the budget window, in the time zone of its anchor.
    • {{period.start}}: when the budget window started.
    • {{period.end}}: when the budget window ends and the budget resets.
    • {{period.remaining}}: how long is left in the budget window when the alert is sent, in its largest whole unit, such as 8 days or 12 minutes. Under a minute, it's less than a minute, and after the window ends, no time.
    • {{entity.field}}: the each field as a noun, such as group, user for subject, or env tag for tags.env.
    • {{entity.value}}: the value whose derived budget crossed the threshold. A Kong Identity principal or a consumer shows as its display name when the service can resolve it. Any other value, such as a Kong Identity group or team, shows as it is.

    {{entity.field}} and {{entity.value}} work only on a budget with each. Defaults to null.

    budget_id str
    The id of the budget. Requires replacement if changed.
    thresholds Sequence[AiCostBudgetNotificationRuleThresholdArgs]
    The shares of the limit at which the rule fires. Each threshold fires at most once per budget window, derived budget, and limit, and changing the limit lets the thresholds fire again.
    channels Sequence[AiCostBudgetNotificationRuleChannelArgs]

    The channels that receive the rule's alerts.

    At most 10 channels, each listed once. Reads return them ordered by channel name. Defaults to [].

    message AiCostBudgetNotificationRuleMessageArgs

    The wording of the rule's alerts on every channel, or null for the built-in wording.

    subject and body can contain placeholders, such as {{budget.name}}. A placeholder is {{, optional whitespace, a name from the list below, optional whitespace, and }}. There's no escaping, and a lone }} is text. Each alert fills the placeholders with its own values. Amounts appear in US dollars, such as $4,125.50.

    • {{budget.name}}: the budget's name.
    • {{budget.url}}: a link to the budget in Konnect.
    • {{threshold}}: the threshold that was crossed, such as 80%.
    • {{limit}}: the limit that spend is measured against. With each, the limit of one derived budget.
    • {{spend}}: the spend so far in the budget window.
    • {{percent}}: the spend as a share of the limit, such as 82.51%.
    • {{remaining}}: what is left of the limit, never below $0.00.
    • {{projected}}: where spend ends the budget window at the current pace, as an amount and a share of the limit.
    • {{period}}: the budget window, in the time zone of its anchor.
    • {{period.start}}: when the budget window started.
    • {{period.end}}: when the budget window ends and the budget resets.
    • {{period.remaining}}: how long is left in the budget window when the alert is sent, in its largest whole unit, such as 8 days or 12 minutes. Under a minute, it's less than a minute, and after the window ends, no time.
    • {{entity.field}}: the each field as a noun, such as group, user for subject, or env tag for tags.env.
    • {{entity.value}}: the value whose derived budget crossed the threshold. A Kong Identity principal or a consumer shows as its display name when the service can resolve it. Any other value, such as a Kong Identity group or team, shows as it is.

    {{entity.field}} and {{entity.value}} work only on a budget with each. Defaults to null.

    budgetId String
    The id of the budget. Requires replacement if changed.
    thresholds List<Property Map>
    The shares of the limit at which the rule fires. Each threshold fires at most once per budget window, derived budget, and limit, and changing the limit lets the thresholds fire again.
    channels List<Property Map>

    The channels that receive the rule's alerts.

    At most 10 channels, each listed once. Reads return them ordered by channel name. Defaults to [].

    message Property Map

    The wording of the rule's alerts on every channel, or null for the built-in wording.

    subject and body can contain placeholders, such as {{budget.name}}. A placeholder is {{, optional whitespace, a name from the list below, optional whitespace, and }}. There's no escaping, and a lone }} is text. Each alert fills the placeholders with its own values. Amounts appear in US dollars, such as $4,125.50.

    • {{budget.name}}: the budget's name.
    • {{budget.url}}: a link to the budget in Konnect.
    • {{threshold}}: the threshold that was crossed, such as 80%.
    • {{limit}}: the limit that spend is measured against. With each, the limit of one derived budget.
    • {{spend}}: the spend so far in the budget window.
    • {{percent}}: the spend as a share of the limit, such as 82.51%.
    • {{remaining}}: what is left of the limit, never below $0.00.
    • {{projected}}: where spend ends the budget window at the current pace, as an amount and a share of the limit.
    • {{period}}: the budget window, in the time zone of its anchor.
    • {{period.start}}: when the budget window started.
    • {{period.end}}: when the budget window ends and the budget resets.
    • {{period.remaining}}: how long is left in the budget window when the alert is sent, in its largest whole unit, such as 8 days or 12 minutes. Under a minute, it's less than a minute, and after the window ends, no time.
    • {{entity.field}}: the each field as a noun, such as group, user for subject, or env tag for tags.env.
    • {{entity.value}}: the value whose derived budget crossed the threshold. A Kong Identity principal or a consumer shows as its display name when the service can resolve it. Any other value, such as a Kong Identity group or team, shows as it is.

    {{entity.field}} and {{entity.value}} work only on a budget with each. Defaults to null.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the AiCostBudgetNotificationRule resource produces the following output properties:

    Budget AiCostBudgetNotificationRuleBudget
    The budget the rule belongs to.
    CreatedAt string
    An ISO-8601 timestamp representation of entity creation date.
    Id string
    The provider-assigned unique ID for this managed resource.
    UpdatedAt string
    An ISO-8601 timestamp representation of entity update date.
    Budget AiCostBudgetNotificationRuleBudget
    The budget the rule belongs to.
    CreatedAt string
    An ISO-8601 timestamp representation of entity creation date.
    Id string
    The provider-assigned unique ID for this managed resource.
    UpdatedAt string
    An ISO-8601 timestamp representation of entity update date.
    budget object
    The budget the rule belongs to.
    created_at string
    An ISO-8601 timestamp representation of entity creation date.
    id string
    The provider-assigned unique ID for this managed resource.
    updated_at string
    An ISO-8601 timestamp representation of entity update date.
    budget AiCostBudgetNotificationRuleBudget
    The budget the rule belongs to.
    createdAt String
    An ISO-8601 timestamp representation of entity creation date.
    id String
    The provider-assigned unique ID for this managed resource.
    updatedAt String
    An ISO-8601 timestamp representation of entity update date.
    budget AiCostBudgetNotificationRuleBudget
    The budget the rule belongs to.
    createdAt string
    An ISO-8601 timestamp representation of entity creation date.
    id string
    The provider-assigned unique ID for this managed resource.
    updatedAt string
    An ISO-8601 timestamp representation of entity update date.
    budget AiCostBudgetNotificationRuleBudget
    The budget the rule belongs to.
    created_at str
    An ISO-8601 timestamp representation of entity creation date.
    id str
    The provider-assigned unique ID for this managed resource.
    updated_at str
    An ISO-8601 timestamp representation of entity update date.
    budget Property Map
    The budget the rule belongs to.
    createdAt String
    An ISO-8601 timestamp representation of entity creation date.
    id String
    The provider-assigned unique ID for this managed resource.
    updatedAt String
    An ISO-8601 timestamp representation of entity update date.

    Look up Existing AiCostBudgetNotificationRule Resource

    Get an existing AiCostBudgetNotificationRule resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: AiCostBudgetNotificationRuleState, opts?: CustomResourceOptions): AiCostBudgetNotificationRule
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            budget: Optional[AiCostBudgetNotificationRuleBudgetArgs] = None,
            budget_id: Optional[str] = None,
            channels: Optional[Sequence[AiCostBudgetNotificationRuleChannelArgs]] = None,
            created_at: Optional[str] = None,
            message: Optional[AiCostBudgetNotificationRuleMessageArgs] = None,
            thresholds: Optional[Sequence[AiCostBudgetNotificationRuleThresholdArgs]] = None,
            updated_at: Optional[str] = None) -> AiCostBudgetNotificationRule
    func GetAiCostBudgetNotificationRule(ctx *Context, name string, id IDInput, state *AiCostBudgetNotificationRuleState, opts ...ResourceOption) (*AiCostBudgetNotificationRule, error)
    public static AiCostBudgetNotificationRule Get(string name, Input<string> id, AiCostBudgetNotificationRuleState? state, CustomResourceOptions? opts = null)
    public static AiCostBudgetNotificationRule get(String name, Output<String> id, AiCostBudgetNotificationRuleState state, CustomResourceOptions options)
    resources:  _:    type: konnect:AiCostBudgetNotificationRule    get:      id: ${id}
    import {
      to = konnect_ai_cost_budget_notification_rule.example
      id = "${id}"
    }
    
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    Budget AiCostBudgetNotificationRuleBudget
    The budget the rule belongs to.
    BudgetId string
    The id of the budget. Requires replacement if changed.
    Channels List<AiCostBudgetNotificationRuleChannel>

    The channels that receive the rule's alerts.

    At most 10 channels, each listed once. Reads return them ordered by channel name. Defaults to [].

    CreatedAt string
    An ISO-8601 timestamp representation of entity creation date.
    Message AiCostBudgetNotificationRuleMessage

    The wording of the rule's alerts on every channel, or null for the built-in wording.

    subject and body can contain placeholders, such as {{budget.name}}. A placeholder is {{, optional whitespace, a name from the list below, optional whitespace, and }}. There's no escaping, and a lone }} is text. Each alert fills the placeholders with its own values. Amounts appear in US dollars, such as $4,125.50.

    • {{budget.name}}: the budget's name.
    • {{budget.url}}: a link to the budget in Konnect.
    • {{threshold}}: the threshold that was crossed, such as 80%.
    • {{limit}}: the limit that spend is measured against. With each, the limit of one derived budget.
    • {{spend}}: the spend so far in the budget window.
    • {{percent}}: the spend as a share of the limit, such as 82.51%.
    • {{remaining}}: what is left of the limit, never below $0.00.
    • {{projected}}: where spend ends the budget window at the current pace, as an amount and a share of the limit.
    • {{period}}: the budget window, in the time zone of its anchor.
    • {{period.start}}: when the budget window started.
    • {{period.end}}: when the budget window ends and the budget resets.
    • {{period.remaining}}: how long is left in the budget window when the alert is sent, in its largest whole unit, such as 8 days or 12 minutes. Under a minute, it's less than a minute, and after the window ends, no time.
    • {{entity.field}}: the each field as a noun, such as group, user for subject, or env tag for tags.env.
    • {{entity.value}}: the value whose derived budget crossed the threshold. A Kong Identity principal or a consumer shows as its display name when the service can resolve it. Any other value, such as a Kong Identity group or team, shows as it is.

    {{entity.field}} and {{entity.value}} work only on a budget with each. Defaults to null.

    Thresholds List<AiCostBudgetNotificationRuleThreshold>
    The shares of the limit at which the rule fires. Each threshold fires at most once per budget window, derived budget, and limit, and changing the limit lets the thresholds fire again.
    UpdatedAt string
    An ISO-8601 timestamp representation of entity update date.
    Budget AiCostBudgetNotificationRuleBudgetArgs
    The budget the rule belongs to.
    BudgetId string
    The id of the budget. Requires replacement if changed.
    Channels []AiCostBudgetNotificationRuleChannelArgs

    The channels that receive the rule's alerts.

    At most 10 channels, each listed once. Reads return them ordered by channel name. Defaults to [].

    CreatedAt string
    An ISO-8601 timestamp representation of entity creation date.
    Message AiCostBudgetNotificationRuleMessageArgs

    The wording of the rule's alerts on every channel, or null for the built-in wording.

    subject and body can contain placeholders, such as {{budget.name}}. A placeholder is {{, optional whitespace, a name from the list below, optional whitespace, and }}. There's no escaping, and a lone }} is text. Each alert fills the placeholders with its own values. Amounts appear in US dollars, such as $4,125.50.

    • {{budget.name}}: the budget's name.
    • {{budget.url}}: a link to the budget in Konnect.
    • {{threshold}}: the threshold that was crossed, such as 80%.
    • {{limit}}: the limit that spend is measured against. With each, the limit of one derived budget.
    • {{spend}}: the spend so far in the budget window.
    • {{percent}}: the spend as a share of the limit, such as 82.51%.
    • {{remaining}}: what is left of the limit, never below $0.00.
    • {{projected}}: where spend ends the budget window at the current pace, as an amount and a share of the limit.
    • {{period}}: the budget window, in the time zone of its anchor.
    • {{period.start}}: when the budget window started.
    • {{period.end}}: when the budget window ends and the budget resets.
    • {{period.remaining}}: how long is left in the budget window when the alert is sent, in its largest whole unit, such as 8 days or 12 minutes. Under a minute, it's less than a minute, and after the window ends, no time.
    • {{entity.field}}: the each field as a noun, such as group, user for subject, or env tag for tags.env.
    • {{entity.value}}: the value whose derived budget crossed the threshold. A Kong Identity principal or a consumer shows as its display name when the service can resolve it. Any other value, such as a Kong Identity group or team, shows as it is.

    {{entity.field}} and {{entity.value}} work only on a budget with each. Defaults to null.

    Thresholds []AiCostBudgetNotificationRuleThresholdArgs
    The shares of the limit at which the rule fires. Each threshold fires at most once per budget window, derived budget, and limit, and changing the limit lets the thresholds fire again.
    UpdatedAt string
    An ISO-8601 timestamp representation of entity update date.
    budget object
    The budget the rule belongs to.
    budget_id string
    The id of the budget. Requires replacement if changed.
    channels list(object)

    The channels that receive the rule's alerts.

    At most 10 channels, each listed once. Reads return them ordered by channel name. Defaults to [].

    created_at string
    An ISO-8601 timestamp representation of entity creation date.
    message object

    The wording of the rule's alerts on every channel, or null for the built-in wording.

    subject and body can contain placeholders, such as {{budget.name}}. A placeholder is {{, optional whitespace, a name from the list below, optional whitespace, and }}. There's no escaping, and a lone }} is text. Each alert fills the placeholders with its own values. Amounts appear in US dollars, such as $4,125.50.

    • {{budget.name}}: the budget's name.
    • {{budget.url}}: a link to the budget in Konnect.
    • {{threshold}}: the threshold that was crossed, such as 80%.
    • {{limit}}: the limit that spend is measured against. With each, the limit of one derived budget.
    • {{spend}}: the spend so far in the budget window.
    • {{percent}}: the spend as a share of the limit, such as 82.51%.
    • {{remaining}}: what is left of the limit, never below $0.00.
    • {{projected}}: where spend ends the budget window at the current pace, as an amount and a share of the limit.
    • {{period}}: the budget window, in the time zone of its anchor.
    • {{period.start}}: when the budget window started.
    • {{period.end}}: when the budget window ends and the budget resets.
    • {{period.remaining}}: how long is left in the budget window when the alert is sent, in its largest whole unit, such as 8 days or 12 minutes. Under a minute, it's less than a minute, and after the window ends, no time.
    • {{entity.field}}: the each field as a noun, such as group, user for subject, or env tag for tags.env.
    • {{entity.value}}: the value whose derived budget crossed the threshold. A Kong Identity principal or a consumer shows as its display name when the service can resolve it. Any other value, such as a Kong Identity group or team, shows as it is.

    {{entity.field}} and {{entity.value}} work only on a budget with each. Defaults to null.

    thresholds list(object)
    The shares of the limit at which the rule fires. Each threshold fires at most once per budget window, derived budget, and limit, and changing the limit lets the thresholds fire again.
    updated_at string
    An ISO-8601 timestamp representation of entity update date.
    budget AiCostBudgetNotificationRuleBudget
    The budget the rule belongs to.
    budgetId String
    The id of the budget. Requires replacement if changed.
    channels List<AiCostBudgetNotificationRuleChannel>

    The channels that receive the rule's alerts.

    At most 10 channels, each listed once. Reads return them ordered by channel name. Defaults to [].

    createdAt String
    An ISO-8601 timestamp representation of entity creation date.
    message AiCostBudgetNotificationRuleMessage

    The wording of the rule's alerts on every channel, or null for the built-in wording.

    subject and body can contain placeholders, such as {{budget.name}}. A placeholder is {{, optional whitespace, a name from the list below, optional whitespace, and }}. There's no escaping, and a lone }} is text. Each alert fills the placeholders with its own values. Amounts appear in US dollars, such as $4,125.50.

    • {{budget.name}}: the budget's name.
    • {{budget.url}}: a link to the budget in Konnect.
    • {{threshold}}: the threshold that was crossed, such as 80%.
    • {{limit}}: the limit that spend is measured against. With each, the limit of one derived budget.
    • {{spend}}: the spend so far in the budget window.
    • {{percent}}: the spend as a share of the limit, such as 82.51%.
    • {{remaining}}: what is left of the limit, never below $0.00.
    • {{projected}}: where spend ends the budget window at the current pace, as an amount and a share of the limit.
    • {{period}}: the budget window, in the time zone of its anchor.
    • {{period.start}}: when the budget window started.
    • {{period.end}}: when the budget window ends and the budget resets.
    • {{period.remaining}}: how long is left in the budget window when the alert is sent, in its largest whole unit, such as 8 days or 12 minutes. Under a minute, it's less than a minute, and after the window ends, no time.
    • {{entity.field}}: the each field as a noun, such as group, user for subject, or env tag for tags.env.
    • {{entity.value}}: the value whose derived budget crossed the threshold. A Kong Identity principal or a consumer shows as its display name when the service can resolve it. Any other value, such as a Kong Identity group or team, shows as it is.

    {{entity.field}} and {{entity.value}} work only on a budget with each. Defaults to null.

    thresholds List<AiCostBudgetNotificationRuleThreshold>
    The shares of the limit at which the rule fires. Each threshold fires at most once per budget window, derived budget, and limit, and changing the limit lets the thresholds fire again.
    updatedAt String
    An ISO-8601 timestamp representation of entity update date.
    budget AiCostBudgetNotificationRuleBudget
    The budget the rule belongs to.
    budgetId string
    The id of the budget. Requires replacement if changed.
    channels AiCostBudgetNotificationRuleChannel[]

    The channels that receive the rule's alerts.

    At most 10 channels, each listed once. Reads return them ordered by channel name. Defaults to [].

    createdAt string
    An ISO-8601 timestamp representation of entity creation date.
    message AiCostBudgetNotificationRuleMessage

    The wording of the rule's alerts on every channel, or null for the built-in wording.

    subject and body can contain placeholders, such as {{budget.name}}. A placeholder is {{, optional whitespace, a name from the list below, optional whitespace, and }}. There's no escaping, and a lone }} is text. Each alert fills the placeholders with its own values. Amounts appear in US dollars, such as $4,125.50.

    • {{budget.name}}: the budget's name.
    • {{budget.url}}: a link to the budget in Konnect.
    • {{threshold}}: the threshold that was crossed, such as 80%.
    • {{limit}}: the limit that spend is measured against. With each, the limit of one derived budget.
    • {{spend}}: the spend so far in the budget window.
    • {{percent}}: the spend as a share of the limit, such as 82.51%.
    • {{remaining}}: what is left of the limit, never below $0.00.
    • {{projected}}: where spend ends the budget window at the current pace, as an amount and a share of the limit.
    • {{period}}: the budget window, in the time zone of its anchor.
    • {{period.start}}: when the budget window started.
    • {{period.end}}: when the budget window ends and the budget resets.
    • {{period.remaining}}: how long is left in the budget window when the alert is sent, in its largest whole unit, such as 8 days or 12 minutes. Under a minute, it's less than a minute, and after the window ends, no time.
    • {{entity.field}}: the each field as a noun, such as group, user for subject, or env tag for tags.env.
    • {{entity.value}}: the value whose derived budget crossed the threshold. A Kong Identity principal or a consumer shows as its display name when the service can resolve it. Any other value, such as a Kong Identity group or team, shows as it is.

    {{entity.field}} and {{entity.value}} work only on a budget with each. Defaults to null.

    thresholds AiCostBudgetNotificationRuleThreshold[]
    The shares of the limit at which the rule fires. Each threshold fires at most once per budget window, derived budget, and limit, and changing the limit lets the thresholds fire again.
    updatedAt string
    An ISO-8601 timestamp representation of entity update date.
    budget AiCostBudgetNotificationRuleBudgetArgs
    The budget the rule belongs to.
    budget_id str
    The id of the budget. Requires replacement if changed.
    channels Sequence[AiCostBudgetNotificationRuleChannelArgs]

    The channels that receive the rule's alerts.

    At most 10 channels, each listed once. Reads return them ordered by channel name. Defaults to [].

    created_at str
    An ISO-8601 timestamp representation of entity creation date.
    message AiCostBudgetNotificationRuleMessageArgs

    The wording of the rule's alerts on every channel, or null for the built-in wording.

    subject and body can contain placeholders, such as {{budget.name}}. A placeholder is {{, optional whitespace, a name from the list below, optional whitespace, and }}. There's no escaping, and a lone }} is text. Each alert fills the placeholders with its own values. Amounts appear in US dollars, such as $4,125.50.

    • {{budget.name}}: the budget's name.
    • {{budget.url}}: a link to the budget in Konnect.
    • {{threshold}}: the threshold that was crossed, such as 80%.
    • {{limit}}: the limit that spend is measured against. With each, the limit of one derived budget.
    • {{spend}}: the spend so far in the budget window.
    • {{percent}}: the spend as a share of the limit, such as 82.51%.
    • {{remaining}}: what is left of the limit, never below $0.00.
    • {{projected}}: where spend ends the budget window at the current pace, as an amount and a share of the limit.
    • {{period}}: the budget window, in the time zone of its anchor.
    • {{period.start}}: when the budget window started.
    • {{period.end}}: when the budget window ends and the budget resets.
    • {{period.remaining}}: how long is left in the budget window when the alert is sent, in its largest whole unit, such as 8 days or 12 minutes. Under a minute, it's less than a minute, and after the window ends, no time.
    • {{entity.field}}: the each field as a noun, such as group, user for subject, or env tag for tags.env.
    • {{entity.value}}: the value whose derived budget crossed the threshold. A Kong Identity principal or a consumer shows as its display name when the service can resolve it. Any other value, such as a Kong Identity group or team, shows as it is.

    {{entity.field}} and {{entity.value}} work only on a budget with each. Defaults to null.

    thresholds Sequence[AiCostBudgetNotificationRuleThresholdArgs]
    The shares of the limit at which the rule fires. Each threshold fires at most once per budget window, derived budget, and limit, and changing the limit lets the thresholds fire again.
    updated_at str
    An ISO-8601 timestamp representation of entity update date.
    budget Property Map
    The budget the rule belongs to.
    budgetId String
    The id of the budget. Requires replacement if changed.
    channels List<Property Map>

    The channels that receive the rule's alerts.

    At most 10 channels, each listed once. Reads return them ordered by channel name. Defaults to [].

    createdAt String
    An ISO-8601 timestamp representation of entity creation date.
    message Property Map

    The wording of the rule's alerts on every channel, or null for the built-in wording.

    subject and body can contain placeholders, such as {{budget.name}}. A placeholder is {{, optional whitespace, a name from the list below, optional whitespace, and }}. There's no escaping, and a lone }} is text. Each alert fills the placeholders with its own values. Amounts appear in US dollars, such as $4,125.50.

    • {{budget.name}}: the budget's name.
    • {{budget.url}}: a link to the budget in Konnect.
    • {{threshold}}: the threshold that was crossed, such as 80%.
    • {{limit}}: the limit that spend is measured against. With each, the limit of one derived budget.
    • {{spend}}: the spend so far in the budget window.
    • {{percent}}: the spend as a share of the limit, such as 82.51%.
    • {{remaining}}: what is left of the limit, never below $0.00.
    • {{projected}}: where spend ends the budget window at the current pace, as an amount and a share of the limit.
    • {{period}}: the budget window, in the time zone of its anchor.
    • {{period.start}}: when the budget window started.
    • {{period.end}}: when the budget window ends and the budget resets.
    • {{period.remaining}}: how long is left in the budget window when the alert is sent, in its largest whole unit, such as 8 days or 12 minutes. Under a minute, it's less than a minute, and after the window ends, no time.
    • {{entity.field}}: the each field as a noun, such as group, user for subject, or env tag for tags.env.
    • {{entity.value}}: the value whose derived budget crossed the threshold. A Kong Identity principal or a consumer shows as its display name when the service can resolve it. Any other value, such as a Kong Identity group or team, shows as it is.

    {{entity.field}} and {{entity.value}} work only on a budget with each. Defaults to null.

    thresholds List<Property Map>
    The shares of the limit at which the rule fires. Each threshold fires at most once per budget window, derived budget, and limit, and changing the limit lets the thresholds fire again.
    updatedAt String
    An ISO-8601 timestamp representation of entity update date.

    Supporting Types

    AiCostBudgetNotificationRuleBudget, AiCostBudgetNotificationRuleBudgetArgs

    Id string
    The id of the budget, which the budget operations take as budgetId.
    Id string
    The id of the budget, which the budget operations take as budgetId.
    id string
    The id of the budget, which the budget operations take as budgetId.
    id String
    The id of the budget, which the budget operations take as budgetId.
    id string
    The id of the budget, which the budget operations take as budgetId.
    id str
    The id of the budget, which the budget operations take as budgetId.
    id String
    The id of the budget, which the budget operations take as budgetId.

    AiCostBudgetNotificationRuleChannel, AiCostBudgetNotificationRuleChannelArgs

    Id string
    The identifier of one of the organization's notification channels. Not Null
    Id string
    The identifier of one of the organization's notification channels. Not Null
    id string
    The identifier of one of the organization's notification channels. Not Null
    id String
    The identifier of one of the organization's notification channels. Not Null
    id string
    The identifier of one of the organization's notification channels. Not Null
    id str
    The identifier of one of the organization's notification channels. Not Null
    id String
    The identifier of one of the organization's notification channels. Not Null

    AiCostBudgetNotificationRuleMessage, AiCostBudgetNotificationRuleMessageArgs

    Body string
    The text of the rule's alerts, as plain text that can contain placeholders such as {{budget.name}}. Blank lines separate paragraphs.
    Subject string

    The subject line of the rule's alerts, as plain text that can contain placeholders such as {{budget.name}}.

    A single line of 1 to 200 characters after the server removes leading and trailing whitespace.

    Body string
    The text of the rule's alerts, as plain text that can contain placeholders such as {{budget.name}}. Blank lines separate paragraphs.
    Subject string

    The subject line of the rule's alerts, as plain text that can contain placeholders such as {{budget.name}}.

    A single line of 1 to 200 characters after the server removes leading and trailing whitespace.

    body string
    The text of the rule's alerts, as plain text that can contain placeholders such as {{budget.name}}. Blank lines separate paragraphs.
    subject string

    The subject line of the rule's alerts, as plain text that can contain placeholders such as {{budget.name}}.

    A single line of 1 to 200 characters after the server removes leading and trailing whitespace.

    body String
    The text of the rule's alerts, as plain text that can contain placeholders such as {{budget.name}}. Blank lines separate paragraphs.
    subject String

    The subject line of the rule's alerts, as plain text that can contain placeholders such as {{budget.name}}.

    A single line of 1 to 200 characters after the server removes leading and trailing whitespace.

    body string
    The text of the rule's alerts, as plain text that can contain placeholders such as {{budget.name}}. Blank lines separate paragraphs.
    subject string

    The subject line of the rule's alerts, as plain text that can contain placeholders such as {{budget.name}}.

    A single line of 1 to 200 characters after the server removes leading and trailing whitespace.

    body str
    The text of the rule's alerts, as plain text that can contain placeholders such as {{budget.name}}. Blank lines separate paragraphs.
    subject str

    The subject line of the rule's alerts, as plain text that can contain placeholders such as {{budget.name}}.

    A single line of 1 to 200 characters after the server removes leading and trailing whitespace.

    body String
    The text of the rule's alerts, as plain text that can contain placeholders such as {{budget.name}}. Blank lines separate paragraphs.
    subject String

    The subject line of the rule's alerts, as plain text that can contain placeholders such as {{budget.name}}.

    A single line of 1 to 200 characters after the server removes leading and trailing whitespace.

    AiCostBudgetNotificationRuleThreshold, AiCostBudgetNotificationRuleThresholdArgs

    Percent double
    The share of the limit, as a whole percent. A value above 100 fires on spend beyond the limit.
    Percent float64
    The share of the limit, as a whole percent. A value above 100 fires on spend beyond the limit.
    percent number
    The share of the limit, as a whole percent. A value above 100 fires on spend beyond the limit.
    percent Double
    The share of the limit, as a whole percent. A value above 100 fires on spend beyond the limit.
    percent number
    The share of the limit, as a whole percent. A value above 100 fires on spend beyond the limit.
    percent float
    The share of the limit, as a whole percent. A value above 100 fires on spend beyond the limit.
    percent Number
    The share of the limit, as a whole percent. A value above 100 fires on spend beyond the limit.

    Import

    In Terraform v1.5.0 and later, the import block can be used with the id attribute, for example:

    terraform

    import {

    to = konnect_ai_cost_budget_notification_rule.my_konnect_ai_cost_budget_notification_rule

    id = “5f9fd312-a987-4628-b4c5-bb4f4fddd5f7”

    }

    The pulumi import command can be used, for example:

    $ pulumi import konnect:index/aiCostBudgetNotificationRule:AiCostBudgetNotificationRule my_konnect_ai_cost_budget_notification_rule "5f9fd312-a987-4628-b4c5-bb4f4fddd5f7"
    

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    konnect kong/terraform-provider-konnect
    License
    Notes
    This Pulumi package is based on the konnect Terraform Provider.
    konnect
    Viewing docs for konnect 3.28.0
    published on Friday, Nov 6, 2026 by kong

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial