models.aws_snapshot_manager_params module

class models.aws_snapshot_manager_params.AWSSnapshotManagerParams(ami_creation_frequency=None, create_ami_for_run=None, should_create_ami=None)[source]

Bases: object

Implementation of the ‘AWSSnapshotManagerParams’ model.

TODO: type model description here.

Attributes:
ami_creation_frequency (int): The frequency of AMI creation. This

should be set if the option to create AMI is set. A value of n creates an AMI from the snapshots after every n runs. eg. n = 2 implies every alternate backup run starting from the first will create an AMI.

create_ami_for_run (bool): Whether we need to create an AMI for this

run.

should_create_ami (bool): Whether we need to create an AMI after

taking snapshots of the instance.

classmethod from_dictionary(dictionary)[source]

Creates an instance of this model from a dictionary

Args:

dictionary (dictionary): A dictionary representation of the object as obtained from the deserialization of the server’s response. The keys MUST match property names in the API description.

Returns:

object: An instance of this structure class.