Skip to content
v2.278.0

MariaDbSettingsProperty Struct ​

MariaDbSettings property identifier.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_dms as dms } from 'aws-cdk-lib';
const mariaDbSettingsProperty: dms.CfnDataProvider.MariaDbSettingsProperty = {
  port: 123,
  serverName: 'serverName',
  sslMode: 'sslMode',

  // the properties below are optional
  certificateArn: 'certificateArn',
};
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_dms as dms

maria_db_settings_property = dms.CfnDataProvider.MariaDbSettingsProperty(
    port=123,
    server_name="serverName",
    ssl_mode="sslMode",

    # the properties below are optional
    certificate_arn="certificateArn"
)
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.dms.*;

MariaDbSettingsProperty mariaDbSettingsProperty = MariaDbSettingsProperty.builder()
        .port(123)
        .serverName("serverName")
        .sslMode("sslMode")

        // the properties below are optional
        .certificateArn("certificateArn")
        .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.DMS;

var mariaDbSettingsProperty = new MariaDbSettingsProperty {
    Port = 123,
    ServerName = "serverName",
    SslMode = "sslMode",

    // the properties below are optional
    CertificateArn = "certificateArn"
};
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"

mariaDbSettingsProperty := &MariaDbSettingsProperty{
	Port: jsii.Number(123),
	ServerName: jsii.String("serverName"),
	SslMode: jsii.String("sslMode"),

	// the properties below are optional
	CertificateArn: jsii.String("certificateArn"),
}

Properties ​

certificateArnoptionalstringcertificate_arnoptionalstrcertificateArnoptionalStringCertificateArnoptionalstringCertificateArnoptional*string #
portnumberportint | floatportNumberPortdoublePort*float64 required #
serverNamestringserver_namestrserverNameStringServerNamestringServerName*string required #
sslModestringssl_modestrsslModeStringSslModestringSslMode*string required #