Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Synopsis
- data ServerReplicationParameters = ServerReplicationParameters' {}
- newServerReplicationParameters :: ServerReplicationParameters
- serverReplicationParameters_frequency :: Lens' ServerReplicationParameters (Maybe Int)
- serverReplicationParameters_numberOfRecentAmisToKeep :: Lens' ServerReplicationParameters (Maybe Int)
- serverReplicationParameters_seedTime :: Lens' ServerReplicationParameters (Maybe UTCTime)
- serverReplicationParameters_licenseType :: Lens' ServerReplicationParameters (Maybe LicenseType)
- serverReplicationParameters_encrypted :: Lens' ServerReplicationParameters (Maybe Bool)
- serverReplicationParameters_kmsKeyId :: Lens' ServerReplicationParameters (Maybe Text)
- serverReplicationParameters_runOnce :: Lens' ServerReplicationParameters (Maybe Bool)
Documentation
data ServerReplicationParameters Source #
The replication parameters for replicating a server.
See: newServerReplicationParameters
smart constructor.
ServerReplicationParameters' | |
|
Instances
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.