libZSservicesZSamazonka-smsZSamazonka-sms
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.SMS.Types.ServerReplicationParameters

Description

 
Synopsis

Documentation

data ServerReplicationParameters Source #

The replication parameters for replicating a server.

See: newServerReplicationParameters smart constructor.

Constructors

ServerReplicationParameters' 

Fields

  • frequency :: Maybe Int

    The frequency of creating replication jobs for the server.

  • numberOfRecentAmisToKeep :: Maybe Int

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

  • seedTime :: Maybe POSIX

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

  • licenseType :: Maybe LicenseType

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

  • encrypted :: Maybe Bool

    Indicates whether the replication job produces encrypted AMIs.

  • kmsKeyId :: Maybe Text

    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.

  • runOnce :: Maybe Bool

    Indicates whether to run the replication job one time.

Instances

Instances details
Eq ServerReplicationParameters Source # 
Instance details

Defined in Amazonka.SMS.Types.ServerReplicationParameters

Read ServerReplicationParameters Source # 
Instance details

Defined in Amazonka.SMS.Types.ServerReplicationParameters

Show ServerReplicationParameters Source # 
Instance details

Defined in Amazonka.SMS.Types.ServerReplicationParameters

Generic ServerReplicationParameters Source # 
Instance details

Defined in Amazonka.SMS.Types.ServerReplicationParameters

Associated Types

type Rep ServerReplicationParameters :: Type -> Type #

NFData ServerReplicationParameters Source # 
Instance details

Defined in Amazonka.SMS.Types.ServerReplicationParameters

Hashable ServerReplicationParameters Source # 
Instance details

Defined in Amazonka.SMS.Types.ServerReplicationParameters

ToJSON ServerReplicationParameters Source # 
Instance details

Defined in Amazonka.SMS.Types.ServerReplicationParameters

FromJSON ServerReplicationParameters Source # 
Instance details

Defined in Amazonka.SMS.Types.ServerReplicationParameters

type Rep ServerReplicationParameters Source # 
Instance details

Defined in Amazonka.SMS.Types.ServerReplicationParameters

type Rep ServerReplicationParameters = D1 ('MetaData "ServerReplicationParameters" "Amazonka.SMS.Types.ServerReplicationParameters" "libZSservicesZSamazonka-smsZSamazonka-sms" 'False) (C1 ('MetaCons "ServerReplicationParameters'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "frequency") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: (S1 ('MetaSel ('Just "numberOfRecentAmisToKeep") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: S1 ('MetaSel ('Just "seedTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)))) :*: ((S1 ('MetaSel ('Just "licenseType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe LicenseType)) :*: S1 ('MetaSel ('Just "encrypted") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool))) :*: (S1 ('MetaSel ('Just "kmsKeyId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "runOnce") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool))))))

newServerReplicationParameters :: ServerReplicationParameters Source #

Create a value of ServerReplicationParameters with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:frequency:ServerReplicationParameters', serverReplicationParameters_frequency - The frequency of creating replication jobs for the server.

$sel:numberOfRecentAmisToKeep:ServerReplicationParameters', serverReplicationParameters_numberOfRecentAmisToKeep - The number of recent AMIs to keep when creating a replication job for this server.

$sel:seedTime:ServerReplicationParameters', serverReplicationParameters_seedTime - The seed time for creating a replication job for the server.

$sel:licenseType:ServerReplicationParameters', serverReplicationParameters_licenseType - The license type for creating a replication job for the server.

$sel:encrypted:ServerReplicationParameters', serverReplicationParameters_encrypted - Indicates whether the replication job produces encrypted AMIs.

$sel:kmsKeyId:ServerReplicationParameters', serverReplicationParameters_kmsKeyId - 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.

$sel:runOnce:ServerReplicationParameters', serverReplicationParameters_runOnce - Indicates whether to run the replication job one time.

serverReplicationParameters_frequency :: Lens' ServerReplicationParameters (Maybe Int) Source #

The frequency of creating replication jobs for the server.

serverReplicationParameters_numberOfRecentAmisToKeep :: Lens' ServerReplicationParameters (Maybe Int) Source #

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

serverReplicationParameters_seedTime :: Lens' ServerReplicationParameters (Maybe UTCTime) Source #

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

serverReplicationParameters_licenseType :: Lens' ServerReplicationParameters (Maybe LicenseType) Source #

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

serverReplicationParameters_encrypted :: Lens' ServerReplicationParameters (Maybe Bool) Source #

Indicates whether the replication job produces encrypted AMIs.

serverReplicationParameters_kmsKeyId :: Lens' ServerReplicationParameters (Maybe Text) Source #

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.

serverReplicationParameters_runOnce :: Lens' ServerReplicationParameters (Maybe Bool) Source #

Indicates whether to run the replication job one time.