MicrosoftSqlServerSettingsProperty Struct
Provides information that defines a Microsoft SQL Server 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 microsoftSqlServerSettingsProperty: dms.CfnDataProvider.MicrosoftSqlServerSettingsProperty = {
databaseName: 'databaseName',
port: 123,
serverName: 'serverName',
sslMode: 'sslMode',
// the properties below are optional
certificateArn: 'certificateArn',
s3AccessRoleArn: 's3AccessRoleArn',
s3Path: 's3Path',
};
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
microsoft_sql_server_settings_property = dms.CfnDataProvider.MicrosoftSqlServerSettingsProperty(
database_name="databaseName",
port=123,
server_name="serverName",
ssl_mode="sslMode",
# the properties below are optional
certificate_arn="certificateArn",
s3_access_role_arn="s3AccessRoleArn",
s3_path="s3Path"
)
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.*;
MicrosoftSqlServerSettingsProperty microsoftSqlServerSettingsProperty = MicrosoftSqlServerSettingsProperty.builder()
.databaseName("databaseName")
.port(123)
.serverName("serverName")
.sslMode("sslMode")
// the properties below are optional
.certificateArn("certificateArn")
.s3AccessRoleArn("s3AccessRoleArn")
.s3Path("s3Path")
.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 microsoftSqlServerSettingsProperty = new MicrosoftSqlServerSettingsProperty {
DatabaseName = "databaseName",
Port = 123,
ServerName = "serverName",
SslMode = "sslMode",
// the properties below are optional
CertificateArn = "certificateArn",
S3AccessRoleArn = "s3AccessRoleArn",
S3Path = "s3Path"
};
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"
microsoftSqlServerSettingsProperty := &MicrosoftSqlServerSettingsProperty{
DatabaseName: jsii.String("databaseName"),
Port: jsii.Number(123),
ServerName: jsii.String("serverName"),
SslMode: jsii.String("sslMode"),
// the properties below are optional
CertificateArn: jsii.String("certificateArn"),
S3AccessRoleArn: jsii.String("s3AccessRoleArn"),
S3Path: jsii.String("s3Path"),
}
Properties
certificateArnoptionalstringcertificate_arnoptionalstrcertificateArnoptionalStringCertificateArnoptionalstringCertificateArnoptional*string #databaseNamestringdatabase_namestrdatabaseNameStringDatabaseNamestringDatabaseName*string required #Database name for the endpoint.
Endpoint TCP port.
s3AccessRoleArnoptionalstrings3_access_role_arnoptionalstrs3AccessRoleArnoptionalStringS3AccessRoleArnoptionalstringS3AccessRoleArnoptional*string #The ARN for the role the application uses to access its Amazon S3 bucket.
s3Pathoptionalstrings3_pathoptionalstrs3PathoptionalStringS3PathoptionalstringS3Pathoptional*string #The path for the Amazon S3 bucket that the application uses for accessing the user-defined schema.
Fully qualified domain name of the endpoint.
notes
For an Amazon RDS SQL Server instance, this is the output of DescribeDBInstances , in the [Endpoint](https://docs.aws.amazon.com/AmazonRDS/latest/APIReference/API_Endpoint.html) .Address field.