The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Paws::DMS::MongoDbSettings

USAGE

This class represents one of two things:

Arguments in a call to a service

Use the attributes of this class as arguments to methods. You shouldn't make instances of this class. Each attribute should be used as a named argument in the calls that expect this type of object.

As an example, if Att1 is expected to be a Paws::DMS::MongoDbSettings object:

  $service_obj->Method(Att1 => { AuthMechanism => $value, ..., Username => $value  });

Results returned from an API call

Use accessors for each attribute. If Att1 is expected to be an Paws::DMS::MongoDbSettings object:

  $result = $service_obj->Method(...);
  $result->Att1->AuthMechanism

DESCRIPTION

This class has no description

ATTRIBUTES

AuthMechanism => Str

  The authentication mechanism you use to access the MongoDB source
endpoint.

Valid values: DEFAULT, MONGODB_CR, SCRAM_SHA_1

DEFAULT – For MongoDB version 2.x, use MONGODB_CR. For MongoDB version 3.x, use SCRAM_SHA_1. This attribute is not used when authType=No.

AuthSource => Str

  The MongoDB database name. This attribute is not used when
C<authType=NO>.

The default is admin.

AuthType => Str

  The authentication type you use to access the MongoDB source endpoint.

Valid values: NO, PASSWORD

When NO is selected, user name and password parameters are not used and can be empty.

DatabaseName => Str

  The database name on the MongoDB source endpoint.

DocsToInvestigate => Str

  Indicates the number of documents to preview to determine the document
organization. Use this attribute when C<NestingLevel> is set to ONE.

Must be a positive value greater than 0. Default value is 1000.

ExtractDocId => Str

  Specifies the document ID. Use this attribute when C<NestingLevel> is
set to NONE.

Default value is false.

KmsKeyId => Str

  The AWS KMS key identifier that is used to encrypt the content on the
replication instance. If you don't specify a value for the C<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.

NestingLevel => Str

  Specifies either document or table mode.

Valid values: NONE, ONE

Default value is NONE. Specify NONE to use document mode. Specify ONE to use table mode.

Password => Str

  The password for the user account you use to access the MongoDB source
endpoint.

Port => Int

  The port value for the MongoDB source endpoint.

ServerName => Str

  The name of the server on the MongoDB source endpoint.

Username => Str

  The user name you use to access the MongoDB source endpoint.

SEE ALSO

This class forms part of Paws, describing an object used in Paws::DMS

BUGS and CONTRIBUTIONS

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