db_cluster_parameters
Creates, updates, deletes, gets or lists a db_cluster_parameters resource.
Overview
| Name | db_cluster_parameters |
| Type | Resource |
| Id | aws.neptune.db_cluster_parameters |
Fields
The following fields are returned by SELECT queries:
- describe_db_cluster_parameters
| Name | Datatype | Description |
|---|---|---|
allowed_values | string | Specifies the valid range of values for the parameter. |
apply_method | string | Indicates when to apply parameter updates. |
apply_type | string | Specifies the engine specific parameters type. |
data_type | string | Specifies the valid data type for the parameter. |
description | string | Provides a description of the parameter. |
is_modifiable | boolean | Indicates whether (true) or not (false) the parameter can be modified. Some parameters have security or operational implications that prevent them from being changed. |
minimum_engine_version | string | The earliest engine version to which the parameter can apply. |
parameter_name | string | Specifies the name of the parameter. |
parameter_value | string | Specifies the value of the parameter. |
source | string | Indicates the source of the parameter value. |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
describe_db_cluster_parameters | select | DBClusterParameterGroupName, region | Source, Filters, MaxRecords, Marker | Returns the detailed parameter list for a particular DB cluster parameter group. |
copy_db_cluster_parameter_group | exec | SourceDBClusterParameterGroupIdentifier, TargetDBClusterParameterGroupIdentifier, TargetDBClusterParameterGroupDescription, region | Tags | Copies the specified DB cluster parameter group. |
reset_db_cluster_parameter_group | exec | DBClusterParameterGroupName, region | ResetAllParameters, Parameters | Modifies the parameters of a DB cluster parameter group to the default value. To reset specific parameters submit a list of the following: ParameterName and ApplyMethod. To reset the entire DB cluster parameter group, specify the DBClusterParameterGroupName and ResetAllParameters parameters. When resetting the entire group, dynamic parameters are updated immediately and static parameters are set to pending-reboot to take effect on the next DB instance restart or RebootDBInstance request. You must call RebootDBInstance for every DB instance in your DB cluster that you want the updated static parameter to apply to. |
Parameters
Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.
| Name | Datatype | Description |
|---|---|---|
DBClusterParameterGroupName | string | The name of the DB cluster parameter group to reset. |
SourceDBClusterParameterGroupIdentifier | string | The identifier or Amazon Resource Name (ARN) for the source DB cluster parameter group. For information about creating an ARN, see Constructing an Amazon Resource Name (ARN). Constraints: Must specify a valid DB cluster parameter group. Must specify a valid DB cluster parameter group identifier, for example my-db-cluster-param-group, or a valid ARN. The source DB cluster parameter group must be in the same Amazon Region as the copy. Neptune does not support cross-Region copying of parameter groups. |
TargetDBClusterParameterGroupDescription | string | A description for the copied DB cluster parameter group. |
TargetDBClusterParameterGroupIdentifier | string | The identifier for the copied DB cluster parameter group. Constraints: Cannot be null, empty, or blank Must contain from 1 to 255 letters, numbers, or hyphens First character must be a letter Cannot end with a hyphen or contain two consecutive hyphens Example: my-cluster-param-group1 |
region | string | AWS region (default: us-east-1) |
Filters | array | This parameter is not currently supported. |
Marker | string | An optional pagination token provided by a previous DescribeDBClusterParameters request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords. |
MaxRecords | integer | The maximum number of records to include in the response. If more records exist than the specified MaxRecords value, a pagination token called a marker is included in the response so that the remaining results can be retrieved. Default: 100 Constraints: Minimum 20, maximum 100. |
Parameters | array | A list of parameter names in the DB cluster parameter group to reset to the default values. You can't use this parameter if the ResetAllParameters parameter is set to true. |
ResetAllParameters | boolean | A value that is set to true to reset all parameters in the DB cluster parameter group to their default values, and false otherwise. You can't use this parameter if there is a list of parameter names specified for the Parameters parameter. |
Source | string | A value that indicates to return only parameters for a specific source. Parameter sources can be engine, service, or customer. |
Tags | array | The tags to be assigned to the copied DB cluster parameter group. |
SELECT examples
- describe_db_cluster_parameters
Returns the detailed parameter list for a particular DB cluster parameter group.
SELECT
allowed_values,
apply_method,
apply_type,
data_type,
description,
is_modifiable,
minimum_engine_version,
parameter_name,
parameter_value,
source
FROM aws.neptune.db_cluster_parameters
WHERE DBClusterParameterGroupName = '{{ DBClusterParameterGroupName }}' -- required
AND region = '{{ region }}' -- required
AND Source = '{{ Source }}'
AND Filters = '{{ Filters }}'
AND MaxRecords = '{{ MaxRecords }}'
AND Marker = '{{ Marker }}'
;
Lifecycle Methods
- copy_db_cluster_parameter_group
- reset_db_cluster_parameter_group
Copies the specified DB cluster parameter group.
EXEC aws.neptune.db_cluster_parameters.copy_db_cluster_parameter_group
@SourceDBClusterParameterGroupIdentifier='{{ SourceDBClusterParameterGroupIdentifier }}' --required,
@TargetDBClusterParameterGroupIdentifier='{{ TargetDBClusterParameterGroupIdentifier }}' --required,
@TargetDBClusterParameterGroupDescription='{{ TargetDBClusterParameterGroupDescription }}' --required,
@region='{{ region }}' --required,
@Tags='{{ Tags }}'
;
Modifies the parameters of a DB cluster parameter group to the default value. To reset specific parameters submit a list of the following: ParameterName and ApplyMethod. To reset the entire DB cluster parameter group, specify the DBClusterParameterGroupName and ResetAllParameters parameters. When resetting the entire group, dynamic parameters are updated immediately and static parameters are set to pending-reboot to take effect on the next DB instance restart or RebootDBInstance request. You must call RebootDBInstance for every DB instance in your DB cluster that you want the updated static parameter to apply to.
EXEC aws.neptune.db_cluster_parameters.reset_db_cluster_parameter_group
@DBClusterParameterGroupName='{{ DBClusterParameterGroupName }}' --required,
@region='{{ region }}' --required,
@ResetAllParameters={{ ResetAllParameters }},
@Parameters='{{ Parameters }}'
;