AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Class: Aws::SMS::Types::ServerReplicationParameters

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing ServerReplicationParameters as input to an Aws::Client method, you can use a vanilla Hash:

{
  seed_time: Time.now,
  frequency: 1,
  run_once: false,
  license_type: "AWS", # accepts AWS, BYOL
  number_of_recent_amis_to_keep: 1,
  encrypted: false,
  kms_key_id: "KmsKeyId",
}

The replication parameters for replicating a server.

Returned by:

Instance Attribute Summary collapse

Instance Attribute Details

#encryptedBoolean

Indicates whether the replication job produces encrypted AMIs.

Returns:

  • (Boolean)

    Indicates whether the replication job produces encrypted AMIs.

#frequencyInteger

The frequency of creating replication jobs for the server.

Returns:

  • (Integer)

    The frequency of creating replication jobs for the server.

#kms_key_idString

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 enabled but a KMS key ID is not specified, the customer\'s default KMS key for Amazon EBS is used.

Returns:

  • (String)

    The ID of the KMS key for replication jobs that produce encrypted AMIs.

#license_typeString

The license type for creating a replication job for the server.

Possible values:

  • AWS
  • BYOL

Returns:

  • (String)

    The license type for creating a replication job for the server.

#number_of_recent_amis_to_keepInteger

The number of recent AMIs to keep when creating a replication job for this server.

Returns:

  • (Integer)

    The number of recent AMIs to keep when creating a replication job for this server.

#run_onceBoolean

Indicates whether to run the replication job one time.

Returns:

  • (Boolean)

    Indicates whether to run the replication job one time.

#seed_timeTime

The seed time for creating a replication job for the server.

Returns:

  • (Time)

    The seed time for creating a replication job for the server.