CfnBudgetProps

class aws_cdk.aws_deadline.CfnBudgetProps(*, actions, approximate_dollar_limit, display_name, farm_id, schedule, usage_tracking_resource, description=None, tags=None)

Bases: object

Properties for defining a CfnBudget.

Parameters:
  • actions (Union[IResolvable, Sequence[Union[IResolvable, BudgetActionToAddProperty, Dict[str, Any]]]]) – The budget actions to specify what happens when the budget runs out.

  • approximate_dollar_limit (Union[int, float]) – The dollar limit based on consumed usage.

  • display_name (str) – The display name of the budget.

  • farm_id (str) – The farm ID.

  • schedule (Union[IResolvable, BudgetScheduleProperty, Dict[str, Any]]) – The start and end time of the budget.

  • usage_tracking_resource (Union[IResolvable, UsageTrackingResourceProperty, Dict[str, Any]]) – The usage details of the allotted budget.

  • description (Optional[str]) – The description of the budget.

  • tags (Optional[Sequence[Union[CfnTag, Dict[str, Any]]]]) – An array of key-value pairs to apply to this resource.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-deadline-budget.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_deadline as deadline

cfn_budget_props = deadline.CfnBudgetProps(
    actions=[deadline.CfnBudget.BudgetActionToAddProperty(
        threshold_percentage=123,
        type="type",

        # the properties below are optional
        description="description"
    )],
    approximate_dollar_limit=123,
    display_name="displayName",
    farm_id="farmId",
    schedule=deadline.CfnBudget.BudgetScheduleProperty(
        fixed=deadline.CfnBudget.FixedBudgetScheduleProperty(
            end_time="endTime",
            start_time="startTime"
        )
    ),
    usage_tracking_resource=deadline.CfnBudget.UsageTrackingResourceProperty(
        queue_id="queueId"
    ),

    # the properties below are optional
    description="description",
    tags=[CfnTag(
        key="key",
        value="value"
    )]
)

Attributes

actions

The budget actions to specify what happens when the budget runs out.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-deadline-budget.html#cfn-deadline-budget-actions

approximate_dollar_limit

The dollar limit based on consumed usage.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-deadline-budget.html#cfn-deadline-budget-approximatedollarlimit

description

The description of the budget.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-deadline-budget.html#cfn-deadline-budget-description

display_name

The display name of the budget.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-deadline-budget.html#cfn-deadline-budget-displayname

farm_id

The farm ID.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-deadline-budget.html#cfn-deadline-budget-farmid

schedule

The start and end time of the budget.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-deadline-budget.html#cfn-deadline-budget-schedule

tags

An array of key-value pairs to apply to this resource.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-deadline-budget.html#cfn-deadline-budget-tags

usage_tracking_resource

The usage details of the allotted budget.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-deadline-budget.html#cfn-deadline-budget-usagetrackingresource