JobDefinition

public struct JobDefinition : AWSShape

Undocumented

  • Declaration

    Swift

    public static var _members: [AWSShapeMember]
  • An object with various properties specific to container-based jobs.

    Declaration

    Swift

    public let containerProperties: ContainerProperties?
  • The Amazon Resource Name (ARN) for the job definition.

    Declaration

    Swift

    public let jobDefinitionArn: String
  • The name of the job definition.

    Declaration

    Swift

    public let jobDefinitionName: String
  • An object with various properties specific to multi-node parallel jobs.

    Declaration

    Swift

    public let nodeProperties: NodeProperties?
  • Default parameters or parameter substitution placeholders that are set in the job definition. Parameters are specified as a key-value pair mapping. Parameters in a SubmitJob request override any corresponding parameter defaults from the job definition. For more information about specifying parameters, see Job Definition Parameters in the AWS Batch User Guide.

    Declaration

    Swift

    public let parameters: [String : String]?
  • The retry strategy to use for failed jobs that are submitted with this job definition.

    Declaration

    Swift

    public let retryStrategy: RetryStrategy?
  • The revision of the job definition.

    Declaration

    Swift

    public let revision: Int
  • The status of the job definition.

    Declaration

    Swift

    public let status: String?
  • The timeout configuration for jobs that are submitted with this job definition. You can specify a timeout duration after which AWS Batch terminates your jobs if they have not finished.

    Declaration

    Swift

    public let timeout: JobTimeout?
  • The type of job definition.

    Declaration

    Swift

    public let type: String
  • Undocumented

    Declaration

    Swift

    public init(containerProperties: ContainerProperties? = nil, jobDefinitionArn: String, jobDefinitionName: String, nodeProperties: NodeProperties? = nil, parameters: [String : String]? = nil, retryStrategy: RetryStrategy? = nil, revision: Int, status: String? = nil, timeout: JobTimeout? = nil, type: String)