The ALIYUN::MONGODB::GlobalSecurityIPGroup resource creates a global IP whitelist template.
Syntax
{
"Type": "ALIYUN::MONGODB::GlobalSecurityIPGroup",
"Properties": {
"GlobalIgName": String,
"GlobalSecurityIpList": List
}
}Properties
Parameter | Type | Required | Update Allowed | Description | Constraint |
GlobalIgName | String | Yes | Yes | The name of the global IP whitelist template. | None |
GlobalSecurityIpList | List | Yes | Yes | The list of IP addresses in the global IP whitelist template. | You can specify up to 1,000 IP addresses. |
Return values
Fn::GetAtt
GlobalIgName: The name of the global IP whitelist template.
GlobalSecurityGroupId: The ID of the global IP whitelist template.
GlobalSecurityIpList: The list of IP addresses in the global IP whitelist template.
Examples
ROSTemplateFormatVersion: '2015-09-01'
Parameters:
GlobalIgName:
Description:
en: The name of the global IP whitelist template.
Required: true
Type: String
GlobalSecurityIpList:
Description:
en: The list of IP addresses in the global IP whitelist template.
MaxLength: 1000
MinLength: 1
Required: true
Type: Json
Resources:
ExtensionResource:
Properties:
GlobalIgName:
Ref: GlobalIgName
GlobalSecurityIpList:
Ref: GlobalSecurityIpList
Type: ALIYUN::MONGODB::GlobalSecurityIPGroup
Outputs:
GlobalIgName:
Description: The name of the global IP whitelist template.
Value:
Fn::GetAtt:
- ExtensionResource
- GlobalIgName
GlobalSecurityGroupId:
Description: The ID of the global IP whitelist template.
Value:
Fn::GetAtt:
- ExtensionResource
- GlobalSecurityGroupId
GlobalSecurityIpList:
Description: The list of IP addresses in the global IP whitelist template.
Value:
Fn::GetAtt:
- ExtensionResource
- GlobalSecurityIpList
{
"ROSTemplateFormatVersion": "2015-09-01",
"Parameters": {
"GlobalIgName": {
"Type": "String",
"Description": {
"en": "The name of the global IP whitelist template."
},
"Required": true
},
"GlobalSecurityIpList": {
"Type": "Json",
"Description": {
"en": "The list of IP addresses in the global IP whitelist template."
},
"Required": true,
"MinLength": 1,
"MaxLength": 1000
}
},
"Resources": {
"ExtensionResource": {
"Type": "ALIYUN::MONGODB::GlobalSecurityIPGroup",
"Properties": {
"GlobalIgName": {
"Ref": "GlobalIgName"
},
"GlobalSecurityIpList": {
"Ref": "GlobalSecurityIpList"
}
}
}
},
"Outputs": {
"GlobalIgName": {
"Description": "The name of the global IP whitelist template.",
"Value": {
"Fn::GetAtt": [
"ExtensionResource",
"GlobalIgName"
]
}
},
"GlobalSecurityGroupId": {
"Description": "The ID of the global IP whitelist template.",
"Value": {
"Fn::GetAtt": [
"ExtensionResource",
"GlobalSecurityGroupId"
]
}
},
"GlobalSecurityIpList": {
"Description": "The list of IP addresses in the global IP whitelist template.",
"Value": {
"Fn::GetAtt": [
"ExtensionResource",
"GlobalSecurityIpList"
]
}
}
}
}