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'); my $CreateEndpointResponse = $dms->CreateEndpoint( EndpointIdentifier => 'MyString', EndpointType => 'source', EngineName => 'MyString', CertificateArn => 'MyString', # OPTIONAL DatabaseName => 'MyString', # OPTIONAL DmsTransferSettings => { BucketName => 'MyString', ServiceAccessRoleArn => 'MyString', }, # OPTIONAL DynamoDbSettings => { ServiceAccessRoleArn => 'MyString', }, # OPTIONAL ElasticsearchSettings => { EndpointUri => 'MyString', ServiceAccessRoleArn => 'MyString', ErrorRetryDuration => 1, # OPTIONAL FullLoadErrorPercentage => 1, # OPTIONAL }, # OPTIONAL ExternalTableDefinition => 'MyString', # OPTIONAL ExtraConnectionAttributes => 'MyString', # OPTIONAL KinesisSettings => { MessageFormat => 'json', # values: json; OPTIONAL ServiceAccessRoleArn => 'MyString', StreamArn => 'MyString', }, # OPTIONAL KmsKeyId => 'MyString', # OPTIONAL MongoDbSettings => { AuthMechanism => 'default', # values: default, mongodb_cr, scram_sha_1; OPTIONAL AuthSource => 'MyString', AuthType => 'no', # values: no, password; OPTIONAL DatabaseName => 'MyString', DocsToInvestigate => 'MyString', ExtractDocId => 'MyString', KmsKeyId => 'MyString', NestingLevel => 'none', # values: none, one; OPTIONAL Password => 'MySecretString', # OPTIONAL Port => 1, # OPTIONAL ServerName => 'MyString', Username => 'MyString', }, # OPTIONAL Password => 'MySecretString', # OPTIONAL Port => 1, # OPTIONAL RedshiftSettings => { AcceptAnyDate => 1, # OPTIONAL AfterConnectScript => 'MyString', BucketFolder => 'MyString', BucketName => 'MyString', ConnectionTimeout => 1, # OPTIONAL DatabaseName => 'MyString', DateFormat => 'MyString', EmptyAsNull => 1, # OPTIONAL EncryptionMode => 'sse-s3', # values: sse-s3, sse-kms; OPTIONAL FileTransferUploadStreams => 1, # OPTIONAL LoadTimeout => 1, # OPTIONAL MaxFileSize => 1, # OPTIONAL Password => 'MySecretString', # OPTIONAL Port => 1, # OPTIONAL RemoveQuotes => 1, # OPTIONAL ReplaceChars => 'MyString', ReplaceInvalidChars => 'MyString', ServerName => 'MyString', ServerSideEncryptionKmsKeyId => 'MyString', ServiceAccessRoleArn => 'MyString', TimeFormat => 'MyString', TrimBlanks => 1, # OPTIONAL TruncateColumns => 1, # OPTIONAL Username => 'MyString', WriteBufferSize => 1, # OPTIONAL }, # OPTIONAL S3Settings => { BucketFolder => 'MyString', BucketName => 'MyString', CdcInsertsOnly => 1, # OPTIONAL CompressionType => 'none', # values: none, gzip; OPTIONAL CsvDelimiter => 'MyString', CsvRowDelimiter => 'MyString', DataFormat => 'csv', # values: csv, parquet; OPTIONAL DataPageSize => 1, # OPTIONAL DictPageSizeLimit => 1, # OPTIONAL EnableStatistics => 1, # OPTIONAL EncodingType => 'plain', # values: plain, plain-dictionary, rle-dictionary; OPTIONAL EncryptionMode => 'sse-s3', # values: sse-s3, sse-kms; OPTIONAL ExternalTableDefinition => 'MyString', ParquetVersion => 'parquet-1-0', # values: parquet-1-0, parquet-2-0; OPTIONAL RowGroupLength => 1, # OPTIONAL ServerSideEncryptionKmsKeyId => 'MyString', ServiceAccessRoleArn => 'MyString', }, # OPTIONAL ServerName => 'MyString', # OPTIONAL ServiceAccessRoleArn => 'MyString', # OPTIONAL SslMode => 'none', # OPTIONAL Tags => [ { Key => 'MyString', Value => 'MyString', }, ... ], # OPTIONAL Username => 'MyString', # OPTIONAL ); # 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 attributes 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 attributes is as follows: ServiceAccessRoleArn=string,BucketName=string,CompressionType=string
ServiceAccessRoleArn=string,BucketName=string,CompressionType=string
JSON syntax for these attributes 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 more information about the 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 User Guide.
The database endpoint identifier. Identifiers must begin with a letter; must contain only ASCII letters, digits, and hyphens; and must not end with a hyphen or contain two consecutive hyphens.
The type of endpoint.
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, and sqlserver.
EndPointType
mysql
oracle
postgres
mariadb
aurora
aurora-postgresql
redshift
s3
db2
azuredb
sybase
dynamodb
mongodb
sqlserver
The external table definition.
Additional attributes associated with the connection.
Settings in JSON format for the target Amazon Kinesis Data Streams endpoint. For more information about the available settings, see Using Object Mapping to Migrate Data to a Kinesis Data Stream (https://docs.aws.amazon.com/dms/latest/userguide/CHAP_Target.Kinesis.html#CHAP_Target.Kinesis.ObjectMapping ) in the AWS Database Migration User Guide.
The AWS KMS key identifier to use to encrypt the connection parameters. If you don't specify a value for the KmsKeyId parameter, then 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
Settings in JSON format for the source MongoDB endpoint. For more information about the available settings, see the configuration properties section in Using MongoDB as a Target for AWS Database Migration Service (https://docs.aws.amazon.com/dms/latest/userguide/CHAP_Source.MongoDB.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 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 SSL mode can be one of four values: none, require, verify-ca, verify-full. The default value is none.
none
require
verify-ca
verify-full
Valid values are: "none", "require", "verify-ca", "verify-full"
"none"
"require"
"verify-ca"
"verify-full"
Tags to be added 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::SDK::Config, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Paws::SDK::Config
CPAN shell
perl -MCPAN -e shell install Paws::SDK::Config
For more information on module installation, please visit the detailed CPAN module installation guide.