使用RDS连接器API Mule 4(CreateDbInstance)创建AWS Aurora数据库

时间:2019-12-04 12:17:37

标签: amazon-rds amazon-rds-aurora mule4

在m子4中使用rds连接器创建aurora数据库时,需要包括以下参数,

  • dbInstanceClass
  • dbInstanceIdentifier
  • 引擎
  • allocatedStorage
  • masterusername
  • masterpassword

但是当我以以下格式执行它时,

  • dbInstanceClass = db.r4.large
  • dbInstanceIdentifier =测试人员实例
  • engine = aurora
  • masterUsername = test
  • masterUserPassword = testtest
  • allocatedStorage = 88

它返回错误为

Invalid storage size for engine name oscar and storage type aurora: 88
(Service: AmazonRDS; Status Code: 400; Error Code: InvalidParameterCombination;...

当我删除分配的存储时,它会按要求显示错误

The parameter AllocatedStorage must be provided and must not be null.
(Service: AmazonRDS; Status Code: 400; Error Code: InvalidParameterValue;...)

但是在Aws Doc中,他们描述为

已分配存储空间

不适用。尽管您只需要为Aurora群集卷中使用的空间付费,Aurora群集卷就会随着数据库中数据量的增加而自动增长。

对于mysql,他们给出了以下示例请求

https://rds.us-east-1.amazonaws.com/?Action=CreateDBInstance&AllocatedStorage=15&DBInstanceClass=db.m1.large&DBInstanceIdentifier=myawsuser-dbi01&Engine=MySQL&MasterUserPassword=<password>&MasterUsername=myawsuser&SignatureMethod=HmacSHA256&SignatureVersion=4&Version=2014-09-01&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIADQKE4SARGYLE/20140424/us-east-1/rds/aws4_request&X-Amz-Date=20140424T194844Z&X-Amz-SignedHeaders=content-type;host;user-agent;x-amz-content-sha256;x-amz-date&X-Amz-Signature=bee4aabc750bf7dad0cd9e22b952bd6089d91e2a16592c2293e532eeaab8bc77

那么RDS Aurora或Aurora-mysql CreateDBInstance 的正确请求格式是什么?

0 个答案:

没有答案