# InstanceEngineConfig

The type returned from the `IInstanceEngine.bind` method.

- Source: [`aws-rds/lib/instance-engine.ts`](https://github.com/aws/aws-cdk/blob/v2.277.0/packages/aws-cdk-lib/aws-rds/lib/instance-engine.ts#L54)

## Example

TypeScript:

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_rds as rds } from 'aws-cdk-lib';

declare const optionGroup: rds.OptionGroup;
const instanceEngineConfig: rds.InstanceEngineConfig = {
  features: {
    s3Export: 's3Export',
    s3Import: 's3Import',
  },
  optionGroup: optionGroup,
};
```

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_rds as rds

# option_group: rds.OptionGroup

instance_engine_config = rds.InstanceEngineConfig(
    features=rds.InstanceEngineFeatures(
        s3_export="s3Export",
        s3_import="s3Import"
    ),
    option_group=option_group
)
```

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.rds.*;

OptionGroup optionGroup;

InstanceEngineConfig instanceEngineConfig = InstanceEngineConfig.builder()
        .features(InstanceEngineFeatures.builder()
                .s3Export("s3Export")
                .s3Import("s3Import")
                .build())
        .optionGroup(optionGroup)
        .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.RDS;

OptionGroup optionGroup;

var instanceEngineConfig = new InstanceEngineConfig {
    Features = new InstanceEngineFeatures {
        S3Export = "s3Export",
        S3Import = "s3Import"
    },
    OptionGroup = optionGroup
};
```

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"

var optionGroup OptionGroup

instanceEngineConfig := &InstanceEngineConfig{
	Features: &InstanceEngineFeatures{
		S3Export: jsii.String("s3Export"),
		S3Import: jsii.String("s3Import"),
	},
	OptionGroup: optionGroup,
}
```

## Properties

- `features`: [InstanceEngineFeatures](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_rds.InstanceEngineFeatures.html) — Features supported by the database engine.

  **Default:** no features

- `optionGroup`: [IOptionGroup](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_rds.IOptionGroup.html) = none — Option group of the database.
