class Aws::SMS::Types::CreateReplicationJobRequest
@note When making an API call, you may pass CreateReplicationJobRequest
data as a hash: { server_id: "ServerId", # required seed_replication_time: Time.now, # required frequency: 1, run_once: false, license_type: "AWS", # accepts AWS, BYOL role_name: "RoleName", description: "Description", number_of_recent_amis_to_keep: 1, encrypted: false, kms_key_id: "KmsKeyId", }
@!attribute [rw] server_id
The ID of the server. @return [String]
@!attribute [rw] seed_replication_time
The seed replication time. @return [Time]
@!attribute [rw] frequency
The time between consecutive replication runs, in hours. @return [Integer]
@!attribute [rw] run_once
Indicates whether to run the replication job one time. @return [Boolean]
@!attribute [rw] license_type
The license type to be used for the AMI created by a successful replication run. @return [String]
@!attribute [rw] role_name
The name of the IAM role to be used by the AWS SMS. @return [String]
@!attribute [rw] description
The description of the replication job. @return [String]
@!attribute [rw] number_of_recent_amis_to_keep
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. @return [Integer]
@!attribute [rw] encrypted
Indicates whether the replication job produces encrypted AMIs. @return [Boolean]
@!attribute [rw] kms_key_id
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. @return [String]
@see docs.aws.amazon.com/goto/WebAPI/sms-2016-10-24/CreateReplicationJobRequest AWS API Documentation
Constants
- SENSITIVE