Version
- class aws_rfdk.deadline.Version(components)
Bases:
object
This class is reposonsible to do basic operations on version format.
- Parameters:
components (
Sequence
[Union
[int
,float
]]) –
Methods
- is_equal(version)
This method compares two version strings.
- Parameters:
version (
Version
) –- Return type:
bool
- Returns:
true if this version is equal to the provided version; false otherwise.
- is_greater_than(version)
This method compares two version strings.
- Parameters:
version (
Version
) –- Return type:
bool
- Returns:
true if this version is greater than the provided version; false if this version is less than or equal to the provided verison.
- is_less_than(version)
This method compares two version strings.
- Parameters:
version (
Version
) –- Return type:
bool
- Returns:
true if this version is less than the provided version; false if this version is greater than or equal to the provided verison.
- to_string()
The method returns the version components in dot separated string format.
- Return type:
str
Attributes
- MINIMUM_SECRETS_MANAGEMENT_VERSION = <aws_rfdk.deadline.Version object>
- MINIMUM_SUPPORTED_DEADLINE_VERSION = <aws_rfdk.deadline.Version object>
- MINIMUM_VERSION_USING_NEW_INSTALLBUILDER_LOG = <aws_rfdk.deadline.Version object>
- major_version
The major version number.
- Inheritdoc:
true
- minor_version
The minor version number.
- Inheritdoc:
true
- patch_version
The patch version number.
- Inheritdoc:
true
- release_version
The release version number.
- Inheritdoc:
true
- 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.
- Inheritdoc:
true
Static Methods