IVersion

class aws_rfdk.deadline.IVersion(*args, **kwargs)

Bases: IReleaseVersion, Protocol

This interface represents a deadline version.

It contains the major, minor, and release numbers essential to identify a version. It also includes the S3 path of the installers.

The Deadline version tag consists of four numbers: Major.Minor.Release.Patch

Methods

is_less_than(other)

Returns whether this version is less than another version.

Parameters:

other (Version) – Other version to be compared.

Return type:

bool

linux_full_version_string()

Construct the full version string for the linux patch release referenced in this version object.

This is constructed by joining the major, minor, release, and patch versions by dots.

Return type:

str

Attributes

linux_installers

The Linux installers for this version.

Default:

No installers for Linux are provided.

major_version

The major version number.

minor_version

The minor version number.

release_version

The release version number.

version_string

A string representation of the version using the best available information at synthesis-time.

This value is not guaranteed to be resolved, and is intended for output to CDK users.