ClusterEngineFeatures Struct
Represents Database Engine features.
| Source | aws-rds/lib/cluster-engine.ts |
|---|---|
| Type last changed |
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';
const clusterEngineFeatures: rds.ClusterEngineFeatures = {
s3Export: 's3Export',
s3Import: 's3Import',
serverlessV2AutoPauseSupported: false,
};
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
cluster_engine_features = rds.ClusterEngineFeatures(
s3_export="s3Export",
s3_import="s3Import",
serverless_v2_auto_pause_supported=False
)
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.*;
ClusterEngineFeatures clusterEngineFeatures = ClusterEngineFeatures.builder()
.s3Export("s3Export")
.s3Import("s3Import")
.serverlessV2AutoPauseSupported(false)
.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;
var clusterEngineFeatures = new ClusterEngineFeatures {
S3Export = "s3Export",
S3Import = "s3Import",
ServerlessV2AutoPauseSupported = false
};
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"
clusterEngineFeatures := &ClusterEngineFeatures{
S3Export: jsii.String("s3Export"),
S3Import: jsii.String("s3Import"),
ServerlessV2AutoPauseSupported: jsii.Boolean(false),
}
Properties
s3Exportoptionalstrings3_exportoptionalstrs3ExportoptionalStringS3ExportoptionalstringS3Exportoptional*string #Feature name for the DB instance that the IAM role to export to S3 bucket is to be associated with.
Default: no s3Export feature name
s3Importoptionalstrings3_importoptionalstrs3ImportoptionalStringS3ImportoptionalstringS3Importoptional*string #Feature name for the DB instance that the IAM role to access the S3 bucket for import is to be associated with.
Default: no s3Import feature name
serverlessV2AutoPauseSupportedoptionalbooleanserverless_v2_auto_pause_supportedoptionalboolserverlessV2AutoPauseSupportedoptionalBooleanServerlessV2AutoPauseSupportedoptionalboolServerlessV2AutoPauseSupportedoptional*bool = false #Whether the DB cluster engine supports the Aurora ServerlessV2 auto-pause feature.