pub struct ServerReplicationParameters {
pub encrypted: Option<bool>,
pub frequency: Option<i64>,
pub kms_key_id: Option<String>,
pub license_type: Option<String>,
pub number_of_recent_amis_to_keep: Option<i64>,
pub run_once: Option<bool>,
pub seed_time: Option<f64>,
}Expand description
Replication parameters for replicating a server.
Fields§
§encrypted: Option<bool>When true, the replication job produces encrypted AMIs. See also KmsKeyId below.
frequency: Option<i64>Frequency of creating replication jobs for the server.
kms_key_id: Option<String>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.
license_type: Option<String>License type for creating a replication job for the server.
number_of_recent_amis_to_keep: Option<i64>Number of recent AMIs to keep when creating a replication job for this server.
run_once: Option<bool>§
seed_time: Option<f64>Seed time for creating a replication job for the server.
Trait Implementations§
Source§impl Clone for ServerReplicationParameters
impl Clone for ServerReplicationParameters
Source§fn clone(&self) -> ServerReplicationParameters
fn clone(&self) -> ServerReplicationParameters
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ServerReplicationParameters
impl Debug for ServerReplicationParameters
Source§impl Default for ServerReplicationParameters
impl Default for ServerReplicationParameters
Source§fn default() -> ServerReplicationParameters
fn default() -> ServerReplicationParameters
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ServerReplicationParameters
impl<'de> Deserialize<'de> for ServerReplicationParameters
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl StructuralPartialEq for ServerReplicationParameters
Auto Trait Implementations§
impl Freeze for ServerReplicationParameters
impl RefUnwindSafe for ServerReplicationParameters
impl Send for ServerReplicationParameters
impl Sync for ServerReplicationParameters
impl Unpin for ServerReplicationParameters
impl UnwindSafe for ServerReplicationParameters
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more