NAME

Paws::SMS::CreateReplicationJob - Arguments for method CreateReplicationJob on Paws::SMS

DESCRIPTION

This class represents the parameters used for calling the method CreateReplicationJob on the AWS Server Migration Service service. Use the attributes of this class as arguments to method CreateReplicationJob.

You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to CreateReplicationJob.

SYNOPSIS

my $sms = Paws->service('SMS');
my $CreateReplicationJobResponse = $sms->CreateReplicationJob(
  SeedReplicationTime      => '1970-01-01T01:00:00',
  ServerId                 => 'MyServerId',
  Description              => 'MyDescription',         # OPTIONAL
  Encrypted                => 1,                       # OPTIONAL
  Frequency                => 1,                       # OPTIONAL
  KmsKeyId                 => 'MyKmsKeyId',            # OPTIONAL
  LicenseType              => 'AWS',                   # OPTIONAL
  NumberOfRecentAmisToKeep => 1,                       # OPTIONAL
  RoleName                 => 'MyRoleName',            # OPTIONAL
  RunOnce                  => 1,                       # OPTIONAL
);

# Results:
my $ReplicationJobId = $CreateReplicationJobResponse->ReplicationJobId;

# Returns a L<Paws::SMS::CreateReplicationJobResponse> object.

Values for attributes that are native types (Int, String, Float, etc) can passed as-is (scalar values). Values for complex Types (objects) can be passed as a HashRef. The keys and values of the hashref will be used to instance the underlying object. For the AWS API documentation, see https://docs.aws.amazon.com/goto/WebAPI/sms/CreateReplicationJob

ATTRIBUTES

Description => Str

The description of the replication job.

Encrypted => Bool

Indicates whether the replication job produces encrypted AMIs.

Frequency => Int

The time between consecutive replication runs, in hours.

KmsKeyId => Str

The ID of the KMS key for replication jobs that produce encrypted AMIs. This value can be any of the following:

  • KMS key ID

  • KMS key alias

  • ARN referring to the KMS key ID

  • ARN referring to the KMS key alias

If encrypted is true but a KMS key ID is not specified, the customer's default KMS key for Amazon EBS is used.

LicenseType => Str

The license type to be used for the AMI created by a successful replication run.

Valid values are: "AWS", "BYOL"

NumberOfRecentAmisToKeep => Int

The maximum number of SMS-created AMIs to retain. The oldest is deleted after the maximum number is reached and a new AMI is created.

RoleName => Str

The name of the IAM role to be used by the AWS SMS.

RunOnce => Bool

Indicates whether to run the replication job one time.

REQUIRED SeedReplicationTime => Str

The seed replication time.

REQUIRED ServerId => Str

The ID of the server.

SEE ALSO

This class forms part of Paws, documenting arguments for method CreateReplicationJob in Paws::SMS

BUGS and CONTRIBUTIONS

The source code is located here: https://github.com/pplu/aws-sdk-perl

Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues