public static final class CfnEndpoint.Builder
extends java.lang.Object
CfnEndpoint
.Modifier and Type | Method and Description |
---|---|
CfnEndpoint |
build() |
CfnEndpoint.Builder |
certificateArn(java.lang.String certificateArn)
The Amazon Resource Name (ARN) for the certificate.
|
static CfnEndpoint.Builder |
create(Construct scope,
java.lang.String id) |
CfnEndpoint.Builder |
databaseName(java.lang.String databaseName)
The name of the endpoint database.
|
CfnEndpoint.Builder |
docDbSettings(CfnEndpoint.DocDbSettingsProperty docDbSettings)
Settings in JSON format for the source and target DocumentDB endpoint.
|
CfnEndpoint.Builder |
docDbSettings(IResolvable docDbSettings)
Settings in JSON format for the source and target DocumentDB endpoint.
|
CfnEndpoint.Builder |
dynamoDbSettings(CfnEndpoint.DynamoDbSettingsProperty dynamoDbSettings)
Settings in JSON format for the target Amazon DynamoDB endpoint.
|
CfnEndpoint.Builder |
dynamoDbSettings(IResolvable dynamoDbSettings)
Settings in JSON format for the target Amazon DynamoDB endpoint.
|
CfnEndpoint.Builder |
elasticsearchSettings(CfnEndpoint.ElasticsearchSettingsProperty elasticsearchSettings)
Settings in JSON format for the target OpenSearch endpoint.
|
CfnEndpoint.Builder |
elasticsearchSettings(IResolvable elasticsearchSettings)
Settings in JSON format for the target OpenSearch endpoint.
|
CfnEndpoint.Builder |
endpointIdentifier(java.lang.String endpointIdentifier)
The database endpoint identifier.
|
CfnEndpoint.Builder |
endpointType(java.lang.String endpointType)
The type of endpoint.
|
CfnEndpoint.Builder |
engineName(java.lang.String engineName)
The type of engine for the endpoint, depending on the `EndpointType` value.
|
CfnEndpoint.Builder |
extraConnectionAttributes(java.lang.String extraConnectionAttributes)
Additional attributes associated with the connection.
|
CfnEndpoint.Builder |
gcpMySqlSettings(CfnEndpoint.GcpMySQLSettingsProperty gcpMySqlSettings)
Settings in JSON format for the source GCP MySQL endpoint.
|
CfnEndpoint.Builder |
gcpMySqlSettings(IResolvable gcpMySqlSettings)
Settings in JSON format for the source GCP MySQL endpoint.
|
CfnEndpoint.Builder |
ibmDb2Settings(CfnEndpoint.IbmDb2SettingsProperty ibmDb2Settings)
Settings in JSON format for the source IBM Db2 LUW endpoint.
|
CfnEndpoint.Builder |
ibmDb2Settings(IResolvable ibmDb2Settings)
Settings in JSON format for the source IBM Db2 LUW endpoint.
|
CfnEndpoint.Builder |
kafkaSettings(CfnEndpoint.KafkaSettingsProperty kafkaSettings)
Settings in JSON format for the target Apache Kafka endpoint.
|
CfnEndpoint.Builder |
kafkaSettings(IResolvable kafkaSettings)
Settings in JSON format for the target Apache Kafka endpoint.
|
CfnEndpoint.Builder |
kinesisSettings(CfnEndpoint.KinesisSettingsProperty kinesisSettings)
Settings in JSON format for the target endpoint for Amazon Kinesis Data Streams.
|
CfnEndpoint.Builder |
kinesisSettings(IResolvable kinesisSettings)
Settings in JSON format for the target endpoint for Amazon Kinesis Data Streams.
|
CfnEndpoint.Builder |
kmsKeyId(java.lang.String kmsKeyId)
An AWS KMS key identifier that is used to encrypt the connection parameters for the endpoint.
|
CfnEndpoint.Builder |
microsoftSqlServerSettings(CfnEndpoint.MicrosoftSqlServerSettingsProperty microsoftSqlServerSettings)
Settings in JSON format for the source and target Microsoft SQL Server endpoint.
|
CfnEndpoint.Builder |
microsoftSqlServerSettings(IResolvable microsoftSqlServerSettings)
Settings in JSON format for the source and target Microsoft SQL Server endpoint.
|
CfnEndpoint.Builder |
mongoDbSettings(CfnEndpoint.MongoDbSettingsProperty mongoDbSettings)
Settings in JSON format for the source MongoDB endpoint.
|
CfnEndpoint.Builder |
mongoDbSettings(IResolvable mongoDbSettings)
Settings in JSON format for the source MongoDB endpoint.
|
CfnEndpoint.Builder |
mySqlSettings(CfnEndpoint.MySqlSettingsProperty mySqlSettings)
Settings in JSON format for the source and target MySQL endpoint.
|
CfnEndpoint.Builder |
mySqlSettings(IResolvable mySqlSettings)
Settings in JSON format for the source and target MySQL endpoint.
|
CfnEndpoint.Builder |
neptuneSettings(CfnEndpoint.NeptuneSettingsProperty neptuneSettings)
Settings in JSON format for the target Amazon Neptune endpoint.
|
CfnEndpoint.Builder |
neptuneSettings(IResolvable neptuneSettings)
Settings in JSON format for the target Amazon Neptune endpoint.
|
CfnEndpoint.Builder |
oracleSettings(CfnEndpoint.OracleSettingsProperty oracleSettings)
Settings in JSON format for the source and target Oracle endpoint.
|
CfnEndpoint.Builder |
oracleSettings(IResolvable oracleSettings)
Settings in JSON format for the source and target Oracle endpoint.
|
CfnEndpoint.Builder |
password(java.lang.String password)
The password to be used to log in to the endpoint database.
|
CfnEndpoint.Builder |
port(java.lang.Number port)
The port used by the endpoint database.
|
CfnEndpoint.Builder |
postgreSqlSettings(CfnEndpoint.PostgreSqlSettingsProperty postgreSqlSettings)
Settings in JSON format for the source and target PostgreSQL endpoint.
|
CfnEndpoint.Builder |
postgreSqlSettings(IResolvable postgreSqlSettings)
Settings in JSON format for the source and target PostgreSQL endpoint.
|
CfnEndpoint.Builder |
redisSettings(CfnEndpoint.RedisSettingsProperty redisSettings)
Settings in JSON format for the target Redis endpoint.
|
CfnEndpoint.Builder |
redisSettings(IResolvable redisSettings)
Settings in JSON format for the target Redis endpoint.
|
CfnEndpoint.Builder |
redshiftSettings(CfnEndpoint.RedshiftSettingsProperty redshiftSettings)
Settings in JSON format for the Amazon Redshift endpoint.
|
CfnEndpoint.Builder |
redshiftSettings(IResolvable redshiftSettings)
Settings in JSON format for the Amazon Redshift endpoint.
|
CfnEndpoint.Builder |
resourceIdentifier(java.lang.String resourceIdentifier)
A display name for the resource identifier at the end of the `EndpointArn` response parameter that is returned in the created `Endpoint` object.
|
CfnEndpoint.Builder |
s3Settings(CfnEndpoint.S3SettingsProperty s3Settings)
Settings in JSON format for the source and target Amazon S3 endpoint.
|
CfnEndpoint.Builder |
s3Settings(IResolvable s3Settings)
Settings in JSON format for the source and target Amazon S3 endpoint.
|
CfnEndpoint.Builder |
serverName(java.lang.String serverName)
The name of the server where the endpoint database resides.
|
CfnEndpoint.Builder |
sslMode(java.lang.String sslMode)
The Secure Sockets Layer (SSL) mode to use for the SSL connection.
|
CfnEndpoint.Builder |
sybaseSettings(CfnEndpoint.SybaseSettingsProperty sybaseSettings)
Settings in JSON format for the source and target SAP ASE endpoint.
|
CfnEndpoint.Builder |
sybaseSettings(IResolvable sybaseSettings)
Settings in JSON format for the source and target SAP ASE endpoint.
|
CfnEndpoint.Builder |
tags(java.util.List<? extends CfnTag> tags)
One or more tags to be assigned to the endpoint.
|
CfnEndpoint.Builder |
username(java.lang.String username)
The user name to be used to log in to the endpoint database.
|
public static CfnEndpoint.Builder create(Construct scope, java.lang.String id)
scope
- - scope in which this resource is defined. This parameter is required.id
- - scoped id of the resource. This parameter is required.CfnEndpoint.DocDbSettingsProperty.Builder
.public CfnEndpoint.Builder endpointType(java.lang.String endpointType)
Valid values are source
and target
.
endpointType
- The type of endpoint. This parameter is required.this
public CfnEndpoint.Builder engineName(java.lang.String engineName)
Valid values : mysql
| oracle
| postgres
| mariadb
| aurora
| aurora-postgresql
| opensearch
| redshift
| s3
| db2
| azuredb
| sybase
| dynamodb
| mongodb
| kinesis
| kafka
| elasticsearch
| docdb
| sqlserver
| neptune
engineName
- The type of engine for the endpoint, depending on the `EndpointType` value. This parameter is required.this
public CfnEndpoint.Builder certificateArn(java.lang.String certificateArn)
certificateArn
- The Amazon Resource Name (ARN) for the certificate. This parameter is required.this
public CfnEndpoint.Builder databaseName(java.lang.String databaseName)
For a MySQL source or target endpoint, don't specify DatabaseName
. To migrate to a specific database, use this setting and targetDbType
.
databaseName
- The name of the endpoint database. This parameter is required.this
public CfnEndpoint.Builder docDbSettings(CfnEndpoint.DocDbSettingsProperty docDbSettings)
For more information about other available settings, see Using extra connections attributes with Amazon DocumentDB as a source and Using Amazon DocumentDB as a target for AWS Database Migration Service in the AWS Database Migration Service User Guide .
docDbSettings
- Settings in JSON format for the source and target DocumentDB endpoint. This parameter is required.this
public CfnEndpoint.Builder docDbSettings(IResolvable docDbSettings)
For more information about other available settings, see Using extra connections attributes with Amazon DocumentDB as a source and Using Amazon DocumentDB as a target for AWS Database Migration Service in the AWS Database Migration Service User Guide .
docDbSettings
- Settings in JSON format for the source and target DocumentDB endpoint. This parameter is required.this
public CfnEndpoint.Builder dynamoDbSettings(IResolvable dynamoDbSettings)
For information about other available settings, see Using object mapping to migrate data to DynamoDB in the AWS Database Migration Service User Guide .
dynamoDbSettings
- Settings in JSON format for the target Amazon DynamoDB endpoint. This parameter is required.this
public CfnEndpoint.Builder dynamoDbSettings(CfnEndpoint.DynamoDbSettingsProperty dynamoDbSettings)
For information about other available settings, see Using object mapping to migrate data to DynamoDB in the AWS Database Migration Service User Guide .
dynamoDbSettings
- Settings in JSON format for the target Amazon DynamoDB endpoint. This parameter is required.this
public CfnEndpoint.Builder elasticsearchSettings(IResolvable elasticsearchSettings)
For more information about the available settings, see Extra connection attributes when using OpenSearch as a target for AWS DMS in the AWS Database Migration Service User Guide .
elasticsearchSettings
- Settings in JSON format for the target OpenSearch endpoint. This parameter is required.this
public CfnEndpoint.Builder elasticsearchSettings(CfnEndpoint.ElasticsearchSettingsProperty elasticsearchSettings)
For more information about the available settings, see Extra connection attributes when using OpenSearch as a target for AWS DMS in the AWS Database Migration Service User Guide .
elasticsearchSettings
- Settings in JSON format for the target OpenSearch endpoint. This parameter is required.this
public CfnEndpoint.Builder endpointIdentifier(java.lang.String endpointIdentifier)
Identifiers must begin with a letter and must contain only ASCII letters, digits, and hyphens. They can't end with a hyphen, or contain two consecutive hyphens.
endpointIdentifier
- The database endpoint identifier. This parameter is required.this
public CfnEndpoint.Builder extraConnectionAttributes(java.lang.String extraConnectionAttributes)
Each attribute is specified as a name-value pair associated by an equal sign (=). Multiple attributes are separated by a semicolon (;) with no additional white space. For information on the attributes available for connecting your source or target endpoint, see Working with AWS DMS Endpoints in the AWS Database Migration Service User Guide .
extraConnectionAttributes
- Additional attributes associated with the connection. This parameter is required.this
public CfnEndpoint.Builder gcpMySqlSettings(IResolvable gcpMySqlSettings)
These settings are much the same as the settings for any MySQL-compatible endpoint. For more information, see Extra connection attributes when using MySQL as a source for AWS DMS in the AWS Database Migration Service User Guide .
gcpMySqlSettings
- Settings in JSON format for the source GCP MySQL endpoint. This parameter is required.this
public CfnEndpoint.Builder gcpMySqlSettings(CfnEndpoint.GcpMySQLSettingsProperty gcpMySqlSettings)
These settings are much the same as the settings for any MySQL-compatible endpoint. For more information, see Extra connection attributes when using MySQL as a source for AWS DMS in the AWS Database Migration Service User Guide .
gcpMySqlSettings
- Settings in JSON format for the source GCP MySQL endpoint. This parameter is required.this
public CfnEndpoint.Builder ibmDb2Settings(IResolvable ibmDb2Settings)
For information about other available settings, see Extra connection attributes when using Db2 LUW as a source for AWS DMS in the AWS Database Migration Service User Guide .
ibmDb2Settings
- Settings in JSON format for the source IBM Db2 LUW endpoint. This parameter is required.this
public CfnEndpoint.Builder ibmDb2Settings(CfnEndpoint.IbmDb2SettingsProperty ibmDb2Settings)
For information about other available settings, see Extra connection attributes when using Db2 LUW as a source for AWS DMS in the AWS Database Migration Service User Guide .
ibmDb2Settings
- Settings in JSON format for the source IBM Db2 LUW endpoint. This parameter is required.this
public CfnEndpoint.Builder kafkaSettings(IResolvable kafkaSettings)
For more information about other available settings, see Using object mapping to migrate data to a Kafka topic in the AWS Database Migration Service User Guide .
kafkaSettings
- Settings in JSON format for the target Apache Kafka endpoint. This parameter is required.this
public CfnEndpoint.Builder kafkaSettings(CfnEndpoint.KafkaSettingsProperty kafkaSettings)
For more information about other available settings, see Using object mapping to migrate data to a Kafka topic in the AWS Database Migration Service User Guide .
kafkaSettings
- Settings in JSON format for the target Apache Kafka endpoint. This parameter is required.this
public CfnEndpoint.Builder kinesisSettings(IResolvable kinesisSettings)
For more information about other available settings, see Using object mapping to migrate data to a Kinesis data stream in the AWS Database Migration Service User Guide .
kinesisSettings
- Settings in JSON format for the target endpoint for Amazon Kinesis Data Streams. This parameter is required.this
public CfnEndpoint.Builder kinesisSettings(CfnEndpoint.KinesisSettingsProperty kinesisSettings)
For more information about other available settings, see Using object mapping to migrate data to a Kinesis data stream in the AWS Database Migration Service User Guide .
kinesisSettings
- Settings in JSON format for the target endpoint for Amazon Kinesis Data Streams. This parameter is required.this
public CfnEndpoint.Builder kmsKeyId(java.lang.String kmsKeyId)
If you don't specify a value for the KmsKeyId
parameter, AWS DMS uses your default encryption key.
AWS KMS creates the default encryption key for your AWS account . Your AWS account has a different default encryption key for each AWS Region .
kmsKeyId
- An AWS KMS key identifier that is used to encrypt the connection parameters for the endpoint. This parameter is required.this
public CfnEndpoint.Builder microsoftSqlServerSettings(IResolvable microsoftSqlServerSettings)
For information about other available settings, see Extra connection attributes when using SQL Server as a source for AWS DMS and Extra connection attributes when using SQL Server as a target for AWS DMS in the AWS Database Migration Service User Guide .
microsoftSqlServerSettings
- Settings in JSON format for the source and target Microsoft SQL Server endpoint. This parameter is required.this
public CfnEndpoint.Builder microsoftSqlServerSettings(CfnEndpoint.MicrosoftSqlServerSettingsProperty microsoftSqlServerSettings)
For information about other available settings, see Extra connection attributes when using SQL Server as a source for AWS DMS and Extra connection attributes when using SQL Server as a target for AWS DMS in the AWS Database Migration Service User Guide .
microsoftSqlServerSettings
- Settings in JSON format for the source and target Microsoft SQL Server endpoint. This parameter is required.this
public CfnEndpoint.Builder mongoDbSettings(IResolvable mongoDbSettings)
For more information about the available settings, see Using MongoDB as a target for AWS Database Migration Service in the AWS Database Migration Service User Guide .
mongoDbSettings
- Settings in JSON format for the source MongoDB endpoint. This parameter is required.this
public CfnEndpoint.Builder mongoDbSettings(CfnEndpoint.MongoDbSettingsProperty mongoDbSettings)
For more information about the available settings, see Using MongoDB as a target for AWS Database Migration Service in the AWS Database Migration Service User Guide .
mongoDbSettings
- Settings in JSON format for the source MongoDB endpoint. This parameter is required.this
public CfnEndpoint.Builder mySqlSettings(IResolvable mySqlSettings)
For information about other available settings, see Extra connection attributes when using MySQL as a source for AWS DMS and Extra connection attributes when using a MySQL-compatible database as a target for AWS DMS in the AWS Database Migration Service User Guide .
mySqlSettings
- Settings in JSON format for the source and target MySQL endpoint. This parameter is required.this
public CfnEndpoint.Builder mySqlSettings(CfnEndpoint.MySqlSettingsProperty mySqlSettings)
For information about other available settings, see Extra connection attributes when using MySQL as a source for AWS DMS and Extra connection attributes when using a MySQL-compatible database as a target for AWS DMS in the AWS Database Migration Service User Guide .
mySqlSettings
- Settings in JSON format for the source and target MySQL endpoint. This parameter is required.this
public CfnEndpoint.Builder neptuneSettings(IResolvable neptuneSettings)
For more information about the available settings, see Specifying endpoint settings for Amazon Neptune as a target in the AWS Database Migration Service User Guide .
neptuneSettings
- Settings in JSON format for the target Amazon Neptune endpoint. This parameter is required.this
public CfnEndpoint.Builder neptuneSettings(CfnEndpoint.NeptuneSettingsProperty neptuneSettings)
For more information about the available settings, see Specifying endpoint settings for Amazon Neptune as a target in the AWS Database Migration Service User Guide .
neptuneSettings
- Settings in JSON format for the target Amazon Neptune endpoint. This parameter is required.this
public CfnEndpoint.Builder oracleSettings(IResolvable oracleSettings)
For information about other available settings, see Extra connection attributes when using Oracle as a source for AWS DMS and Extra connection attributes when using Oracle as a target for AWS DMS in the AWS Database Migration Service User Guide .
oracleSettings
- Settings in JSON format for the source and target Oracle endpoint. This parameter is required.this
public CfnEndpoint.Builder oracleSettings(CfnEndpoint.OracleSettingsProperty oracleSettings)
For information about other available settings, see Extra connection attributes when using Oracle as a source for AWS DMS and Extra connection attributes when using Oracle as a target for AWS DMS in the AWS Database Migration Service User Guide .
oracleSettings
- Settings in JSON format for the source and target Oracle endpoint. This parameter is required.this
public CfnEndpoint.Builder password(java.lang.String password)
password
- The password to be used to log in to the endpoint database. This parameter is required.this
public CfnEndpoint.Builder port(java.lang.Number port)
port
- The port used by the endpoint database. This parameter is required.this
public CfnEndpoint.Builder postgreSqlSettings(IResolvable postgreSqlSettings)
For information about other available settings, see Extra connection attributes when using PostgreSQL as a source for AWS DMS and Extra connection attributes when using PostgreSQL as a target for AWS DMS in the AWS Database Migration Service User Guide .
postgreSqlSettings
- Settings in JSON format for the source and target PostgreSQL endpoint. This parameter is required.this
public CfnEndpoint.Builder postgreSqlSettings(CfnEndpoint.PostgreSqlSettingsProperty postgreSqlSettings)
For information about other available settings, see Extra connection attributes when using PostgreSQL as a source for AWS DMS and Extra connection attributes when using PostgreSQL as a target for AWS DMS in the AWS Database Migration Service User Guide .
postgreSqlSettings
- Settings in JSON format for the source and target PostgreSQL endpoint. This parameter is required.this
public CfnEndpoint.Builder redisSettings(IResolvable redisSettings)
For information about other available settings, see Specifying endpoint settings for Redis as a target in the AWS Database Migration Service User Guide .
redisSettings
- Settings in JSON format for the target Redis endpoint. This parameter is required.this
public CfnEndpoint.Builder redisSettings(CfnEndpoint.RedisSettingsProperty redisSettings)
For information about other available settings, see Specifying endpoint settings for Redis as a target in the AWS Database Migration Service User Guide .
redisSettings
- Settings in JSON format for the target Redis endpoint. This parameter is required.this
public CfnEndpoint.Builder redshiftSettings(IResolvable redshiftSettings)
For more information about other available settings, see Extra connection attributes when using Amazon Redshift as a target for AWS DMS in the AWS Database Migration Service User Guide .
redshiftSettings
- Settings in JSON format for the Amazon Redshift endpoint. This parameter is required.this
public CfnEndpoint.Builder redshiftSettings(CfnEndpoint.RedshiftSettingsProperty redshiftSettings)
For more information about other available settings, see Extra connection attributes when using Amazon Redshift as a target for AWS DMS in the AWS Database Migration Service User Guide .
redshiftSettings
- Settings in JSON format for the Amazon Redshift endpoint. This parameter is required.this
public CfnEndpoint.Builder resourceIdentifier(java.lang.String resourceIdentifier)
The value for this parameter can have up to 31 characters. It can contain only ASCII letters, digits, and hyphen ('-'). Also, it can't end with a hyphen or contain two consecutive hyphens, and can only begin with a letter, such as Example-App-ARN1
.
For example, this value might result in the EndpointArn
value arn:aws:dms:eu-west-1:012345678901:rep:Example-App-ARN1
. If you don't specify a ResourceIdentifier
value, AWS DMS generates a default identifier value for the end of EndpointArn
.
resourceIdentifier
- A display name for the resource identifier at the end of the `EndpointArn` response parameter that is returned in the created `Endpoint` object. This parameter is required.this
public CfnEndpoint.Builder s3Settings(IResolvable s3Settings)
For more information about other available settings, see Extra connection attributes when using Amazon S3 as a source for AWS DMS and Extra connection attributes when using Amazon S3 as a target for AWS DMS in the AWS Database Migration Service User Guide .
s3Settings
- Settings in JSON format for the source and target Amazon S3 endpoint. This parameter is required.this
public CfnEndpoint.Builder s3Settings(CfnEndpoint.S3SettingsProperty s3Settings)
For more information about other available settings, see Extra connection attributes when using Amazon S3 as a source for AWS DMS and Extra connection attributes when using Amazon S3 as a target for AWS DMS in the AWS Database Migration Service User Guide .
s3Settings
- Settings in JSON format for the source and target Amazon S3 endpoint. This parameter is required.this
public CfnEndpoint.Builder serverName(java.lang.String serverName)
serverName
- The name of the server where the endpoint database resides. This parameter is required.this
public CfnEndpoint.Builder sslMode(java.lang.String sslMode)
When
engine_name
is set to S3, the only allowed value isnone
.
sslMode
- The Secure Sockets Layer (SSL) mode to use for the SSL connection. The default is `none` . This parameter is required.this
public CfnEndpoint.Builder sybaseSettings(IResolvable sybaseSettings)
For information about other available settings, see Extra connection attributes when using SAP ASE as a source for AWS DMS and Extra connection attributes when using SAP ASE as a target for AWS DMS in the AWS Database Migration Service User Guide .
sybaseSettings
- Settings in JSON format for the source and target SAP ASE endpoint. This parameter is required.this
public CfnEndpoint.Builder sybaseSettings(CfnEndpoint.SybaseSettingsProperty sybaseSettings)
For information about other available settings, see Extra connection attributes when using SAP ASE as a source for AWS DMS and Extra connection attributes when using SAP ASE as a target for AWS DMS in the AWS Database Migration Service User Guide .
sybaseSettings
- Settings in JSON format for the source and target SAP ASE endpoint. This parameter is required.this
public CfnEndpoint.Builder tags(java.util.List<? extends CfnTag> tags)
tags
- One or more tags to be assigned to the endpoint. This parameter is required.this
public CfnEndpoint.Builder username(java.lang.String username)
username
- The user name to be used to log in to the endpoint database. This parameter is required.this
public CfnEndpoint build()