@pulumi/aws-native
Version:
The Pulumi AWS Cloud Control Provider enables you to build, deploy, and manage [any AWS resource that's supported by the AWS Cloud Control API](https://github.com/pulumi/pulumi-aws-native/blob/master/provider/cmd/pulumi-gen-aws-native/supported-types.txt)
82 lines (81 loc) • 3.42 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as inputs from "../types/input";
import * as outputs from "../types/output";
/**
* 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.
*/
export declare class SpendingLimit extends pulumi.CustomResource {
/**
* Get an existing SpendingLimit resource's state with the given name, ID, and optional extra
* properties used to qualify the lookup.
*
* @param name The _unique_ name of the resulting resource.
* @param id The _unique_ provider ID of the resource to lookup.
* @param opts Optional settings to control the behavior of the CustomResource.
*/
static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): SpendingLimit;
/**
* Returns true if the given object is an instance of SpendingLimit. This is designed to work even
* when multiple copies of the Pulumi SDK have been loaded into the same process.
*/
static isInstance(obj: any): obj is SpendingLimit;
/**
* The date and time when the spending limit was created, in ISO 8601 format.
*/
readonly createdAt: pulumi.Output<string>;
/**
* The Amazon Resource Name (ARN) of the quantum device to apply the spending limit to.
*/
readonly deviceArn: pulumi.Output<string>;
/**
* The amount currently queued for spending on the device, in USD.
*/
readonly queuedSpend: pulumi.Output<string>;
/**
* The maximum amount that can be spent on the specified device, in USD.
*/
readonly spendingLimit: pulumi.Output<string>;
/**
* The Amazon Resource Name (ARN) that uniquely identifies the spending limit.
*/
readonly spendingLimitArn: pulumi.Output<string>;
/**
* The tags to apply to the spending limit.
*/
readonly tags: pulumi.Output<outputs.Tag[] | undefined>;
readonly timePeriod: pulumi.Output<outputs.braket.SpendingLimitTimePeriod | undefined>;
/**
* The total amount spent on the device so far during the current time period, in USD.
*/
readonly totalSpend: pulumi.Output<string>;
/**
* The date and time when the spending limit was last modified, in ISO 8601 format.
*/
readonly updatedAt: pulumi.Output<string>;
/**
* Create a SpendingLimit resource with the given unique name, arguments, and options.
*
* @param name The _unique_ name of the resource.
* @param args The arguments to use to populate this resource's properties.
* @param opts A bag of options that control this resource's behavior.
*/
constructor(name: string, args: SpendingLimitArgs, opts?: pulumi.CustomResourceOptions);
}
/**
* The set of arguments for constructing a SpendingLimit resource.
*/
export interface SpendingLimitArgs {
/**
* The Amazon Resource Name (ARN) of the quantum device to apply the spending limit to.
*/
deviceArn: pulumi.Input<string>;
/**
* The maximum amount that can be spent on the specified device, in USD.
*/
spendingLimit: pulumi.Input<string>;
/**
* The tags to apply to the spending limit.
*/
tags?: pulumi.Input<pulumi.Input<inputs.TagArgs>[]>;
timePeriod?: pulumi.Input<inputs.braket.SpendingLimitTimePeriodArgs>;
}