AWS Native is in preview. AWS Classic is fully supported.
aws-native.batch.getSchedulingPolicy
Explore with Pulumi AI
AWS Native is in preview. AWS Classic is fully supported.
Resource Type schema for AWS::Batch::SchedulingPolicy
Using getSchedulingPolicy
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getSchedulingPolicy(args: GetSchedulingPolicyArgs, opts?: InvokeOptions): Promise<GetSchedulingPolicyResult>
function getSchedulingPolicyOutput(args: GetSchedulingPolicyOutputArgs, opts?: InvokeOptions): Output<GetSchedulingPolicyResult>
def get_scheduling_policy(arn: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetSchedulingPolicyResult
def get_scheduling_policy_output(arn: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetSchedulingPolicyResult]
func LookupSchedulingPolicy(ctx *Context, args *LookupSchedulingPolicyArgs, opts ...InvokeOption) (*LookupSchedulingPolicyResult, error)
func LookupSchedulingPolicyOutput(ctx *Context, args *LookupSchedulingPolicyOutputArgs, opts ...InvokeOption) LookupSchedulingPolicyResultOutput
> Note: This function is named LookupSchedulingPolicy
in the Go SDK.
public static class GetSchedulingPolicy
{
public static Task<GetSchedulingPolicyResult> InvokeAsync(GetSchedulingPolicyArgs args, InvokeOptions? opts = null)
public static Output<GetSchedulingPolicyResult> Invoke(GetSchedulingPolicyInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetSchedulingPolicyResult> getSchedulingPolicy(GetSchedulingPolicyArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: aws-native:batch:getSchedulingPolicy
arguments:
# arguments dictionary
The following arguments are supported:
- Arn string
- Arn string
- arn String
- arn string
- arn str
- arn String
getSchedulingPolicy Result
The following output properties are available:
- arn String
- Property Map
Supporting Types
SchedulingPolicyFairsharePolicy
- 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
- 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.