Paws::SMS::CreateReplicationJob - Arguments for method CreateReplicationJob on Paws::SMS
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.
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
The description of the replication job.
When true, the replication job produces encrypted AMIs. See also KmsKeyId below.
KmsKeyId
The time between consecutive replication runs, in hours.
KMS key ID for replication jobs that produce encrypted AMIs. Can be any of the following:
KMS key ID
KMS key alias
ARN referring to KMS key ID
ARN referring to KMS key alias
If encrypted is true but a KMS key id is not specified, the customer's default KMS key for EBS is used.
The license type to be used for the AMI created by a successful replication run.
Valid values are: "AWS", "BYOL"
"AWS"
"BYOL"
The maximum number of SMS-created AMIs to retain. The oldest will be deleted once the maximum number is reached and a new AMI is created.
The name of the IAM role to be used by the AWS SMS.
The seed replication time.
The identifier of the server.
This class forms part of Paws, documenting arguments for method CreateReplicationJob in Paws::SMS
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
To install Paws::SDK::Config, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Paws::SDK::Config
CPAN shell
perl -MCPAN -e shell install Paws::SDK::Config
For more information on module installation, please visit the detailed CPAN module installation guide.