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

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-sms/lib/aws-sdk-sms/types.rb

Overview

Note:

When making an API call, you may pass ServerReplicationParameters data as a 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.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#encryptedBoolean

Indicates whether the replication job produces encrypted AMIs.

Returns:

  • (Boolean)


2485
2486
2487
2488
2489
2490
2491
2492
2493
2494
2495
# File 'gems/aws-sdk-sms/lib/aws-sdk-sms/types.rb', line 2485

class ServerReplicationParameters < Struct.new(
  :seed_time,
  :frequency,
  :run_once,
  :license_type,
  :number_of_recent_amis_to_keep,
  :encrypted,
  :kms_key_id)
  SENSITIVE = []
  include Aws::Structure
end

#frequencyInteger

The frequency of creating replication jobs for the server.

Returns:

  • (Integer)


2485
2486
2487
2488
2489
2490
2491
2492
2493
2494
2495
# File 'gems/aws-sdk-sms/lib/aws-sdk-sms/types.rb', line 2485

class ServerReplicationParameters < Struct.new(
  :seed_time,
  :frequency,
  :run_once,
  :license_type,
  :number_of_recent_amis_to_keep,
  :encrypted,
  :kms_key_id)
  SENSITIVE = []
  include Aws::Structure
end

#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)


2485
2486
2487
2488
2489
2490
2491
2492
2493
2494
2495
# File 'gems/aws-sdk-sms/lib/aws-sdk-sms/types.rb', line 2485

class ServerReplicationParameters < Struct.new(
  :seed_time,
  :frequency,
  :run_once,
  :license_type,
  :number_of_recent_amis_to_keep,
  :encrypted,
  :kms_key_id)
  SENSITIVE = []
  include Aws::Structure
end

#license_typeString

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

Returns:

  • (String)


2485
2486
2487
2488
2489
2490
2491
2492
2493
2494
2495
# File 'gems/aws-sdk-sms/lib/aws-sdk-sms/types.rb', line 2485

class ServerReplicationParameters < Struct.new(
  :seed_time,
  :frequency,
  :run_once,
  :license_type,
  :number_of_recent_amis_to_keep,
  :encrypted,
  :kms_key_id)
  SENSITIVE = []
  include Aws::Structure
end

#number_of_recent_amis_to_keepInteger

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

Returns:

  • (Integer)


2485
2486
2487
2488
2489
2490
2491
2492
2493
2494
2495
# File 'gems/aws-sdk-sms/lib/aws-sdk-sms/types.rb', line 2485

class ServerReplicationParameters < Struct.new(
  :seed_time,
  :frequency,
  :run_once,
  :license_type,
  :number_of_recent_amis_to_keep,
  :encrypted,
  :kms_key_id)
  SENSITIVE = []
  include Aws::Structure
end

#run_onceBoolean

Indicates whether to run the replication job one time.

Returns:

  • (Boolean)


2485
2486
2487
2488
2489
2490
2491
2492
2493
2494
2495
# File 'gems/aws-sdk-sms/lib/aws-sdk-sms/types.rb', line 2485

class ServerReplicationParameters < Struct.new(
  :seed_time,
  :frequency,
  :run_once,
  :license_type,
  :number_of_recent_amis_to_keep,
  :encrypted,
  :kms_key_id)
  SENSITIVE = []
  include Aws::Structure
end

#seed_timeTime

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

Returns:

  • (Time)


2485
2486
2487
2488
2489
2490
2491
2492
2493
2494
2495
# File 'gems/aws-sdk-sms/lib/aws-sdk-sms/types.rb', line 2485

class ServerReplicationParameters < Struct.new(
  :seed_time,
  :frequency,
  :run_once,
  :license_type,
  :number_of_recent_amis_to_keep,
  :encrypted,
  :kms_key_id)
  SENSITIVE = []
  include Aws::Structure
end