@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)
54 lines (53 loc) • 2.17 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
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 function getSpendingLimit(args: GetSpendingLimitArgs, opts?: pulumi.InvokeOptions): Promise<GetSpendingLimitResult>;
export interface GetSpendingLimitArgs {
/**
* The Amazon Resource Name (ARN) that uniquely identifies the spending limit.
*/
spendingLimitArn: string;
}
export interface GetSpendingLimitResult {
/**
* The date and time when the spending limit was created, in ISO 8601 format.
*/
readonly createdAt?: string;
/**
* The amount currently queued for spending on the device, in USD.
*/
readonly queuedSpend?: string;
/**
* The maximum amount that can be spent on the specified device, in USD.
*/
readonly spendingLimit?: string;
/**
* The Amazon Resource Name (ARN) that uniquely identifies the spending limit.
*/
readonly spendingLimitArn?: string;
/**
* The tags to apply to the spending limit.
*/
readonly tags?: outputs.Tag[];
readonly timePeriod?: outputs.braket.SpendingLimitTimePeriod;
/**
* The total amount spent on the device so far during the current time period, in USD.
*/
readonly totalSpend?: string;
/**
* The date and time when the spending limit was last modified, in ISO 8601 format.
*/
readonly updatedAt?: string;
}
/**
* 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 function getSpendingLimitOutput(args: GetSpendingLimitOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetSpendingLimitResult>;
export interface GetSpendingLimitOutputArgs {
/**
* The Amazon Resource Name (ARN) that uniquely identifies the spending limit.
*/
spendingLimitArn: pulumi.Input<string>;
}