CfnSpendingLimitProps
- class aws_cdk.aws_braket.CfnSpendingLimitProps(*, device_arn, spending_limit, tags=None, time_period=None)
Bases:
objectProperties for defining a
CfnSpendingLimit.- Parameters:
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 (
Optional[Sequence[Union[CfnTag,Dict[str,Any]]]]) – The tags to apply to the spending limit.time_period (
Union[IResolvable,TimePeriodProperty,Dict[str,Any],None]) – Defines a time range for spending limits, specifying when the limit is active.
- See:
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-braket-spendinglimit.html
- ExampleMetadata:
fixture=_generated
Example:
from aws_cdk import CfnTag # The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk import aws_braket as braket cfn_spending_limit_props = braket.CfnSpendingLimitProps( device_arn="deviceArn", spending_limit="spendingLimit", # the properties below are optional tags=[CfnTag( key="key", value="value" )], time_period=braket.CfnSpendingLimit.TimePeriodProperty( end_at="endAt", start_at="startAt" ) )
Attributes
- device_arn
The Amazon Resource Name (ARN) of the quantum device to apply the spending limit to.
- spending_limit
The maximum amount that can be spent on the specified device, in USD.
- tags
The tags to apply to the spending limit.
- time_period
Defines a time range for spending limits, specifying when the limit is active.