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",
}

Replication parameters for replicating a server.

Returned by:

Instance Attribute Summary collapse

Instance Attribute Details

#encryptedBoolean

When true, the replication job produces encrypted AMIs. See also KmsKeyId below.

Returns:

  • (Boolean)

    When true, the replication job produces encrypted AMIs.

#frequencyInteger

Frequency of creating replication jobs for the server.

Returns:

  • (Integer)

    Frequency of creating replication jobs for the server.

#kms_key_idString

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.

Returns:

  • (String)

    KMS key ID for replication jobs that produce encrypted AMIs.

#license_typeString

License type for creating a replication job for the server.

Possible values:

  • AWS
  • BYOL

Returns:

  • (String)

    License type for creating a replication job for the server.

#number_of_recent_amis_to_keepInteger

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

Returns:

  • (Integer)

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

#run_onceBoolean

Returns:

  • (Boolean)

#seed_timeTime

Seed time for creating a replication job for the server.

Returns:

  • (Time)

    Seed time for creating a replication job for the server.