Skip to content
v2.277.0

InstanceEngineConfig Struct ​

The type returned from the IInstanceEngine.bind method.

Example ​

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
# 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
// 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();
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
};
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 ​

featuresoptionalInstanceEngineFeaturesfeaturesoptionalInstanceEngineFeaturesfeaturesoptionalInstanceEngineFeaturesFeaturesoptionalInstanceEngineFeaturesFeaturesoptionalInstanceEngineFeatures #
Features supported by the database engine.

Default: no features

optionGroupoptionalIOptionGroupoption_groupoptionalIOptionGroupoptionGroupoptionalIOptionGroupOptionGroupoptionalIOptionGroupOptionGroupoptionalIOptionGroup = none #
Option group of the database.