Class CfnBudgetPropsMixin
Creates a budget to set spending thresholds for your rendering activity.
Implements
Inherited Members
Namespace: Amazon.CDK.CfnPropertyMixins.AWS.Deadline
Assembly: Amazon.CDK.CfnPropertyMixins.dll
Syntax (csharp)
public class CfnBudgetPropsMixin : Mixin, IMixin
Syntax (vb)
Public Class CfnBudgetPropsMixin Inherits Mixin Implements IMixin
Remarks
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-deadline-budget.html
CloudformationResource: AWS::Deadline::Budget
Mixin: true
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.CfnPropertyMixins.AWS.Deadline;
using Amazon.CDK;
IMergeStrategy mergeStrategy;
var cfnBudgetPropsMixin = new CfnBudgetPropsMixin(new CfnBudgetMixinProps {
Actions = new [] { new BudgetActionToAddProperty {
Description = "description",
ThresholdPercentage = 123,
Type = "type"
} },
ApproximateDollarLimit = 123,
Description = "description",
DisplayName = "displayName",
FarmId = "farmId",
Schedule = new BudgetScheduleProperty {
Fixed = new FixedBudgetScheduleProperty {
EndTime = "endTime",
StartTime = "startTime"
}
},
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} },
UsageTrackingResource = new UsageTrackingResourceProperty {
QueueId = "queueId"
}
}, new CfnPropertyMixinOptions {
Strategy = mergeStrategy
});
Synopsis
Constructors
| CfnBudgetPropsMixin(ICfnBudgetMixinProps, ICfnPropertyMixinOptions?) | Create a mixin to apply properties to |
Properties
| CFN_PROPERTY_KEYS | Creates a budget to set spending thresholds for your rendering activity. |
| Props | Creates a budget to set spending thresholds for your rendering activity. |
| Strategy | Creates a budget to set spending thresholds for your rendering activity. |
Methods
| ApplyTo(IConstruct) | Apply the mixin properties to the construct. |
| Supports(IConstruct) | Check if this mixin supports the given construct. |
Constructors
CfnBudgetPropsMixin(ICfnBudgetMixinProps, ICfnPropertyMixinOptions?)
Create a mixin to apply properties to AWS::Deadline::Budget.
public CfnBudgetPropsMixin(ICfnBudgetMixinProps props, ICfnPropertyMixinOptions? options = null)
Parameters
- props ICfnBudgetMixinProps
L1 properties to apply.
- options ICfnPropertyMixinOptions
Mixin options.
Remarks
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-deadline-budget.html
CloudformationResource: AWS::Deadline::Budget
Mixin: true
ExampleMetadata: fixture=_generated
Properties
CFN_PROPERTY_KEYS
Creates a budget to set spending thresholds for your rendering activity.
protected static string[] CFN_PROPERTY_KEYS { get; }
Property Value
string[]
Remarks
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-deadline-budget.html
CloudformationResource: AWS::Deadline::Budget
Mixin: true
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.CfnPropertyMixins.AWS.Deadline;
using Amazon.CDK;
IMergeStrategy mergeStrategy;
var cfnBudgetPropsMixin = new CfnBudgetPropsMixin(new CfnBudgetMixinProps {
Actions = new [] { new BudgetActionToAddProperty {
Description = "description",
ThresholdPercentage = 123,
Type = "type"
} },
ApproximateDollarLimit = 123,
Description = "description",
DisplayName = "displayName",
FarmId = "farmId",
Schedule = new BudgetScheduleProperty {
Fixed = new FixedBudgetScheduleProperty {
EndTime = "endTime",
StartTime = "startTime"
}
},
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} },
UsageTrackingResource = new UsageTrackingResourceProperty {
QueueId = "queueId"
}
}, new CfnPropertyMixinOptions {
Strategy = mergeStrategy
});
Props
Creates a budget to set spending thresholds for your rendering activity.
protected virtual ICfnBudgetMixinProps Props { get; }
Property Value
Remarks
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-deadline-budget.html
CloudformationResource: AWS::Deadline::Budget
Mixin: true
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.CfnPropertyMixins.AWS.Deadline;
using Amazon.CDK;
IMergeStrategy mergeStrategy;
var cfnBudgetPropsMixin = new CfnBudgetPropsMixin(new CfnBudgetMixinProps {
Actions = new [] { new BudgetActionToAddProperty {
Description = "description",
ThresholdPercentage = 123,
Type = "type"
} },
ApproximateDollarLimit = 123,
Description = "description",
DisplayName = "displayName",
FarmId = "farmId",
Schedule = new BudgetScheduleProperty {
Fixed = new FixedBudgetScheduleProperty {
EndTime = "endTime",
StartTime = "startTime"
}
},
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} },
UsageTrackingResource = new UsageTrackingResourceProperty {
QueueId = "queueId"
}
}, new CfnPropertyMixinOptions {
Strategy = mergeStrategy
});
Strategy
Creates a budget to set spending thresholds for your rendering activity.
protected virtual IMergeStrategy Strategy { get; }
Property Value
Remarks
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-deadline-budget.html
CloudformationResource: AWS::Deadline::Budget
Mixin: true
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.CfnPropertyMixins.AWS.Deadline;
using Amazon.CDK;
IMergeStrategy mergeStrategy;
var cfnBudgetPropsMixin = new CfnBudgetPropsMixin(new CfnBudgetMixinProps {
Actions = new [] { new BudgetActionToAddProperty {
Description = "description",
ThresholdPercentage = 123,
Type = "type"
} },
ApproximateDollarLimit = 123,
Description = "description",
DisplayName = "displayName",
FarmId = "farmId",
Schedule = new BudgetScheduleProperty {
Fixed = new FixedBudgetScheduleProperty {
EndTime = "endTime",
StartTime = "startTime"
}
},
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} },
UsageTrackingResource = new UsageTrackingResourceProperty {
QueueId = "queueId"
}
}, new CfnPropertyMixinOptions {
Strategy = mergeStrategy
});
Methods
ApplyTo(IConstruct)
Apply the mixin properties to the construct.
public override void ApplyTo(IConstruct construct)
Parameters
- construct IConstruct
Overrides
Remarks
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-deadline-budget.html
CloudformationResource: AWS::Deadline::Budget
Mixin: true
ExampleMetadata: fixture=_generated
Supports(IConstruct)
Check if this mixin supports the given construct.
public override bool Supports(IConstruct construct)
Parameters
- construct IConstruct
Returns
Overrides
Remarks
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-deadline-budget.html
CloudformationResource: AWS::Deadline::Budget
Mixin: true
ExampleMetadata: fixture=_generated