AWS Native is in preview. AWS Classic is fully supported.
aws-native.batch.SchedulingPolicy
Explore with Pulumi AI
AWS Native is in preview. AWS Classic is fully supported.
Resource Type schema for AWS::Batch::SchedulingPolicy
Create SchedulingPolicy Resource
new SchedulingPolicy(name: string, args?: SchedulingPolicyArgs, opts?: CustomResourceOptions);
@overload
def SchedulingPolicy(resource_name: str,
opts: Optional[ResourceOptions] = None,
fairshare_policy: Optional[SchedulingPolicyFairsharePolicyArgs] = None,
name: Optional[str] = None,
tags: Optional[Any] = None)
@overload
def SchedulingPolicy(resource_name: str,
args: Optional[SchedulingPolicyArgs] = None,
opts: Optional[ResourceOptions] = None)
func NewSchedulingPolicy(ctx *Context, name string, args *SchedulingPolicyArgs, opts ...ResourceOption) (*SchedulingPolicy, error)
public SchedulingPolicy(string name, SchedulingPolicyArgs? args = null, CustomResourceOptions? opts = null)
public SchedulingPolicy(String name, SchedulingPolicyArgs args)
public SchedulingPolicy(String name, SchedulingPolicyArgs args, CustomResourceOptions options)
type: aws-native:batch:SchedulingPolicy
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args SchedulingPolicyArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args SchedulingPolicyArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args SchedulingPolicyArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args SchedulingPolicyArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args SchedulingPolicyArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
SchedulingPolicy Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
The SchedulingPolicy resource accepts the following input properties:
- Pulumi.
Aws Native. Batch. Inputs. Scheduling Policy Fairshare Policy - Name string
Name of Scheduling Policy.
- object
A key-value pair to associate with a resource.
- Scheduling
Policy Fairshare Policy Args - Name string
Name of Scheduling Policy.
- interface{}
A key-value pair to associate with a resource.
- Scheduling
Policy Fairshare Policy - name String
Name of Scheduling Policy.
- Object
A key-value pair to associate with a resource.
- Scheduling
Policy Fairshare Policy - name string
Name of Scheduling Policy.
- any
A key-value pair to associate with a resource.
- Scheduling
Policy Fairshare Policy Args - name str
Name of Scheduling Policy.
- Any
A key-value pair to associate with a resource.
- Property Map
- name String
Name of Scheduling Policy.
- Any
A key-value pair to associate with a resource.
Outputs
All input properties are implicitly available as output properties. Additionally, the SchedulingPolicy resource produces the following output properties:
Supporting Types
SchedulingPolicyFairsharePolicy, SchedulingPolicyFairsharePolicyArgs
- Compute
Reservation double - double
- List<Pulumi.
Aws Native. Batch. Inputs. Scheduling Policy Share Attributes> List of Share Attributes
- Compute
Reservation float64 - float64
- []Scheduling
Policy Share Attributes List of Share Attributes
- compute
Reservation Double - Double
- List<Scheduling
Policy Share Attributes> List of Share Attributes
- compute
Reservation number - number
- Scheduling
Policy Share Attributes[] List of Share Attributes
- compute_
reservation float - float
- Sequence[Scheduling
Policy Share Attributes] List of Share Attributes
- compute
Reservation Number - Number
- List<Property Map>
List of Share Attributes
SchedulingPolicyShareAttributes, SchedulingPolicyShareAttributesArgs
- string
- Weight
Factor double
- string
- Weight
Factor float64
- String
- weight
Factor Double
- string
- weight
Factor number
- str
- weight_
factor float
- String
- weight
Factor Number
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
AWS Native is in preview. AWS Classic is fully supported.