# RelationalDatabaseParameterProperty

`RelationalDatabaseParameter` is a property of the [AWS::Lightsail::Database](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lightsail-database.html) resource. It describes parameters for the database.

- Source: Generated at build time
- Type last changed: v2.93.0 · 23 Aug 2023

## Example

TypeScript:

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_lightsail as lightsail } from 'aws-cdk-lib';
const relationalDatabaseParameterProperty: lightsail.CfnDatabase.RelationalDatabaseParameterProperty = {
  allowedValues: 'allowedValues',
  applyMethod: 'applyMethod',
  applyType: 'applyType',
  dataType: 'dataType',
  description: 'description',
  isModifiable: false,
  parameterName: 'parameterName',
  parameterValue: 'parameterValue',
};
```

Python:

```python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_lightsail as lightsail

relational_database_parameter_property = lightsail.CfnDatabase.RelationalDatabaseParameterProperty(
    allowed_values="allowedValues",
    apply_method="applyMethod",
    apply_type="applyType",
    data_type="dataType",
    description="description",
    is_modifiable=False,
    parameter_name="parameterName",
    parameter_value="parameterValue"
)
```

Java:

```java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.lightsail.*;

RelationalDatabaseParameterProperty relationalDatabaseParameterProperty = RelationalDatabaseParameterProperty.builder()
        .allowedValues("allowedValues")
        .applyMethod("applyMethod")
        .applyType("applyType")
        .dataType("dataType")
        .description("description")
        .isModifiable(false)
        .parameterName("parameterName")
        .parameterValue("parameterValue")
        .build();
```

C# / .NET:

```csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.Lightsail;

var relationalDatabaseParameterProperty = new RelationalDatabaseParameterProperty {
    AllowedValues = "allowedValues",
    ApplyMethod = "applyMethod",
    ApplyType = "applyType",
    DataType = "dataType",
    Description = "description",
    IsModifiable = false,
    ParameterName = "parameterName",
    ParameterValue = "parameterValue"
};
```

Golang:

```go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

relationalDatabaseParameterProperty := &RelationalDatabaseParameterProperty{
	AllowedValues: jsii.String("allowedValues"),
	ApplyMethod: jsii.String("applyMethod"),
	ApplyType: jsii.String("applyType"),
	DataType: jsii.String("dataType"),
	Description: jsii.String("description"),
	IsModifiable: jsii.Boolean(false),
	ParameterName: jsii.String("parameterName"),
	ParameterValue: jsii.String("parameterValue"),
}
```

## Properties

- `allowedValues`: string — The valid range of values for the parameter.

- `applyMethod`: string — Indicates when parameter updates are applied.

  Can be `immediate` or `pending-reboot` .

- `applyType`: string — Specifies the engine-specific parameter type.

- `dataType`: string — The valid data type of the parameter.

- `description`: string — A description of the parameter.

- `isModifiable`: boolean | [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) — A Boolean value indicating whether the parameter can be modified.

- `parameterName`: string — The name of the parameter.

- `parameterValue`: string — The value for the parameter.
