CfnSpendingLimitMixinProps
- class aws_cdk.cfn_property_mixins.aws_braket.CfnSpendingLimitMixinProps(*, device_arn=None, spending_limit=None, tags=None, time_period=None)
Bases:
objectProperties for CfnSpendingLimitPropsMixin.
- Parameters:
device_arn (
Optional[str]) – The Amazon Resource Name (ARN) of the quantum device to apply the spending limit to.spending_limit (
Optional[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.cfn_property_mixins import aws_braket as braket cfn_spending_limit_mixin_props = braket.CfnSpendingLimitMixinProps( device_arn="deviceArn", spending_limit="spendingLimit", tags=[CfnTag( key="key", value="value" )], time_period=braket.CfnSpendingLimitPropsMixin.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.