|
NAMEPaws::SMS::CreateReplicationJob - Arguments for method CreateReplicationJob on Paws::SMS DESCRIPTIONThis 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> ATTRIBUTESDescription => StrThe description of the replication job. Encrypted => BoolIndicates whether the replication job produces encrypted AMIs. Frequency => IntThe time between consecutive replication runs, in hours. KmsKeyId => StrThe ID of the KMS key for replication jobs that produce encrypted AMIs. This value can be any of the following:
If encrypted is true but a KMS key ID is not specified, the customer's default KMS key for Amazon EBS is used. LicenseType => StrThe license type to be used for the AMI created by a successful replication run. Valid values are: "AWS", "BYOL" NumberOfRecentAmisToKeep => IntThe 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 => StrThe name of the IAM role to be used by the AWS SMS. RunOnce => BoolIndicates whether to run the replication job one time. REQUIRED SeedReplicationTime => StrThe seed replication time. REQUIRED ServerId => StrThe ID of the server. SEE ALSOThis class forms part of Paws, documenting arguments for method CreateReplicationJob in Paws::SMS BUGS and CONTRIBUTIONSThe source code is located here: <https://github.com/pplu/aws-sdk-perl> Please report bugs to: <https://github.com/pplu/aws-sdk-perl/issues>
|