edit-icon download-icon

ALIYUN::RDS::DBInstanceSecurityIps

Last Updated: Jun 13, 2018

The ALIYUN::RDS::DBInstanceSecurityIps type is used to modify the instance access whitelist.

Syntax

  1. {
  2. "Type" : "ALIYUN::RDS::DBInstanceSecurityIps",
  3. "Properties" : {
  4. "DBInstanceId" : String,
  5. "DBInstanceIPArrayName" : String,
  6. "DBInstanceIPArrayAttribute" : String
  7. }
  8. }

Properties

Name Type Required Update allowed Description Constraint
DBInstanceId string Yes No Instance ID. N/A
DBInstanceIPArrayAttribute string Yes Yes This parameter differentiates attribute values. Arrays labeled with “hidden” are not displayed.
DBInstanceIPArrayName string No No IP whitelist group name. The group name can contain only lowercase English letters and underscores (_).

Return values

Fn::GetAtt

SecurityIps: instance access whitelist after modification.

Example

  1. {
  2. "ROSTemplateFormatVersion" : "2015-09-01",
  3. "Resources" : {
  4. "Database": {
  5. "Type": "ALIYUN::RDS::DBInstanceSecurityIps",
  6. "Properties": {
  7. "DBInstanceId": "rds9ogv018s75py54433",
  8. "DBInstanceIPArrayAttribute": "1.1.1.1, 2.2.2.2"
  9. }
  10. }
  11. },
  12. "Outputs": {
  13. "DBInstanceId": {
  14. "Value" : {"get_attr": ["SecurityIps"]}
  15. }
  16. }
  17. }
Thank you! We've received your feedback.