typed-aws
Version:
Helps you write AWS CloudFormation in TypeScript
71 lines (70 loc) • 3.19 kB
TypeScript
import { CfnResource, Resolvable } from '../../base';
export declare type SchedulingPolicy_Type = 'AWS::Batch::SchedulingPolicy';
export declare const SchedulingPolicy_Type = "AWS::Batch::SchedulingPolicy";
/**
* Resource Type schema for AWS::Batch::SchedulingPolicy {@link
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-batch-schedulingpolicy.html}
*/
export default function SchedulingPolicy(props: SchedulingPolicy_Properties): CfnResource<SchedulingPolicy_Properties>;
/**
* Resource Type schema for AWS::Batch::SchedulingPolicy {@link
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-batch-schedulingpolicy.html}
*/
export declare type SchedulingPolicy_Properties = {
/**
* {@link
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-batch-schedulingpolicy.html#cfn-batch-schedulingpolicy-name}
*/
Name?: Resolvable<string>;
Arn?: ResourceArn;
/**
* {@link
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-batch-schedulingpolicy.html#cfn-batch-schedulingpolicy-fairsharepolicy}
*/
FairsharePolicy?: FairsharePolicy;
/**
* {@link
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-batch-schedulingpolicy.html#cfn-batch-schedulingpolicy-tags}
*/
Tags?: {
[k: string]: Resolvable<string>;
};
};
export declare type ResourceArn = Resolvable<string>;
/**
* Fair Share Policy for the Job Queue. {@link
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-schedulingpolicy-fairsharepolicy.html}
*/
export declare type FairsharePolicy = {
/**
* {@link
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-schedulingpolicy-fairsharepolicy.html#cfn-batch-schedulingpolicy-fairsharepolicy-sharedecayseconds}
*/
ShareDecaySeconds?: Resolvable<number>;
/**
* {@link
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-schedulingpolicy-fairsharepolicy.html#cfn-batch-schedulingpolicy-fairsharepolicy-computereservation}
*/
ComputeReservation?: Resolvable<number>;
/**
* {@link
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-schedulingpolicy-fairsharepolicy.html#cfn-batch-schedulingpolicy-fairsharepolicy-sharedistribution}
*/
ShareDistribution?: ShareAttributes[];
};
/**
* {@link
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-schedulingpolicy-shareattributes.html}
*/
export declare type ShareAttributes = {
/**
* {@link
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-schedulingpolicy-shareattributes.html#cfn-batch-schedulingpolicy-shareattributes-shareidentifier}
*/
ShareIdentifier?: Resolvable<string>;
/**
* {@link
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-schedulingpolicy-shareattributes.html#cfn-batch-schedulingpolicy-shareattributes-weightfactor}
*/
WeightFactor?: Resolvable<number>;
};