![]() |
![]()
| ![]() |
![]()
NAMEPaws::DMS::MongoDbSettings USAGEThis 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 DESCRIPTIONProvides information that defines a MongoDB endpoint. ATTRIBUTESAuthMechanism => StrThe authentication mechanism you use to access the MongoDB source endpoint. For the default value, in MongoDB version 2.x, "default" is "mongodb_cr". For MongoDB version 3.x or later, "default" is "scram_sha_1". This setting isn't used when "AuthType" is set to "no". AuthSource => StrThe MongoDB database name. This setting isn't used when "AuthType" is set to "no". The default is "admin". AuthType => StrThe authentication type you use to access the MongoDB source endpoint. When when set to "no", user name and password parameters are not used and can be empty. DatabaseName => StrThe database name on the MongoDB source endpoint. DocsToInvestigate => StrIndicates the number of documents to preview to determine the document organization. Use this setting when "NestingLevel" is set to "one". Must be a positive value greater than 0. Default value is 1000. ExtractDocId => StrSpecifies the document ID. Use this setting when "NestingLevel" is set to "none". Default value is "false". KmsKeyId => StrThe AWS KMS key identifier that is used to encrypt the content on the replication instance. 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. NestingLevel => StrSpecifies either document or table mode. Default value is "none". Specify "none" to use document mode. Specify "one" to use table mode. Password => StrThe password for the user account you use to access the MongoDB source endpoint. Port => IntThe port value for the MongoDB source endpoint. SecretsManagerAccessRoleArn => StrThe full Amazon Resource Name (ARN) of the IAM role that specifies AWS DMS as the trusted entity and grants the required permissions to access the value in "SecretsManagerSecret". "SecretsManagerSecret" has the value of the AWS Secrets Manager secret that allows access to the MongoDB endpoint. You can specify one of two sets of values for these permissions. You can specify the values for this setting and "SecretsManagerSecretId". Or you can specify clear-text values for "UserName", "Password", "ServerName", and "Port". You can't specify both. For more information on creating this "SecretsManagerSecret" and the "SecretsManagerAccessRoleArn" and "SecretsManagerSecretId" required to access it, see Using secrets to access AWS Database Migration Service resources (https://docs.aws.amazon.com/https:/docs.aws.amazon.com/dms/latest/userguide/CHAP_Security.html#security-iam-secretsmanager) in the AWS Database Migration Service User Guide. SecretsManagerSecretId => StrThe full ARN, partial ARN, or friendly name of the "SecretsManagerSecret" that contains the MongoDB endpoint connection details. ServerName => StrThe name of the server on the MongoDB source endpoint. Username => StrThe user name you use to access the MongoDB source endpoint. SEE ALSOThis class forms part of Paws, describing an object used in Paws::DMS BUGS and CONTRIBUTIONSThe source code is located here: <https://github.com/pplu/aws-sdk-perl> Please report bugs to: <https://github.com/pplu/aws-sdk-perl/issues>
|