The ALIYUN::SAG::ACLRule resource type adds an access control rule.
Syntax
{
"Type": "ALIYUN::SAG::ACLRule",
"Properties": {
"Direction": String,
"Description": String,
"AclId": String,
"SourceCidr": String,
"DestCidr": String,
"Priority": Integer,
"DestPortRange": String,
"Policy": String,
"IpProtocol": String,
"SourcePortRange": String,
"Type": String,
"DpiSignatureIds": List,
"Name": String,
"DpiGroupIds": List
}
}
Properties
|
Property name |
Type |
Required |
Update allowed |
Description |
Constraints |
|
Direction |
String |
Yes |
Yes |
Direction of the rule. |
Valid values:
|
|
Description |
String |
No |
Yes |
Description of the rule. |
1 to 512 characters. |
|
AclId |
String |
Yes |
No |
The instance ID of Resource Access Management (RAM). |
None |
|
SourceCidr |
String |
Yes |
Yes |
Source CIDR block. |
CIDR format. Example: 192.168.1.0/24. |
|
DestCidr |
String |
Yes |
Yes |
Destination CIDR block. |
CIDR format. Example: 192.168.10.0/24. |
|
Priority |
Integer |
No |
Yes |
Priority of the rule. |
Valid values: 1 to 100. Default: 1. |
|
DestPortRange |
String |
Yes |
Yes |
Destination port range. |
None |
|
Policy |
String |
Yes |
Yes |
Authorization policy of the rule. |
Valid values:
|
|
IpProtocol |
String |
Yes |
Yes |
Protocol that the rule applies to. |
Not case-sensitive. |
|
SourcePortRange |
String |
Yes |
Yes |
Source port range. |
None |
|
Type |
String |
No |
Yes |
Type of the rule. |
Valid values:
|
|
DpiSignatureIds |
List |
No |
Yes |
Application IDs. |
Maximum: 100. Call ListDpiSignatures to query application IDs. |
|
Name |
String |
No |
Yes |
Name of the rule. |
2 to 100 characters, starting with a letter. Supports letters, digits, underscores (_), and hyphens (-). |
|
DpiGroupIds |
List |
No |
Yes |
Application group IDs. |
Maximum: 100. Call ListDpiGroups to query group IDs. |
Return values
Fn::GetAtt
AcrId: The ID of the access control rule.