Paws::DMS::CreateEndpoint - Arguments for method CreateEndpoint on Paws::DMS
This class represents the parameters used for calling the method CreateEndpoint on the AWS Database Migration Service service. Use the attributes of this class as arguments to method CreateEndpoint.
You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to CreateEndpoint.
my $dms = Paws->service('DMS'); # Create endpoint # Creates an endpoint using the provided settings. my $CreateEndpointResponse = $dms->CreateEndpoint( 'CertificateArn' => '', 'DatabaseName' => 'testdb', 'EndpointIdentifier' => 'test-endpoint-1', 'EndpointType' => 'source', 'EngineName' => 'mysql', 'ExtraConnectionAttributes' => '', 'KmsKeyId' => 'arn:aws:kms:us-east-1:123456789012:key/4c1731d6-5435-ed4d-be13-d53411a7cfbd', 'Password' => 'pasword', 'Port' => 3306, 'ServerName' => 'mydb.cx1llnox7iyx.us-west-2.rds.amazonaws.com', 'SslMode' => 'require', 'Tags' => [ { 'Key' => 'Acount', 'Value' => 143327655 } ], 'Username' => 'username' ); # Results: my $Endpoint = $CreateEndpointResponse->Endpoint; # Returns a L<Paws::DMS::CreateEndpointResponse> object.
Values for attributes that are native types (Int, String, Float, etc) can passed as-is (scalar values). Values for complex Types (objects) can be passed as a HashRef. The keys and values of the hashref will be used to instance the underlying object. For the AWS API documentation, see https://docs.aws.amazon.com/goto/WebAPI/dms/CreateEndpoint
The Amazon Resource Name (ARN) for the certificate.
The name of the endpoint database.
The settings in JSON format for the DMS transfer type of source endpoint.
Possible settings include the following:
ServiceAccessRoleArn - The IAM role that has permission to access the Amazon S3 bucket.
ServiceAccessRoleArn
BucketName - The name of the S3 bucket to use.
BucketName
CompressionType - An optional parameter to use GZIP to compress the target files. To use GZIP, set this value to NONE (the default). To keep the files uncompressed, don't use this value.
CompressionType
NONE
Shorthand syntax for these settings is as follows: ServiceAccessRoleArn=string,BucketName=string,CompressionType=string
ServiceAccessRoleArn=string,BucketName=string,CompressionType=string
JSON syntax for these settings is as follows: { "ServiceAccessRoleArn": "string", "BucketName": "string", "CompressionType": "none"|"gzip" }
{ "ServiceAccessRoleArn": "string", "BucketName": "string", "CompressionType": "none"|"gzip" }
Settings in JSON format for the target Amazon DynamoDB endpoint. For information about other available settings, see Using Object Mapping to Migrate Data to DynamoDB (https://docs.aws.amazon.com/dms/latest/userguide/CHAP_Target.DynamoDB.html) in the AWS Database Migration Service User Guide.
Settings in JSON format for the target Elasticsearch endpoint. For more information about the available settings, see Extra Connection Attributes When Using Elasticsearch as a Target for AWS DMS (https://docs.aws.amazon.com/dms/latest/userguide/CHAP_Target.Elasticsearch.html#CHAP_Target.Elasticsearch.Configuration) in the AWS Database Migration Service User Guide.
The database endpoint identifier. 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.
The type of endpoint. Valid values are source and target.
source
target
Valid values are: "source", "target"
"source"
"target"
The type of engine for the endpoint. Valid values, depending on the EndpointType value, include "mysql", "oracle", "postgres", "mariadb", "aurora", "aurora-postgresql", "redshift", "s3", "db2", "azuredb", "sybase", "dynamodb", "mongodb", "kinesis", "kafka", "elasticsearch", "docdb", "sqlserver", and "neptune".
EndpointType
"mysql"
"oracle"
"postgres"
"mariadb"
"aurora"
"aurora-postgresql"
"redshift"
"s3"
"db2"
"azuredb"
"sybase"
"dynamodb"
"mongodb"
"kinesis"
"kafka"
"elasticsearch"
"docdb"
"sqlserver"
"neptune"
The external table definition.
Additional attributes associated with the connection. 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 (https://docs.aws.amazon.com/dms/latest/userguide/CHAP_Endpoints.html) in the AWS Database Migration Service User Guide.
Settings in JSON format for the source IBM Db2 LUW endpoint. For information about other available settings, see Extra connection attributes when using Db2 LUW as a source for AWS DMS (https://docs.aws.amazon.com/dms/latest/userguide/CHAP_Source.DB2.html) in the AWS Database Migration Service User Guide.
Settings in JSON format for the target Apache Kafka endpoint. For more information about the available settings, see Using Apache Kafka as a Target for AWS Database Migration Service (https://docs.aws.amazon.com/dms/latest/userguide/CHAP_Target.Kafka.html) in the AWS Database Migration Service User Guide.
Settings in JSON format for the target endpoint for Amazon Kinesis Data Streams. For more information about the available settings, see Using Amazon Kinesis Data Streams as a Target for AWS Database Migration Service (https://docs.aws.amazon.com/dms/latest/userguide/CHAP_Target.Kinesis.html) in the AWS Database Migration Service User Guide.
An AWS KMS key identifier that is used to encrypt the connection parameters for the endpoint.
If you don't specify a value for the KmsKeyId parameter, then AWS DMS uses your default encryption key.
KmsKeyId
AWS KMS creates the default encryption key for your AWS account. Your AWS account has a different default encryption key for each AWS Region.
Settings in JSON format for the source and target Microsoft SQL Server endpoint. For information about other available settings, see Extra connection attributes when using SQL Server as a source for AWS DMS (https://docs.aws.amazon.com/dms/latest/userguide/CHAP_Source.SQLServer.html) and Extra connection attributes when using SQL Server as a target for AWS DMS (https://docs.aws.amazon.com/dms/latest/userguide/CHAP_Target.SQLServer.html) in the AWS Database Migration Service User Guide.
Settings in JSON format for the source MongoDB endpoint. For more information about the available settings, see Using MongoDB as a Target for AWS Database Migration Service (https://docs.aws.amazon.com/dms/latest/userguide/CHAP_Source.MongoDB.html#CHAP_Source.MongoDB.Configuration) in the AWS Database Migration Service User Guide.
Settings in JSON format for the source and target MySQL endpoint. For information about other available settings, see Extra connection attributes when using MySQL as a source for AWS DMS (https://docs.aws.amazon.com/dms/latest/userguide/CHAP_Source.MySQL.html) and Extra connection attributes when using a MySQL-compatible database as a target for AWS DMS (https://docs.aws.amazon.com/dms/latest/userguide/CHAP_Target.MySQL.html) in the AWS Database Migration Service User Guide.
Settings in JSON format for the target Amazon Neptune endpoint. For more information about the available settings, see Specifying Endpoint Settings for Amazon Neptune as a Target (https://docs.aws.amazon.com/dms/latest/userguide/CHAP_Target.Neptune.html#CHAP_Target.Neptune.EndpointSettings) in the AWS Database Migration Service User Guide.
Settings in JSON format for the source and target Oracle endpoint. For information about other available settings, see Extra connection attributes when using Oracle as a source for AWS DMS (https://docs.aws.amazon.com/dms/latest/userguide/CHAP_Source.Oracle.html) and Extra connection attributes when using Oracle as a target for AWS DMS (https://docs.aws.amazon.com/dms/latest/userguide/CHAP_Target.Oracle.html) in the AWS Database Migration Service User Guide.
The password to be used to log in to the endpoint database.
The port used by the endpoint database.
Settings in JSON format for the source and target PostgreSQL endpoint. For information about other available settings, see Extra connection attributes when using PostgreSQL as a source for AWS DMS (https://docs.aws.amazon.com/dms/latest/userguide/CHAP_Source.PostgreSQL.html) and Extra connection attributes when using PostgreSQL as a target for AWS DMS (https://docs.aws.amazon.com/dms/latest/userguide/CHAP_Target.PostgreSQL.html) in the AWS Database Migration Service User Guide.
A friendly name for the resource identifier at the end of the EndpointArn response parameter that is returned in the created Endpoint object. 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.
EndpointArn
Endpoint
Example-App-ARN1
arn:aws:dms:eu-west-1:012345678901:rep:Example-App-ARN1
ResourceIdentifier
Settings in JSON format for the target Amazon S3 endpoint. For more information about the available settings, see Extra Connection Attributes When Using Amazon S3 as a Target for AWS DMS (https://docs.aws.amazon.com/dms/latest/userguide/CHAP_Target.S3.html#CHAP_Target.S3.Configuring) in the AWS Database Migration Service User Guide.
The name of the server where the endpoint database resides.
The Amazon Resource Name (ARN) for the service access role that you want to use to create the endpoint.
The Secure Sockets Layer (SSL) mode to use for the SSL connection. The default is none
none
Valid values are: "none", "require", "verify-ca", "verify-full"
"none"
"require"
"verify-ca"
"verify-full"
Settings in JSON format for the source and target SAP ASE endpoint. For information about other available settings, see Extra connection attributes when using SAP ASE as a source for AWS DMS (https://docs.aws.amazon.com/dms/latest/userguide/CHAP_Source.SAP.html) and Extra connection attributes when using SAP ASE as a target for AWS DMS (https://docs.aws.amazon.com/dms/latest/userguide/CHAP_Target.SAP.html) in the AWS Database Migration Service User Guide.
One or more tags to be assigned to the endpoint.
The user name to be used to log in to the endpoint database.
This class forms part of Paws, documenting arguments for method CreateEndpoint in Paws::DMS
The source code is located here: https://github.com/pplu/aws-sdk-perl
Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
To install Paws, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Paws
CPAN shell
perl -MCPAN -e shell install Paws
For more information on module installation, please visit the detailed CPAN module installation guide.