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

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.

    Create SpendingLimit Resource

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

    Constructor syntax

    new SpendingLimit(name: string, args: SpendingLimitArgs, opts?: CustomResourceOptions);
    @overload
    def SpendingLimit(resource_name: str,
                      args: SpendingLimitArgs,
                      opts: Optional[ResourceOptions] = None)
    
    @overload
    def SpendingLimit(resource_name: str,
                      opts: Optional[ResourceOptions] = None,
                      device_arn: Optional[str] = None,
                      spending_limit: Optional[str] = None,
                      tags: Optional[Sequence[_root_inputs.TagArgs]] = None,
                      time_period: Optional[SpendingLimitTimePeriodArgs] = None)
    func NewSpendingLimit(ctx *Context, name string, args SpendingLimitArgs, opts ...ResourceOption) (*SpendingLimit, error)
    public SpendingLimit(string name, SpendingLimitArgs args, CustomResourceOptions? opts = null)
    public SpendingLimit(String name, SpendingLimitArgs args)
    public SpendingLimit(String name, SpendingLimitArgs args, CustomResourceOptions options)
    
    type: aws-native:braket:SpendingLimit
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

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

    SpendingLimit 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 SpendingLimit resource accepts the following input properties:

    DeviceArn string
    The Amazon Resource Name (ARN) of the quantum device to apply the spending limit to.
    SpendingLimitValue string
    The maximum amount that can be spent on the specified device, in USD.
    Tags List<Pulumi.AwsNative.Inputs.Tag>
    The tags to apply to the spending limit.
    TimePeriod Pulumi.AwsNative.Braket.Inputs.SpendingLimitTimePeriod
    DeviceArn string
    The Amazon Resource Name (ARN) of the quantum device to apply the spending limit to.
    SpendingLimit string
    The maximum amount that can be spent on the specified device, in USD.
    Tags TagArgs
    The tags to apply to the spending limit.
    TimePeriod SpendingLimitTimePeriodArgs
    deviceArn String
    The Amazon Resource Name (ARN) of the quantum device to apply the spending limit to.
    spendingLimit String
    The maximum amount that can be spent on the specified device, in USD.
    tags List<Tag>
    The tags to apply to the spending limit.
    timePeriod SpendingLimitTimePeriod
    deviceArn string
    The Amazon Resource Name (ARN) of the quantum device to apply the spending limit to.
    spendingLimit string
    The maximum amount that can be spent on the specified device, in USD.
    tags Tag[]
    The tags to apply to the spending limit.
    timePeriod SpendingLimitTimePeriod
    device_arn str
    The Amazon Resource Name (ARN) of the quantum device to apply the spending limit to.
    spending_limit str
    The maximum amount that can be spent on the specified device, in USD.
    tags Sequence[TagArgs]
    The tags to apply to the spending limit.
    time_period SpendingLimitTimePeriodArgs
    deviceArn String
    The Amazon Resource Name (ARN) of the quantum device to apply the spending limit to.
    spendingLimit String
    The maximum amount that can be spent on the specified device, in USD.
    tags List<Property Map>
    The tags to apply to the spending limit.
    timePeriod Property Map

    Outputs

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

    CreatedAt string
    The date and time when the spending limit was created, in ISO 8601 format.
    Id string
    The provider-assigned unique ID for this managed resource.
    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.
    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.
    Id string
    The provider-assigned unique ID for this managed resource.
    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.
    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.
    id String
    The provider-assigned unique ID for this managed resource.
    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.
    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.
    id string
    The provider-assigned unique ID for this managed resource.
    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.
    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.
    id str
    The provider-assigned unique ID for this managed resource.
    queued_spend str
    The amount currently queued for spending on the device, in USD.
    spending_limit_arn str
    The Amazon Resource Name (ARN) that uniquely identifies the spending limit.
    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.
    id String
    The provider-assigned unique ID for this managed resource.
    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.
    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, SpendingLimitTimePeriodArgs

    Defines a time range for spending limits, specifying when the limit is active.
    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, TagArgs

    A set of tags to apply to the resource.
    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.