interface CfnSpendingLimitProps
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.Braket.CfnSpendingLimitProps |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsbraket#CfnSpendingLimitProps |
Java | software.amazon.awscdk.services.braket.CfnSpendingLimitProps |
Python | aws_cdk.aws_braket.CfnSpendingLimitProps |
TypeScript | aws-cdk-lib » aws_braket » CfnSpendingLimitProps |
Properties for defining a CfnSpendingLimit.
See also: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-braket-spendinglimit.html
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_braket as braket } from 'aws-cdk-lib';
const cfnSpendingLimitProps: braket.CfnSpendingLimitProps = {
deviceArn: 'deviceArn',
spendingLimit: 'spendingLimit',
// the properties below are optional
tags: [{
key: 'key',
value: 'value',
}],
timePeriod: {
endAt: 'endAt',
startAt: 'startAt',
},
};
Properties
| Name | Type | Description |
|---|---|---|
| device | string | The Amazon Resource Name (ARN) of the quantum device to apply the spending limit to. |
| spending | string | The maximum amount that can be spent on the specified device, in USD. |
| tags? | Cfn[] | The tags to apply to the spending limit. |
| time | IResolvable | Time | Defines a time range for spending limits, specifying when the limit is active. |
deviceArn
Type:
string
The Amazon Resource Name (ARN) of the quantum device to apply the spending limit to.
spendingLimit
Type:
string
The maximum amount that can be spent on the specified device, in USD.
tags?
Type:
Cfn[]
(optional)
The tags to apply to the spending limit.
timePeriod?
Type:
IResolvable | Time
(optional)
Defines a time range for spending limits, specifying when the limit is active.

.NET
Go
Java
Python
TypeScript