CfnSchedulingPolicyMixinProps
- class aws_cdk.mixins_preview.aws_batch.mixins.CfnSchedulingPolicyMixinProps(*, fairshare_policy=None, name=None, tags=None)
Bases:
objectProperties for CfnSchedulingPolicyPropsMixin.
- Parameters:
fairshare_policy (
Union[IResolvable,FairsharePolicyProperty,Dict[str,Any],None]) – The fair-share scheduling policy details.name (
Optional[str]) – The name of the fair-share scheduling policy. It can be up to 128 letters long. It can contain uppercase and lowercase letters, numbers, hyphens (-), and underscores (_).tags (
Optional[Mapping[str,str]]) – The tags that you apply to the scheduling policy to help you categorize and organize your resources. Each tag consists of a key and an optional value. For more information, see Tagging AWS Resources in AWS General Reference . These tags can be updated or removed using the TagResource and UntagResource API operations.
- See:
- 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_batch import mixins as batch_mixins cfn_scheduling_policy_mixin_props = batch_mixins.CfnSchedulingPolicyMixinProps( fairshare_policy=batch_mixins.CfnSchedulingPolicyPropsMixin.FairsharePolicyProperty( compute_reservation=123, share_decay_seconds=123, share_distribution=[batch_mixins.CfnSchedulingPolicyPropsMixin.ShareAttributesProperty( share_identifier="shareIdentifier", weight_factor=123 )] ), name="name", tags={ "tags_key": "tags" } )
Attributes
The fair-share scheduling policy details.
- name
The name of the fair-share scheduling policy.
It can be up to 128 letters long. It can contain uppercase and lowercase letters, numbers, hyphens (-), and underscores (_).
- tags
The tags that you apply to the scheduling policy to help you categorize and organize your resources.
Each tag consists of a key and an optional value. For more information, see Tagging AWS Resources in AWS General Reference .
These tags can be updated or removed using the TagResource and UntagResource API operations.