CfnLimitMixinProps
- class aws_cdk.mixins_preview.aws_deadline.mixins.CfnLimitMixinProps(*, amount_requirement_name=None, description=None, display_name=None, farm_id=None, max_count=None)
Bases:
objectProperties for CfnLimitPropsMixin.
- Parameters:
amount_requirement_name (
Optional[str]) – The value that you specify as thenamein theamountsfield of thehostRequirementsin a step of a job template to declare the limit requirement.description (
Optional[str]) – A description of the limit. A clear description helps you identify the purpose of the limit. .. epigraph:: This field can store any content. Escape or encode this content before displaying it on a webpage or any other system that might interpret the content of this field. Default: - “”display_name (
Optional[str]) – The name of the limit used in lists to identify the limit. .. epigraph:: This field can store any content. Escape or encode this content before displaying it on a webpage or any other system that might interpret the content of this field.farm_id (
Optional[str]) – The unique identifier of the farm that contains the limit.max_count (
Union[int,float,None]) – The maximum number of resources constrained by this limit. When all of the resources are in use, steps that require the limit won’t be scheduled until the resource is available. ThemaxValuemust not be 0. If the value is -1, there is no restriction on the number of resources that can be acquired for this limit.
- See:
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-deadline-limit.html
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk.mixins_preview.aws_deadline import mixins as deadline_mixins cfn_limit_mixin_props = deadline_mixins.CfnLimitMixinProps( amount_requirement_name="amountRequirementName", description="description", display_name="displayName", farm_id="farmId", max_count=123 )
Attributes
- amount_requirement_name
The value that you specify as the
namein theamountsfield of thehostRequirementsin a step of a job template to declare the limit requirement.
- description
A description of the limit. A clear description helps you identify the purpose of the limit.
This field can store any content. Escape or encode this content before displaying it on a webpage or any other system that might interpret the content of this field.
- display_name
The name of the limit used in lists to identify the limit.
This field can store any content. Escape or encode this content before displaying it on a webpage or any other system that might interpret the content of this field.
- farm_id
The unique identifier of the farm that contains the limit.
- max_count
The maximum number of resources constrained by this limit.
When all of the resources are in use, steps that require the limit won’t be scheduled until the resource is available.
The
maxValuemust not be 0. If the value is -1, there is no restriction on the number of resources that can be acquired for this limit.