models.aws_snapshot_manager_parameters module

class models.aws_snapshot_manager_parameters.AwsSnapshotManagerParameters(ami_creation_frequency=None, create_ami=None)[source]

Bases: object

Implementation of the ‘AwsSnapshotManagerParameters’ model.

Protection Job parameters applicable to ‘kAWSSnapshotManager’ Environment type. Specifies additional job parameters applicable for ‘kAWSSnapshotManager’ Environment type Protection Sources in a Protection Job.

Attributes:
ami_creation_frequency (int): Specifies 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 (bool): If true, creates an AMI after taking snapshots of

the instance. It should be set only while backing up EC2 instances. CreateAmi creates AMI for the protection job.

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.