Skip to content

SDK doesn't accurately represent task types #99

@matt-sanders

Description

@matt-sanders

We've recently tried using the SDK to create tasks with some more advanced properties such as timeoutSeconds and pollTimeoutSeconds. These are not present in the SDK ( and aren't very obvious in the docs either ). It's required us to do something like:

const task = {
  ...simpleTask('someRef', 'someTask', {}),
  taskDefinition: {
    timeoutSeconds: 300,
    pollTimeoutSeconds: 300
  }
}

It'd be great if the SDK supported these options.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions