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 |
Creates an Aurora global database spread across multiple Amazon Web Services Regions. The global database contains a single primary cluster with read-write capability, and a read-only secondary cluster that receives data from the primary cluster through high-speed replication performed by the Aurora storage subsystem.
You can create a global database that is initially empty, and then add a primary cluster and a secondary cluster to it. Or you can specify an existing Aurora cluster during the create operation, and this cluster becomes the primary cluster of the global database.
This action only applies to Aurora DB clusters.
Synopsis
- data CreateGlobalCluster = CreateGlobalCluster' {}
- newCreateGlobalCluster :: CreateGlobalCluster
- createGlobalCluster_engineVersion :: Lens' CreateGlobalCluster (Maybe Text)
- createGlobalCluster_deletionProtection :: Lens' CreateGlobalCluster (Maybe Bool)
- createGlobalCluster_storageEncrypted :: Lens' CreateGlobalCluster (Maybe Bool)
- createGlobalCluster_sourceDBClusterIdentifier :: Lens' CreateGlobalCluster (Maybe Text)
- createGlobalCluster_globalClusterIdentifier :: Lens' CreateGlobalCluster (Maybe Text)
- createGlobalCluster_engine :: Lens' CreateGlobalCluster (Maybe Text)
- createGlobalCluster_databaseName :: Lens' CreateGlobalCluster (Maybe Text)
- data CreateGlobalClusterResponse = CreateGlobalClusterResponse' {}
- newCreateGlobalClusterResponse :: Int -> CreateGlobalClusterResponse
- createGlobalClusterResponse_globalCluster :: Lens' CreateGlobalClusterResponse (Maybe GlobalCluster)
- createGlobalClusterResponse_httpStatus :: Lens' CreateGlobalClusterResponse Int
Creating a Request
data CreateGlobalCluster Source #
See: newCreateGlobalCluster
smart constructor.
CreateGlobalCluster' | |
|
Instances
newCreateGlobalCluster :: CreateGlobalCluster Source #
Create a value of CreateGlobalCluster
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:engineVersion:CreateGlobalCluster'
, createGlobalCluster_engineVersion
- The engine version of the Aurora global database.
$sel:deletionProtection:CreateGlobalCluster'
, createGlobalCluster_deletionProtection
- The deletion protection setting for the new global database. The global
database can't be deleted when deletion protection is enabled.
$sel:storageEncrypted:CreateGlobalCluster'
, createGlobalCluster_storageEncrypted
- The storage encryption setting for the new global database cluster.
$sel:sourceDBClusterIdentifier:CreateGlobalCluster'
, createGlobalCluster_sourceDBClusterIdentifier
- The Amazon Resource Name (ARN) to use as the primary cluster of the
global database. This parameter is optional.
$sel:globalClusterIdentifier:CreateGlobalCluster'
, createGlobalCluster_globalClusterIdentifier
- The cluster identifier of the new global database cluster.
$sel:engine:CreateGlobalCluster'
, createGlobalCluster_engine
- The name of the database engine to be used for this DB cluster.
$sel:databaseName:CreateGlobalCluster'
, createGlobalCluster_databaseName
- The name for your database of up to 64 alpha-numeric characters. If you
do not provide a name, Amazon Aurora will not create a database in the
global database cluster you are creating.
Request Lenses
createGlobalCluster_engineVersion :: Lens' CreateGlobalCluster (Maybe Text) Source #
The engine version of the Aurora global database.
createGlobalCluster_deletionProtection :: Lens' CreateGlobalCluster (Maybe Bool) Source #
The deletion protection setting for the new global database. The global database can't be deleted when deletion protection is enabled.
createGlobalCluster_storageEncrypted :: Lens' CreateGlobalCluster (Maybe Bool) Source #
The storage encryption setting for the new global database cluster.
createGlobalCluster_sourceDBClusterIdentifier :: Lens' CreateGlobalCluster (Maybe Text) Source #
The Amazon Resource Name (ARN) to use as the primary cluster of the global database. This parameter is optional.
createGlobalCluster_globalClusterIdentifier :: Lens' CreateGlobalCluster (Maybe Text) Source #
The cluster identifier of the new global database cluster.
createGlobalCluster_engine :: Lens' CreateGlobalCluster (Maybe Text) Source #
The name of the database engine to be used for this DB cluster.
createGlobalCluster_databaseName :: Lens' CreateGlobalCluster (Maybe Text) Source #
The name for your database of up to 64 alpha-numeric characters. If you do not provide a name, Amazon Aurora will not create a database in the global database cluster you are creating.
Destructuring the Response
data CreateGlobalClusterResponse Source #
See: newCreateGlobalClusterResponse
smart constructor.
CreateGlobalClusterResponse' | |
|
Instances
newCreateGlobalClusterResponse Source #
Create a value of CreateGlobalClusterResponse
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:globalCluster:CreateGlobalClusterResponse'
, createGlobalClusterResponse_globalCluster
- Undocumented member.
$sel:httpStatus:CreateGlobalClusterResponse'
, createGlobalClusterResponse_httpStatus
- The response's http status code.
Response Lenses
createGlobalClusterResponse_globalCluster :: Lens' CreateGlobalClusterResponse (Maybe GlobalCluster) Source #
Undocumented member.
createGlobalClusterResponse_httpStatus :: Lens' CreateGlobalClusterResponse Int Source #
The response's http status code.