DocDbSettingsProperty Struct
Provides information that defines a DocumentDB endpoint.
| Source | |
|---|---|
| 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_dms as dms } from 'aws-cdk-lib';
const docDbSettingsProperty: dms.CfnDataProvider.DocDbSettingsProperty = {
databaseName: 'databaseName',
port: 123,
serverName: 'serverName',
// the properties below are optional
certificateArn: 'certificateArn',
sslMode: 'sslMode',
};
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
doc_db_settings_property = dms.CfnDataProvider.DocDbSettingsProperty(
database_name="databaseName",
port=123,
server_name="serverName",
# the properties below are optional
certificate_arn="certificateArn",
ssl_mode="sslMode"
)
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.*;
DocDbSettingsProperty docDbSettingsProperty = DocDbSettingsProperty.builder()
.databaseName("databaseName")
.port(123)
.serverName("serverName")
// the properties below are optional
.certificateArn("certificateArn")
.sslMode("sslMode")
.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 docDbSettingsProperty = new DocDbSettingsProperty {
DatabaseName = "databaseName",
Port = 123,
ServerName = "serverName",
// the properties below are optional
CertificateArn = "certificateArn",
SslMode = "sslMode"
};
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"
docDbSettingsProperty := &DocDbSettingsProperty{
DatabaseName: jsii.String("databaseName"),
Port: jsii.Number(123),
ServerName: jsii.String("serverName"),
// the properties below are optional
CertificateArn: jsii.String("certificateArn"),
SslMode: jsii.String("sslMode"),
}
Properties
certificateArnoptionalstringcertificate_arnoptionalstrcertificateArnoptionalStringCertificateArnoptionalstringCertificateArnoptional*string #databaseNamestringdatabase_namestrdatabaseNameStringDatabaseNamestringDatabaseName*string required #The database name on the DocumentDB source endpoint.
The port value for the DocumentDB source endpoint.
The name of the server on the DocumentDB source endpoint.
sslModeoptionalstringssl_modeoptionalstrsslModeoptionalStringSslModeoptionalstringSslModeoptional*string #