We recommend new projects start with resources from the AWS provider.
published on Monday, Apr 20, 2026 by Pulumi
We recommend new projects start with resources from the AWS provider.
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:
- Device
Arn string - The Amazon Resource Name (ARN) of the quantum device to apply the spending limit to.
- Spending
Limit stringValue - The maximum amount that can be spent on the specified device, in USD.
-
List<Pulumi.
Aws Native. Inputs. Tag> - The tags to apply to the spending limit.
- Time
Period Pulumi.Aws Native. Braket. Inputs. Spending Limit Time Period
- Device
Arn string - The Amazon Resource Name (ARN) of the quantum device to apply the spending limit to.
- Spending
Limit string - The maximum amount that can be spent on the specified device, in USD.
-
Tag
Args - The tags to apply to the spending limit.
- Time
Period SpendingLimit Time Period Args
- device
Arn String - The Amazon Resource Name (ARN) of the quantum device to apply the spending limit to.
- spending
Limit String - The maximum amount that can be spent on the specified device, in USD.
- List<Tag>
- The tags to apply to the spending limit.
- time
Period SpendingLimit Time Period
- device
Arn string - The Amazon Resource Name (ARN) of the quantum device to apply the spending limit to.
- spending
Limit string - The maximum amount that can be spent on the specified device, in USD.
- Tag[]
- The tags to apply to the spending limit.
- time
Period SpendingLimit Time Period
- 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.
-
Sequence[Tag
Args] - The tags to apply to the spending limit.
- time_
period SpendingLimit Time Period Args
- device
Arn String - The Amazon Resource Name (ARN) of the quantum device to apply the spending limit to.
- spending
Limit String - The maximum amount that can be spent on the specified device, in USD.
- List<Property Map>
- The tags to apply to the spending limit.
- time
Period Property Map
Outputs
All input properties are implicitly available as output properties. Additionally, the SpendingLimit resource produces the following output properties:
- Created
At 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.
- Queued
Spend string - The amount currently queued for spending on the device, in USD.
- Spending
Limit stringArn - The Amazon Resource Name (ARN) that uniquely identifies the spending limit.
- Total
Spend string - The total amount spent on the device so far during the current time period, in USD.
- Updated
At string - The date and time when the spending limit was last modified, in ISO 8601 format.
- Created
At 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.
- Queued
Spend string - The amount currently queued for spending on the device, in USD.
- Spending
Limit stringArn - The Amazon Resource Name (ARN) that uniquely identifies the spending limit.
- Total
Spend string - The total amount spent on the device so far during the current time period, in USD.
- Updated
At string - The date and time when the spending limit was last modified, in ISO 8601 format.
- created
At 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.
- queued
Spend String - The amount currently queued for spending on the device, in USD.
- spending
Limit StringArn - The Amazon Resource Name (ARN) that uniquely identifies the spending limit.
- total
Spend String - The total amount spent on the device so far during the current time period, in USD.
- updated
At String - The date and time when the spending limit was last modified, in ISO 8601 format.
- created
At 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.
- queued
Spend string - The amount currently queued for spending on the device, in USD.
- spending
Limit stringArn - The Amazon Resource Name (ARN) that uniquely identifies the spending limit.
- total
Spend string - The total amount spent on the device so far during the current time period, in USD.
- updated
At 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_ strarn - 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.
- created
At 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.
- queued
Spend String - The amount currently queued for spending on the device, in USD.
- spending
Limit StringArn - The Amazon Resource Name (ARN) that uniquely identifies the spending limit.
- total
Spend String - The total amount spent on the device so far during the current time period, in USD.
- updated
At 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.Tag, TagArgs
A set of tags to apply to the resource.Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
We recommend new projects start with resources from the AWS provider.
published on Monday, Apr 20, 2026 by Pulumi
