/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Represents the input to CreateDBCluster.See Also:
AWS
* API Reference
A list of Amazon EC2 Availability Zones that instances in the cluster can be * created in.
*/ inline const Aws::VectorA list of Amazon EC2 Availability Zones that instances in the cluster can be * created in.
*/ inline bool AvailabilityZonesHasBeenSet() const { return m_availabilityZonesHasBeenSet; } /** *A list of Amazon EC2 Availability Zones that instances in the cluster can be * created in.
*/ inline void SetAvailabilityZones(const Aws::VectorA list of Amazon EC2 Availability Zones that instances in the cluster can be * created in.
*/ inline void SetAvailabilityZones(Aws::VectorA list of Amazon EC2 Availability Zones that instances in the cluster can be * created in.
*/ inline CreateDBClusterRequest& WithAvailabilityZones(const Aws::VectorA list of Amazon EC2 Availability Zones that instances in the cluster can be * created in.
*/ inline CreateDBClusterRequest& WithAvailabilityZones(Aws::VectorA list of Amazon EC2 Availability Zones that instances in the cluster can be * created in.
*/ inline CreateDBClusterRequest& AddAvailabilityZones(const Aws::String& value) { m_availabilityZonesHasBeenSet = true; m_availabilityZones.push_back(value); return *this; } /** *A list of Amazon EC2 Availability Zones that instances in the cluster can be * created in.
*/ inline CreateDBClusterRequest& AddAvailabilityZones(Aws::String&& value) { m_availabilityZonesHasBeenSet = true; m_availabilityZones.push_back(std::move(value)); return *this; } /** *A list of Amazon EC2 Availability Zones that instances in the cluster can be * created in.
*/ inline CreateDBClusterRequest& AddAvailabilityZones(const char* value) { m_availabilityZonesHasBeenSet = true; m_availabilityZones.push_back(value); return *this; } /** *The number of days for which automated backups are retained. You must specify * a minimum value of 1.
Default: 1
Constraints:
Must be a value from 1 to 35.
The number of days for which automated backups are retained. You must specify * a minimum value of 1.
Default: 1
Constraints:
Must be a value from 1 to 35.
The number of days for which automated backups are retained. You must specify * a minimum value of 1.
Default: 1
Constraints:
Must be a value from 1 to 35.
The number of days for which automated backups are retained. You must specify * a minimum value of 1.
Default: 1
Constraints:
Must be a value from 1 to 35.
The cluster identifier. This parameter is stored as a lowercase string.
*Constraints:
Must contain from 1 to 63 letters, numbers, or * hyphens.
The first character must be a letter.
Cannot end with a hyphen or contain two consecutive hyphens.
Example: my-cluster
The cluster identifier. This parameter is stored as a lowercase string.
*Constraints:
Must contain from 1 to 63 letters, numbers, or * hyphens.
The first character must be a letter.
Cannot end with a hyphen or contain two consecutive hyphens.
Example: my-cluster
The cluster identifier. This parameter is stored as a lowercase string.
*Constraints:
Must contain from 1 to 63 letters, numbers, or * hyphens.
The first character must be a letter.
Cannot end with a hyphen or contain two consecutive hyphens.
Example: my-cluster
The cluster identifier. This parameter is stored as a lowercase string.
*Constraints:
Must contain from 1 to 63 letters, numbers, or * hyphens.
The first character must be a letter.
Cannot end with a hyphen or contain two consecutive hyphens.
Example: my-cluster
The cluster identifier. This parameter is stored as a lowercase string.
*Constraints:
Must contain from 1 to 63 letters, numbers, or * hyphens.
The first character must be a letter.
Cannot end with a hyphen or contain two consecutive hyphens.
Example: my-cluster
The cluster identifier. This parameter is stored as a lowercase string.
*Constraints:
Must contain from 1 to 63 letters, numbers, or * hyphens.
The first character must be a letter.
Cannot end with a hyphen or contain two consecutive hyphens.
Example: my-cluster
The cluster identifier. This parameter is stored as a lowercase string.
*Constraints:
Must contain from 1 to 63 letters, numbers, or * hyphens.
The first character must be a letter.
Cannot end with a hyphen or contain two consecutive hyphens.
Example: my-cluster
The cluster identifier. This parameter is stored as a lowercase string.
*Constraints:
Must contain from 1 to 63 letters, numbers, or * hyphens.
The first character must be a letter.
Cannot end with a hyphen or contain two consecutive hyphens.
Example: my-cluster
The name of the cluster parameter group to associate with this cluster.
*/ inline const Aws::String& GetDBClusterParameterGroupName() const{ return m_dBClusterParameterGroupName; } /** *The name of the cluster parameter group to associate with this cluster.
*/ inline bool DBClusterParameterGroupNameHasBeenSet() const { return m_dBClusterParameterGroupNameHasBeenSet; } /** *The name of the cluster parameter group to associate with this cluster.
*/ inline void SetDBClusterParameterGroupName(const Aws::String& value) { m_dBClusterParameterGroupNameHasBeenSet = true; m_dBClusterParameterGroupName = value; } /** *The name of the cluster parameter group to associate with this cluster.
*/ inline void SetDBClusterParameterGroupName(Aws::String&& value) { m_dBClusterParameterGroupNameHasBeenSet = true; m_dBClusterParameterGroupName = std::move(value); } /** *The name of the cluster parameter group to associate with this cluster.
*/ inline void SetDBClusterParameterGroupName(const char* value) { m_dBClusterParameterGroupNameHasBeenSet = true; m_dBClusterParameterGroupName.assign(value); } /** *The name of the cluster parameter group to associate with this cluster.
*/ inline CreateDBClusterRequest& WithDBClusterParameterGroupName(const Aws::String& value) { SetDBClusterParameterGroupName(value); return *this;} /** *The name of the cluster parameter group to associate with this cluster.
*/ inline CreateDBClusterRequest& WithDBClusterParameterGroupName(Aws::String&& value) { SetDBClusterParameterGroupName(std::move(value)); return *this;} /** *The name of the cluster parameter group to associate with this cluster.
*/ inline CreateDBClusterRequest& WithDBClusterParameterGroupName(const char* value) { SetDBClusterParameterGroupName(value); return *this;} /** *A list of EC2 VPC security groups to associate with this cluster.
*/ inline const Aws::VectorA list of EC2 VPC security groups to associate with this cluster.
*/ inline bool VpcSecurityGroupIdsHasBeenSet() const { return m_vpcSecurityGroupIdsHasBeenSet; } /** *A list of EC2 VPC security groups to associate with this cluster.
*/ inline void SetVpcSecurityGroupIds(const Aws::VectorA list of EC2 VPC security groups to associate with this cluster.
*/ inline void SetVpcSecurityGroupIds(Aws::VectorA list of EC2 VPC security groups to associate with this cluster.
*/ inline CreateDBClusterRequest& WithVpcSecurityGroupIds(const Aws::VectorA list of EC2 VPC security groups to associate with this cluster.
*/ inline CreateDBClusterRequest& WithVpcSecurityGroupIds(Aws::VectorA list of EC2 VPC security groups to associate with this cluster.
*/ inline CreateDBClusterRequest& AddVpcSecurityGroupIds(const Aws::String& value) { m_vpcSecurityGroupIdsHasBeenSet = true; m_vpcSecurityGroupIds.push_back(value); return *this; } /** *A list of EC2 VPC security groups to associate with this cluster.
*/ inline CreateDBClusterRequest& AddVpcSecurityGroupIds(Aws::String&& value) { m_vpcSecurityGroupIdsHasBeenSet = true; m_vpcSecurityGroupIds.push_back(std::move(value)); return *this; } /** *A list of EC2 VPC security groups to associate with this cluster.
*/ inline CreateDBClusterRequest& AddVpcSecurityGroupIds(const char* value) { m_vpcSecurityGroupIdsHasBeenSet = true; m_vpcSecurityGroupIds.push_back(value); return *this; } /** *A subnet group to associate with this cluster.
Constraints: Must match
* the name of an existing DBSubnetGroup. Must not be default.
Example: mySubnetgroup
A subnet group to associate with this cluster.
Constraints: Must match
* the name of an existing DBSubnetGroup. Must not be default.
Example: mySubnetgroup
A subnet group to associate with this cluster.
Constraints: Must match
* the name of an existing DBSubnetGroup. Must not be default.
Example: mySubnetgroup
A subnet group to associate with this cluster.
Constraints: Must match
* the name of an existing DBSubnetGroup. Must not be default.
Example: mySubnetgroup
A subnet group to associate with this cluster.
Constraints: Must match
* the name of an existing DBSubnetGroup. Must not be default.
Example: mySubnetgroup
A subnet group to associate with this cluster.
Constraints: Must match
* the name of an existing DBSubnetGroup. Must not be default.
Example: mySubnetgroup
A subnet group to associate with this cluster.
Constraints: Must match
* the name of an existing DBSubnetGroup. Must not be default.
Example: mySubnetgroup
A subnet group to associate with this cluster.
Constraints: Must match
* the name of an existing DBSubnetGroup. Must not be default.
Example: mySubnetgroup
The name of the database engine to be used for this cluster.
Valid
* values: docdb
The name of the database engine to be used for this cluster.
Valid
* values: docdb
The name of the database engine to be used for this cluster.
Valid
* values: docdb
The name of the database engine to be used for this cluster.
Valid
* values: docdb
The name of the database engine to be used for this cluster.
Valid
* values: docdb
The name of the database engine to be used for this cluster.
Valid
* values: docdb
The name of the database engine to be used for this cluster.
Valid
* values: docdb
The name of the database engine to be used for this cluster.
Valid
* values: docdb
The version number of the database engine to use.
*/ inline const Aws::String& GetEngineVersion() const{ return m_engineVersion; } /** *The version number of the database engine to use.
*/ inline bool EngineVersionHasBeenSet() const { return m_engineVersionHasBeenSet; } /** *The version number of the database engine to use.
*/ inline void SetEngineVersion(const Aws::String& value) { m_engineVersionHasBeenSet = true; m_engineVersion = value; } /** *The version number of the database engine to use.
*/ inline void SetEngineVersion(Aws::String&& value) { m_engineVersionHasBeenSet = true; m_engineVersion = std::move(value); } /** *The version number of the database engine to use.
*/ inline void SetEngineVersion(const char* value) { m_engineVersionHasBeenSet = true; m_engineVersion.assign(value); } /** *The version number of the database engine to use.
*/ inline CreateDBClusterRequest& WithEngineVersion(const Aws::String& value) { SetEngineVersion(value); return *this;} /** *The version number of the database engine to use.
*/ inline CreateDBClusterRequest& WithEngineVersion(Aws::String&& value) { SetEngineVersion(std::move(value)); return *this;} /** *The version number of the database engine to use.
*/ inline CreateDBClusterRequest& WithEngineVersion(const char* value) { SetEngineVersion(value); return *this;} /** *The port number on which the instances in the cluster accept connections.
*/ inline int GetPort() const{ return m_port; } /** *The port number on which the instances in the cluster accept connections.
*/ inline bool PortHasBeenSet() const { return m_portHasBeenSet; } /** *The port number on which the instances in the cluster accept connections.
*/ inline void SetPort(int value) { m_portHasBeenSet = true; m_port = value; } /** *The port number on which the instances in the cluster accept connections.
*/ inline CreateDBClusterRequest& WithPort(int value) { SetPort(value); return *this;} /** *The name of the master user for the cluster.
Constraints:
Must be from 1 to 63 letters or numbers.
The first * character must be a letter.
Cannot be a reserved word for the * chosen database engine.
The name of the master user for the cluster.
Constraints:
Must be from 1 to 63 letters or numbers.
The first * character must be a letter.
Cannot be a reserved word for the * chosen database engine.
The name of the master user for the cluster.
Constraints:
Must be from 1 to 63 letters or numbers.
The first * character must be a letter.
Cannot be a reserved word for the * chosen database engine.
The name of the master user for the cluster.
Constraints:
Must be from 1 to 63 letters or numbers.
The first * character must be a letter.
Cannot be a reserved word for the * chosen database engine.
The name of the master user for the cluster.
Constraints:
Must be from 1 to 63 letters or numbers.
The first * character must be a letter.
Cannot be a reserved word for the * chosen database engine.
The name of the master user for the cluster.
Constraints:
Must be from 1 to 63 letters or numbers.
The first * character must be a letter.
Cannot be a reserved word for the * chosen database engine.
The name of the master user for the cluster.
Constraints:
Must be from 1 to 63 letters or numbers.
The first * character must be a letter.
Cannot be a reserved word for the * chosen database engine.
The name of the master user for the cluster.
Constraints:
Must be from 1 to 63 letters or numbers.
The first * character must be a letter.
Cannot be a reserved word for the * chosen database engine.
The password for the master database user. This password can contain any * printable ASCII character except forward slash (/), double quote ("), or the * "at" symbol (@).
Constraints: Must contain from 8 to 100 characters.
*/ inline const Aws::String& GetMasterUserPassword() const{ return m_masterUserPassword; } /** *The password for the master database user. This password can contain any * printable ASCII character except forward slash (/), double quote ("), or the * "at" symbol (@).
Constraints: Must contain from 8 to 100 characters.
*/ inline bool MasterUserPasswordHasBeenSet() const { return m_masterUserPasswordHasBeenSet; } /** *The password for the master database user. This password can contain any * printable ASCII character except forward slash (/), double quote ("), or the * "at" symbol (@).
Constraints: Must contain from 8 to 100 characters.
*/ inline void SetMasterUserPassword(const Aws::String& value) { m_masterUserPasswordHasBeenSet = true; m_masterUserPassword = value; } /** *The password for the master database user. This password can contain any * printable ASCII character except forward slash (/), double quote ("), or the * "at" symbol (@).
Constraints: Must contain from 8 to 100 characters.
*/ inline void SetMasterUserPassword(Aws::String&& value) { m_masterUserPasswordHasBeenSet = true; m_masterUserPassword = std::move(value); } /** *The password for the master database user. This password can contain any * printable ASCII character except forward slash (/), double quote ("), or the * "at" symbol (@).
Constraints: Must contain from 8 to 100 characters.
*/ inline void SetMasterUserPassword(const char* value) { m_masterUserPasswordHasBeenSet = true; m_masterUserPassword.assign(value); } /** *The password for the master database user. This password can contain any * printable ASCII character except forward slash (/), double quote ("), or the * "at" symbol (@).
Constraints: Must contain from 8 to 100 characters.
*/ inline CreateDBClusterRequest& WithMasterUserPassword(const Aws::String& value) { SetMasterUserPassword(value); return *this;} /** *The password for the master database user. This password can contain any * printable ASCII character except forward slash (/), double quote ("), or the * "at" symbol (@).
Constraints: Must contain from 8 to 100 characters.
*/ inline CreateDBClusterRequest& WithMasterUserPassword(Aws::String&& value) { SetMasterUserPassword(std::move(value)); return *this;} /** *The password for the master database user. This password can contain any * printable ASCII character except forward slash (/), double quote ("), or the * "at" symbol (@).
Constraints: Must contain from 8 to 100 characters.
*/ inline CreateDBClusterRequest& WithMasterUserPassword(const char* value) { SetMasterUserPassword(value); return *this;} /** *The daily time range during which automated backups are created if automated
* backups are enabled using the BackupRetentionPeriod parameter.
The default is a 30-minute window selected at random from an 8-hour block of * time for each AWS Region.
Constraints:
Must be in the
* format hh24:mi-hh24:mi.
Must be in Universal * Coordinated Time (UTC).
Must not conflict with the preferred * maintenance window.
Must be at least 30 minutes.
The daily time range during which automated backups are created if automated
* backups are enabled using the BackupRetentionPeriod parameter.
The default is a 30-minute window selected at random from an 8-hour block of * time for each AWS Region.
Constraints:
Must be in the
* format hh24:mi-hh24:mi.
Must be in Universal * Coordinated Time (UTC).
Must not conflict with the preferred * maintenance window.
Must be at least 30 minutes.
The daily time range during which automated backups are created if automated
* backups are enabled using the BackupRetentionPeriod parameter.
The default is a 30-minute window selected at random from an 8-hour block of * time for each AWS Region.
Constraints:
Must be in the
* format hh24:mi-hh24:mi.
Must be in Universal * Coordinated Time (UTC).
Must not conflict with the preferred * maintenance window.
Must be at least 30 minutes.
The daily time range during which automated backups are created if automated
* backups are enabled using the BackupRetentionPeriod parameter.
The default is a 30-minute window selected at random from an 8-hour block of * time for each AWS Region.
Constraints:
Must be in the
* format hh24:mi-hh24:mi.
Must be in Universal * Coordinated Time (UTC).
Must not conflict with the preferred * maintenance window.
Must be at least 30 minutes.
The daily time range during which automated backups are created if automated
* backups are enabled using the BackupRetentionPeriod parameter.
The default is a 30-minute window selected at random from an 8-hour block of * time for each AWS Region.
Constraints:
Must be in the
* format hh24:mi-hh24:mi.
Must be in Universal * Coordinated Time (UTC).
Must not conflict with the preferred * maintenance window.
Must be at least 30 minutes.
The daily time range during which automated backups are created if automated
* backups are enabled using the BackupRetentionPeriod parameter.
The default is a 30-minute window selected at random from an 8-hour block of * time for each AWS Region.
Constraints:
Must be in the
* format hh24:mi-hh24:mi.
Must be in Universal * Coordinated Time (UTC).
Must not conflict with the preferred * maintenance window.
Must be at least 30 minutes.
The daily time range during which automated backups are created if automated
* backups are enabled using the BackupRetentionPeriod parameter.
The default is a 30-minute window selected at random from an 8-hour block of * time for each AWS Region.
Constraints:
Must be in the
* format hh24:mi-hh24:mi.
Must be in Universal * Coordinated Time (UTC).
Must not conflict with the preferred * maintenance window.
Must be at least 30 minutes.
The daily time range during which automated backups are created if automated
* backups are enabled using the BackupRetentionPeriod parameter.
The default is a 30-minute window selected at random from an 8-hour block of * time for each AWS Region.
Constraints:
Must be in the
* format hh24:mi-hh24:mi.
Must be in Universal * Coordinated Time (UTC).
Must not conflict with the preferred * maintenance window.
Must be at least 30 minutes.
The weekly time range during which system maintenance can occur, in Universal * Coordinated Time (UTC).
Format: ddd:hh24:mi-ddd:hh24:mi
The default is a 30-minute window selected at random from an 8-hour block of * time for each AWS Region, occurring on a random day of the week.
Valid * days: Mon, Tue, Wed, Thu, Fri, Sat, Sun
Constraints: Minimum 30-minute * window.
*/ inline const Aws::String& GetPreferredMaintenanceWindow() const{ return m_preferredMaintenanceWindow; } /** *The weekly time range during which system maintenance can occur, in Universal * Coordinated Time (UTC).
Format: ddd:hh24:mi-ddd:hh24:mi
The default is a 30-minute window selected at random from an 8-hour block of * time for each AWS Region, occurring on a random day of the week.
Valid * days: Mon, Tue, Wed, Thu, Fri, Sat, Sun
Constraints: Minimum 30-minute * window.
*/ inline bool PreferredMaintenanceWindowHasBeenSet() const { return m_preferredMaintenanceWindowHasBeenSet; } /** *The weekly time range during which system maintenance can occur, in Universal * Coordinated Time (UTC).
Format: ddd:hh24:mi-ddd:hh24:mi
The default is a 30-minute window selected at random from an 8-hour block of * time for each AWS Region, occurring on a random day of the week.
Valid * days: Mon, Tue, Wed, Thu, Fri, Sat, Sun
Constraints: Minimum 30-minute * window.
*/ inline void SetPreferredMaintenanceWindow(const Aws::String& value) { m_preferredMaintenanceWindowHasBeenSet = true; m_preferredMaintenanceWindow = value; } /** *The weekly time range during which system maintenance can occur, in Universal * Coordinated Time (UTC).
Format: ddd:hh24:mi-ddd:hh24:mi
The default is a 30-minute window selected at random from an 8-hour block of * time for each AWS Region, occurring on a random day of the week.
Valid * days: Mon, Tue, Wed, Thu, Fri, Sat, Sun
Constraints: Minimum 30-minute * window.
*/ inline void SetPreferredMaintenanceWindow(Aws::String&& value) { m_preferredMaintenanceWindowHasBeenSet = true; m_preferredMaintenanceWindow = std::move(value); } /** *The weekly time range during which system maintenance can occur, in Universal * Coordinated Time (UTC).
Format: ddd:hh24:mi-ddd:hh24:mi
The default is a 30-minute window selected at random from an 8-hour block of * time for each AWS Region, occurring on a random day of the week.
Valid * days: Mon, Tue, Wed, Thu, Fri, Sat, Sun
Constraints: Minimum 30-minute * window.
*/ inline void SetPreferredMaintenanceWindow(const char* value) { m_preferredMaintenanceWindowHasBeenSet = true; m_preferredMaintenanceWindow.assign(value); } /** *The weekly time range during which system maintenance can occur, in Universal * Coordinated Time (UTC).
Format: ddd:hh24:mi-ddd:hh24:mi
The default is a 30-minute window selected at random from an 8-hour block of * time for each AWS Region, occurring on a random day of the week.
Valid * days: Mon, Tue, Wed, Thu, Fri, Sat, Sun
Constraints: Minimum 30-minute * window.
*/ inline CreateDBClusterRequest& WithPreferredMaintenanceWindow(const Aws::String& value) { SetPreferredMaintenanceWindow(value); return *this;} /** *The weekly time range during which system maintenance can occur, in Universal * Coordinated Time (UTC).
Format: ddd:hh24:mi-ddd:hh24:mi
The default is a 30-minute window selected at random from an 8-hour block of * time for each AWS Region, occurring on a random day of the week.
Valid * days: Mon, Tue, Wed, Thu, Fri, Sat, Sun
Constraints: Minimum 30-minute * window.
*/ inline CreateDBClusterRequest& WithPreferredMaintenanceWindow(Aws::String&& value) { SetPreferredMaintenanceWindow(std::move(value)); return *this;} /** *The weekly time range during which system maintenance can occur, in Universal * Coordinated Time (UTC).
Format: ddd:hh24:mi-ddd:hh24:mi
The default is a 30-minute window selected at random from an 8-hour block of * time for each AWS Region, occurring on a random day of the week.
Valid * days: Mon, Tue, Wed, Thu, Fri, Sat, Sun
Constraints: Minimum 30-minute * window.
*/ inline CreateDBClusterRequest& WithPreferredMaintenanceWindow(const char* value) { SetPreferredMaintenanceWindow(value); return *this;} /** *The tags to be assigned to the cluster.
*/ inline const Aws::VectorThe tags to be assigned to the cluster.
*/ inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; } /** *The tags to be assigned to the cluster.
*/ inline void SetTags(const Aws::VectorThe tags to be assigned to the cluster.
*/ inline void SetTags(Aws::VectorThe tags to be assigned to the cluster.
*/ inline CreateDBClusterRequest& WithTags(const Aws::VectorThe tags to be assigned to the cluster.
*/ inline CreateDBClusterRequest& WithTags(Aws::VectorThe tags to be assigned to the cluster.
*/ inline CreateDBClusterRequest& AddTags(const Tag& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; } /** *The tags to be assigned to the cluster.
*/ inline CreateDBClusterRequest& AddTags(Tag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; } /** *Specifies whether the cluster is encrypted.
*/ inline bool GetStorageEncrypted() const{ return m_storageEncrypted; } /** *Specifies whether the cluster is encrypted.
*/ inline bool StorageEncryptedHasBeenSet() const { return m_storageEncryptedHasBeenSet; } /** *Specifies whether the cluster is encrypted.
*/ inline void SetStorageEncrypted(bool value) { m_storageEncryptedHasBeenSet = true; m_storageEncrypted = value; } /** *Specifies whether the cluster is encrypted.
*/ inline CreateDBClusterRequest& WithStorageEncrypted(bool value) { SetStorageEncrypted(value); return *this;} /** *The AWS KMS key identifier for an encrypted cluster.
The AWS KMS key * identifier is the Amazon Resource Name (ARN) for the AWS KMS encryption key. If * you are creating a cluster using the same AWS account that owns the AWS KMS * encryption key that is used to encrypt the new cluster, you can use the AWS KMS * key alias instead of the ARN for the AWS KMS encryption key.
If an
* encryption key is not specified in KmsKeyId:
If
* ReplicationSourceIdentifier identifies an encrypted source, then
* Amazon DocumentDB uses the encryption key that is used to encrypt the source.
* Otherwise, Amazon DocumentDB uses your default encryption key.
If the StorageEncrypted parameter is true and
* ReplicationSourceIdentifier is not specified, Amazon DocumentDB
* uses your default encryption key.
AWS KMS creates the default * encryption key for your AWS account. Your AWS account has a different default * encryption key for each AWS Region.
If you create a replica of an
* encrypted cluster in another AWS Region, you must set KmsKeyId to a
* KMS key ID that is valid in the destination AWS Region. This key is used to
* encrypt the replica in that AWS Region.
The AWS KMS key identifier for an encrypted cluster.
The AWS KMS key * identifier is the Amazon Resource Name (ARN) for the AWS KMS encryption key. If * you are creating a cluster using the same AWS account that owns the AWS KMS * encryption key that is used to encrypt the new cluster, you can use the AWS KMS * key alias instead of the ARN for the AWS KMS encryption key.
If an
* encryption key is not specified in KmsKeyId:
If
* ReplicationSourceIdentifier identifies an encrypted source, then
* Amazon DocumentDB uses the encryption key that is used to encrypt the source.
* Otherwise, Amazon DocumentDB uses your default encryption key.
If the StorageEncrypted parameter is true and
* ReplicationSourceIdentifier is not specified, Amazon DocumentDB
* uses your default encryption key.
AWS KMS creates the default * encryption key for your AWS account. Your AWS account has a different default * encryption key for each AWS Region.
If you create a replica of an
* encrypted cluster in another AWS Region, you must set KmsKeyId to a
* KMS key ID that is valid in the destination AWS Region. This key is used to
* encrypt the replica in that AWS Region.
The AWS KMS key identifier for an encrypted cluster.
The AWS KMS key * identifier is the Amazon Resource Name (ARN) for the AWS KMS encryption key. If * you are creating a cluster using the same AWS account that owns the AWS KMS * encryption key that is used to encrypt the new cluster, you can use the AWS KMS * key alias instead of the ARN for the AWS KMS encryption key.
If an
* encryption key is not specified in KmsKeyId:
If
* ReplicationSourceIdentifier identifies an encrypted source, then
* Amazon DocumentDB uses the encryption key that is used to encrypt the source.
* Otherwise, Amazon DocumentDB uses your default encryption key.
If the StorageEncrypted parameter is true and
* ReplicationSourceIdentifier is not specified, Amazon DocumentDB
* uses your default encryption key.
AWS KMS creates the default * encryption key for your AWS account. Your AWS account has a different default * encryption key for each AWS Region.
If you create a replica of an
* encrypted cluster in another AWS Region, you must set KmsKeyId to a
* KMS key ID that is valid in the destination AWS Region. This key is used to
* encrypt the replica in that AWS Region.
The AWS KMS key identifier for an encrypted cluster.
The AWS KMS key * identifier is the Amazon Resource Name (ARN) for the AWS KMS encryption key. If * you are creating a cluster using the same AWS account that owns the AWS KMS * encryption key that is used to encrypt the new cluster, you can use the AWS KMS * key alias instead of the ARN for the AWS KMS encryption key.
If an
* encryption key is not specified in KmsKeyId:
If
* ReplicationSourceIdentifier identifies an encrypted source, then
* Amazon DocumentDB uses the encryption key that is used to encrypt the source.
* Otherwise, Amazon DocumentDB uses your default encryption key.
If the StorageEncrypted parameter is true and
* ReplicationSourceIdentifier is not specified, Amazon DocumentDB
* uses your default encryption key.
AWS KMS creates the default * encryption key for your AWS account. Your AWS account has a different default * encryption key for each AWS Region.
If you create a replica of an
* encrypted cluster in another AWS Region, you must set KmsKeyId to a
* KMS key ID that is valid in the destination AWS Region. This key is used to
* encrypt the replica in that AWS Region.
The AWS KMS key identifier for an encrypted cluster.
The AWS KMS key * identifier is the Amazon Resource Name (ARN) for the AWS KMS encryption key. If * you are creating a cluster using the same AWS account that owns the AWS KMS * encryption key that is used to encrypt the new cluster, you can use the AWS KMS * key alias instead of the ARN for the AWS KMS encryption key.
If an
* encryption key is not specified in KmsKeyId:
If
* ReplicationSourceIdentifier identifies an encrypted source, then
* Amazon DocumentDB uses the encryption key that is used to encrypt the source.
* Otherwise, Amazon DocumentDB uses your default encryption key.
If the StorageEncrypted parameter is true and
* ReplicationSourceIdentifier is not specified, Amazon DocumentDB
* uses your default encryption key.
AWS KMS creates the default * encryption key for your AWS account. Your AWS account has a different default * encryption key for each AWS Region.
If you create a replica of an
* encrypted cluster in another AWS Region, you must set KmsKeyId to a
* KMS key ID that is valid in the destination AWS Region. This key is used to
* encrypt the replica in that AWS Region.
The AWS KMS key identifier for an encrypted cluster.
The AWS KMS key * identifier is the Amazon Resource Name (ARN) for the AWS KMS encryption key. If * you are creating a cluster using the same AWS account that owns the AWS KMS * encryption key that is used to encrypt the new cluster, you can use the AWS KMS * key alias instead of the ARN for the AWS KMS encryption key.
If an
* encryption key is not specified in KmsKeyId:
If
* ReplicationSourceIdentifier identifies an encrypted source, then
* Amazon DocumentDB uses the encryption key that is used to encrypt the source.
* Otherwise, Amazon DocumentDB uses your default encryption key.
If the StorageEncrypted parameter is true and
* ReplicationSourceIdentifier is not specified, Amazon DocumentDB
* uses your default encryption key.
AWS KMS creates the default * encryption key for your AWS account. Your AWS account has a different default * encryption key for each AWS Region.
If you create a replica of an
* encrypted cluster in another AWS Region, you must set KmsKeyId to a
* KMS key ID that is valid in the destination AWS Region. This key is used to
* encrypt the replica in that AWS Region.
The AWS KMS key identifier for an encrypted cluster.
The AWS KMS key * identifier is the Amazon Resource Name (ARN) for the AWS KMS encryption key. If * you are creating a cluster using the same AWS account that owns the AWS KMS * encryption key that is used to encrypt the new cluster, you can use the AWS KMS * key alias instead of the ARN for the AWS KMS encryption key.
If an
* encryption key is not specified in KmsKeyId:
If
* ReplicationSourceIdentifier identifies an encrypted source, then
* Amazon DocumentDB uses the encryption key that is used to encrypt the source.
* Otherwise, Amazon DocumentDB uses your default encryption key.
If the StorageEncrypted parameter is true and
* ReplicationSourceIdentifier is not specified, Amazon DocumentDB
* uses your default encryption key.
AWS KMS creates the default * encryption key for your AWS account. Your AWS account has a different default * encryption key for each AWS Region.
If you create a replica of an
* encrypted cluster in another AWS Region, you must set KmsKeyId to a
* KMS key ID that is valid in the destination AWS Region. This key is used to
* encrypt the replica in that AWS Region.
The AWS KMS key identifier for an encrypted cluster.
The AWS KMS key * identifier is the Amazon Resource Name (ARN) for the AWS KMS encryption key. If * you are creating a cluster using the same AWS account that owns the AWS KMS * encryption key that is used to encrypt the new cluster, you can use the AWS KMS * key alias instead of the ARN for the AWS KMS encryption key.
If an
* encryption key is not specified in KmsKeyId:
If
* ReplicationSourceIdentifier identifies an encrypted source, then
* Amazon DocumentDB uses the encryption key that is used to encrypt the source.
* Otherwise, Amazon DocumentDB uses your default encryption key.
If the StorageEncrypted parameter is true and
* ReplicationSourceIdentifier is not specified, Amazon DocumentDB
* uses your default encryption key.
AWS KMS creates the default * encryption key for your AWS account. Your AWS account has a different default * encryption key for each AWS Region.
If you create a replica of an
* encrypted cluster in another AWS Region, you must set KmsKeyId to a
* KMS key ID that is valid in the destination AWS Region. This key is used to
* encrypt the replica in that AWS Region.
A list of log types that need to be enabled for exporting to Amazon * CloudWatch Logs.
*/ inline const Aws::VectorA list of log types that need to be enabled for exporting to Amazon * CloudWatch Logs.
*/ inline bool EnableCloudwatchLogsExportsHasBeenSet() const { return m_enableCloudwatchLogsExportsHasBeenSet; } /** *A list of log types that need to be enabled for exporting to Amazon * CloudWatch Logs.
*/ inline void SetEnableCloudwatchLogsExports(const Aws::VectorA list of log types that need to be enabled for exporting to Amazon * CloudWatch Logs.
*/ inline void SetEnableCloudwatchLogsExports(Aws::VectorA list of log types that need to be enabled for exporting to Amazon * CloudWatch Logs.
*/ inline CreateDBClusterRequest& WithEnableCloudwatchLogsExports(const Aws::VectorA list of log types that need to be enabled for exporting to Amazon * CloudWatch Logs.
*/ inline CreateDBClusterRequest& WithEnableCloudwatchLogsExports(Aws::VectorA list of log types that need to be enabled for exporting to Amazon * CloudWatch Logs.
*/ inline CreateDBClusterRequest& AddEnableCloudwatchLogsExports(const Aws::String& value) { m_enableCloudwatchLogsExportsHasBeenSet = true; m_enableCloudwatchLogsExports.push_back(value); return *this; } /** *A list of log types that need to be enabled for exporting to Amazon * CloudWatch Logs.
*/ inline CreateDBClusterRequest& AddEnableCloudwatchLogsExports(Aws::String&& value) { m_enableCloudwatchLogsExportsHasBeenSet = true; m_enableCloudwatchLogsExports.push_back(std::move(value)); return *this; } /** *A list of log types that need to be enabled for exporting to Amazon * CloudWatch Logs.
*/ inline CreateDBClusterRequest& AddEnableCloudwatchLogsExports(const char* value) { m_enableCloudwatchLogsExportsHasBeenSet = true; m_enableCloudwatchLogsExports.push_back(value); return *this; } /** *Specifies whether this cluster can be deleted. If
* DeletionProtection is enabled, the cluster cannot be deleted unless
* it is modified and DeletionProtection is disabled.
* DeletionProtection protects clusters from being accidentally
* deleted.
Specifies whether this cluster can be deleted. If
* DeletionProtection is enabled, the cluster cannot be deleted unless
* it is modified and DeletionProtection is disabled.
* DeletionProtection protects clusters from being accidentally
* deleted.
Specifies whether this cluster can be deleted. If
* DeletionProtection is enabled, the cluster cannot be deleted unless
* it is modified and DeletionProtection is disabled.
* DeletionProtection protects clusters from being accidentally
* deleted.
Specifies whether this cluster can be deleted. If
* DeletionProtection is enabled, the cluster cannot be deleted unless
* it is modified and DeletionProtection is disabled.
* DeletionProtection protects clusters from being accidentally
* deleted.