Endpoint
Provides a DMS (Data Migration Service) endpoint resource. DMS endpoints can be created, updated, deleted, and imported.
Example Usage
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.dms.Endpoint;
import com.pulumi.aws.dms.EndpointArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var test = new Endpoint("test", EndpointArgs.builder()
.certificateArn("arn:aws:acm:us-east-1:123456789012:certificate/12345678-1234-1234-1234-123456789012")
.databaseName("test")
.endpointId("test-dms-endpoint-tf")
.endpointType("source")
.engineName("aurora")
.extraConnectionAttributes("")
.kmsKeyArn("arn:aws:kms:us-east-1:123456789012:key/12345678-1234-1234-1234-123456789012")
.password("test")
.port(3306)
.serverName("test")
.sslMode("none")
.tags(Map.of("Name", "test"))
.username("test")
.build());
}
}
Import
Endpoints can be imported using the endpoint_id
, e.g.,
$ pulumi import aws:dms/endpoint:Endpoint test test-dms-endpoint-tf
Properties
Type of engine for the endpoint. Valid values are aurora
, aurora-postgresql
, azuredb
, db2
, docdb
, dynamodb
, elasticsearch
, kafka
, kinesis
, mariadb
, mongodb
, mysql
, opensearch
, oracle
, postgres
, redshift
, s3
, sqlserver
, sybase
. Please note that some of engine names are available only for target
endpoint type (e.g. redshift
).
Additional attributes associated with the connection. For available attributes see Using Extra Connection Attributes with AWS Database Migration Service.
ARN for the KMS key that will be used to encrypt the connection parameters. If you do not specify a value for kms_key_arn
, then AWS DMS will use 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.