Copyright | (c) 2013-2016 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Creates a new DB cluster parameter group.
Parameters in a DB cluster parameter group apply to all of the instances in a DB cluster.
A DB cluster parameter group is initially created with the default parameters for the database engine used by instances in the DB cluster. To provide custom values for any of the parameters, you must modify the group after creating it using ModifyDBClusterParameterGroup
. Once you've created a DB cluster parameter group, you need to associate it with your DB cluster using ModifyDBCluster
. When you associate a new DB cluster parameter group with a running DB cluster, you need to reboot the DB instances in the DB cluster without failover for the new DB cluster parameter group and associated settings to take effect.
Important: After you create a DB cluster parameter group, you should wait at least 5 minutes before creating your first DB cluster that uses that DB cluster parameter group as the default parameter group. This allows Amazon RDS to fully complete the create action before the DB cluster parameter group is used as the default for a new DB cluster. This is especially important for parameters that are critical when creating the default database for a DB cluster, such as the character set for the default database defined by the character_set_database
parameter. You can use the Parameter Groups option of the Amazon RDS console or the DescribeDBClusterParameters
command to verify that your DB cluster parameter group has been created or modified.
For more information on Amazon Aurora, see Aurora on Amazon RDS in the Amazon RDS User Guide.
- createDBClusterParameterGroup :: Text -> Text -> Text -> CreateDBClusterParameterGroup
- data CreateDBClusterParameterGroup
- cdcpgTags :: Lens' CreateDBClusterParameterGroup [Tag]
- cdcpgDBClusterParameterGroupName :: Lens' CreateDBClusterParameterGroup Text
- cdcpgDBParameterGroupFamily :: Lens' CreateDBClusterParameterGroup Text
- cdcpgDescription :: Lens' CreateDBClusterParameterGroup Text
- createDBClusterParameterGroupResponse :: Int -> CreateDBClusterParameterGroupResponse
- data CreateDBClusterParameterGroupResponse
- cdbcpgrsDBClusterParameterGroup :: Lens' CreateDBClusterParameterGroupResponse (Maybe DBClusterParameterGroup)
- cdbcpgrsResponseStatus :: Lens' CreateDBClusterParameterGroupResponse Int
Creating a Request
createDBClusterParameterGroup Source #
:: Text | |
-> Text | |
-> Text | |
-> CreateDBClusterParameterGroup |
Creates a value of CreateDBClusterParameterGroup
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
cdcpgTags
- Undocumented member.cdcpgDBClusterParameterGroupName
- The name of the DB cluster parameter group. Constraints: * Must be 1 to 255 alphanumeric characters * First character must be a letter * Cannot end with a hyphen or contain two consecutive hyphenscdcpgDBParameterGroupFamily
- The DB cluster parameter group family name. A DB cluster parameter group can be associated with one and only one DB cluster parameter group family, and can be applied only to a DB cluster running a database engine and engine version compatible with that DB cluster parameter group family.cdcpgDescription
- The description for the DB cluster parameter group.
data CreateDBClusterParameterGroup Source #
See: createDBClusterParameterGroup
smart constructor.
Request Lenses
cdcpgDBClusterParameterGroupName :: Lens' CreateDBClusterParameterGroup Text Source #
The name of the DB cluster parameter group. Constraints: * Must be 1 to 255 alphanumeric characters * First character must be a letter * Cannot end with a hyphen or contain two consecutive hyphens
cdcpgDBParameterGroupFamily :: Lens' CreateDBClusterParameterGroup Text Source #
The DB cluster parameter group family name. A DB cluster parameter group can be associated with one and only one DB cluster parameter group family, and can be applied only to a DB cluster running a database engine and engine version compatible with that DB cluster parameter group family.
cdcpgDescription :: Lens' CreateDBClusterParameterGroup Text Source #
The description for the DB cluster parameter group.
Destructuring the Response
createDBClusterParameterGroupResponse Source #
Creates a value of CreateDBClusterParameterGroupResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
cdbcpgrsDBClusterParameterGroup
- Undocumented member.cdbcpgrsResponseStatus
- -- | The response status code.
data CreateDBClusterParameterGroupResponse Source #
See: createDBClusterParameterGroupResponse
smart constructor.
Response Lenses
cdbcpgrsDBClusterParameterGroup :: Lens' CreateDBClusterParameterGroupResponse (Maybe DBClusterParameterGroup) Source #
Undocumented member.
cdbcpgrsResponseStatus :: Lens' CreateDBClusterParameterGroupResponse Int Source #
- - | The response status code.