1. Packages
  2. Packages
  3. AWS Cloud Control
  4. API Docs
  5. braket
  6. getSpendingLimit

We recommend new projects start with resources from the AWS provider.

Viewing docs for AWS Cloud Control v1.62.0
published on Monday, Apr 20, 2026 by Pulumi
aws-native logo

We recommend new projects start with resources from the AWS provider.

Viewing docs for AWS Cloud Control v1.62.0
published on Monday, Apr 20, 2026 by Pulumi

    Creates a spending limit for a specified quantum device. Spending limits help you control costs by setting maximum amounts that can be spent on quantum computing tasks within a specified time period.

    Using getSpendingLimit

    Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

    function getSpendingLimit(args: GetSpendingLimitArgs, opts?: InvokeOptions): Promise<GetSpendingLimitResult>
    function getSpendingLimitOutput(args: GetSpendingLimitOutputArgs, opts?: InvokeOptions): Output<GetSpendingLimitResult>
    def get_spending_limit(spending_limit_arn: Optional[str] = None,
                           opts: Optional[InvokeOptions] = None) -> GetSpendingLimitResult
    def get_spending_limit_output(spending_limit_arn: Optional[pulumi.Input[str]] = None,
                           opts: Optional[InvokeOptions] = None) -> Output[GetSpendingLimitResult]
    func LookupSpendingLimit(ctx *Context, args *LookupSpendingLimitArgs, opts ...InvokeOption) (*LookupSpendingLimitResult, error)
    func LookupSpendingLimitOutput(ctx *Context, args *LookupSpendingLimitOutputArgs, opts ...InvokeOption) LookupSpendingLimitResultOutput

    > Note: This function is named LookupSpendingLimit in the Go SDK.

    public static class GetSpendingLimit 
    {
        public static Task<GetSpendingLimitResult> InvokeAsync(GetSpendingLimitArgs args, InvokeOptions? opts = null)
        public static Output<GetSpendingLimitResult> Invoke(GetSpendingLimitInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetSpendingLimitResult> getSpendingLimit(GetSpendingLimitArgs args, InvokeOptions options)
    public static Output<GetSpendingLimitResult> getSpendingLimit(GetSpendingLimitArgs args, InvokeOptions options)
    
    fn::invoke:
      function: aws-native:braket:getSpendingLimit
      arguments:
        # arguments dictionary

    The following arguments are supported:

    SpendingLimitArn string
    The Amazon Resource Name (ARN) that uniquely identifies the spending limit.
    SpendingLimitArn string
    The Amazon Resource Name (ARN) that uniquely identifies the spending limit.
    spendingLimitArn String
    The Amazon Resource Name (ARN) that uniquely identifies the spending limit.
    spendingLimitArn string
    The Amazon Resource Name (ARN) that uniquely identifies the spending limit.
    spending_limit_arn str
    The Amazon Resource Name (ARN) that uniquely identifies the spending limit.
    spendingLimitArn String
    The Amazon Resource Name (ARN) that uniquely identifies the spending limit.

    getSpendingLimit Result

    The following output properties are available:

    CreatedAt string
    The date and time when the spending limit was created, in ISO 8601 format.
    QueuedSpend string
    The amount currently queued for spending on the device, in USD.
    SpendingLimitArn string
    The Amazon Resource Name (ARN) that uniquely identifies the spending limit.
    SpendingLimitValue string
    The maximum amount that can be spent on the specified device, in USD.
    Tags List<Pulumi.AwsNative.Outputs.Tag>
    The tags to apply to the spending limit.
    TimePeriod Pulumi.AwsNative.Braket.Outputs.SpendingLimitTimePeriod
    TotalSpend string
    The total amount spent on the device so far during the current time period, in USD.
    UpdatedAt string
    The date and time when the spending limit was last modified, in ISO 8601 format.
    CreatedAt string
    The date and time when the spending limit was created, in ISO 8601 format.
    QueuedSpend string
    The amount currently queued for spending on the device, in USD.
    SpendingLimit string
    The maximum amount that can be spent on the specified device, in USD.
    SpendingLimitArn string
    The Amazon Resource Name (ARN) that uniquely identifies the spending limit.
    Tags Tag
    The tags to apply to the spending limit.
    TimePeriod SpendingLimitTimePeriod
    TotalSpend string
    The total amount spent on the device so far during the current time period, in USD.
    UpdatedAt string
    The date and time when the spending limit was last modified, in ISO 8601 format.
    createdAt String
    The date and time when the spending limit was created, in ISO 8601 format.
    queuedSpend String
    The amount currently queued for spending on the device, in USD.
    spendingLimit String
    The maximum amount that can be spent on the specified device, in USD.
    spendingLimitArn String
    The Amazon Resource Name (ARN) that uniquely identifies the spending limit.
    tags List<Tag>
    The tags to apply to the spending limit.
    timePeriod SpendingLimitTimePeriod
    totalSpend String
    The total amount spent on the device so far during the current time period, in USD.
    updatedAt String
    The date and time when the spending limit was last modified, in ISO 8601 format.
    createdAt string
    The date and time when the spending limit was created, in ISO 8601 format.
    queuedSpend string
    The amount currently queued for spending on the device, in USD.
    spendingLimit string
    The maximum amount that can be spent on the specified device, in USD.
    spendingLimitArn string
    The Amazon Resource Name (ARN) that uniquely identifies the spending limit.
    tags Tag[]
    The tags to apply to the spending limit.
    timePeriod SpendingLimitTimePeriod
    totalSpend string
    The total amount spent on the device so far during the current time period, in USD.
    updatedAt string
    The date and time when the spending limit was last modified, in ISO 8601 format.
    created_at str
    The date and time when the spending limit was created, in ISO 8601 format.
    queued_spend str
    The amount currently queued for spending on the device, in USD.
    spending_limit str
    The maximum amount that can be spent on the specified device, in USD.
    spending_limit_arn str
    The Amazon Resource Name (ARN) that uniquely identifies the spending limit.
    tags Sequence[root_Tag]
    The tags to apply to the spending limit.
    time_period SpendingLimitTimePeriod
    total_spend str
    The total amount spent on the device so far during the current time period, in USD.
    updated_at str
    The date and time when the spending limit was last modified, in ISO 8601 format.
    createdAt String
    The date and time when the spending limit was created, in ISO 8601 format.
    queuedSpend String
    The amount currently queued for spending on the device, in USD.
    spendingLimit String
    The maximum amount that can be spent on the specified device, in USD.
    spendingLimitArn String
    The Amazon Resource Name (ARN) that uniquely identifies the spending limit.
    tags List<Property Map>
    The tags to apply to the spending limit.
    timePeriod Property Map
    totalSpend String
    The total amount spent on the device so far during the current time period, in USD.
    updatedAt String
    The date and time when the spending limit was last modified, in ISO 8601 format.

    Supporting Types

    SpendingLimitTimePeriod

    EndAt string
    The end date and time for the spending limit period, in ISO 8601 format.
    StartAt string
    The start date and time for the spending limit period, in ISO 8601 format.
    EndAt string
    The end date and time for the spending limit period, in ISO 8601 format.
    StartAt string
    The start date and time for the spending limit period, in ISO 8601 format.
    endAt String
    The end date and time for the spending limit period, in ISO 8601 format.
    startAt String
    The start date and time for the spending limit period, in ISO 8601 format.
    endAt string
    The end date and time for the spending limit period, in ISO 8601 format.
    startAt string
    The start date and time for the spending limit period, in ISO 8601 format.
    end_at str
    The end date and time for the spending limit period, in ISO 8601 format.
    start_at str
    The start date and time for the spending limit period, in ISO 8601 format.
    endAt String
    The end date and time for the spending limit period, in ISO 8601 format.
    startAt String
    The start date and time for the spending limit period, in ISO 8601 format.

    Tag

    Key string
    The key name of the tag
    Value string
    The value of the tag
    Key string
    The key name of the tag
    Value string
    The value of the tag
    key String
    The key name of the tag
    value String
    The value of the tag
    key string
    The key name of the tag
    value string
    The value of the tag
    key str
    The key name of the tag
    value str
    The value of the tag
    key String
    The key name of the tag
    value String
    The value of the tag

    Package Details

    Repository
    AWS Native pulumi/pulumi-aws-native
    License
    Apache-2.0
    aws-native logo

    We recommend new projects start with resources from the AWS provider.

    Viewing docs for AWS Cloud Control v1.62.0
    published on Monday, Apr 20, 2026 by Pulumi
      Try Pulumi Cloud free. Your team will thank you.