ALIYUN::SAG::ACL is used to create an access control list (ACL).
Syntax
{
"Type": "ALIYUN::SAG::ACL",
"Properties": {
"Name": String
}
}
Properties
Name | Type | Required | Editable | Description | Validity |
---|---|---|---|---|---|
Name | String | Yes | Yes | The name of the ACL to be created. |
The name must be 2 to 128 characters in length and can contain letters, digits, periods (.), underscores (_), and hyphens (-). It must start with a letter but cannot start with http:// or https://. |
Response parameters
Fn::GetAtt
AclId: the ID of the ACL.
Examples
{
"ROSTemplateFormatVersion": "2015-09-01",
"Resources": {
"ACL": {
"Type": "ALIYUN::SAG::ACL",
"Properties": {
"Name": {
"Ref": "Name"
}
}
}
},
"Parameters": {
"Name": {
"Type": "String",
"Description": "ACL name.\nThe length is 2-128 characters. It must start with a letter. It can contain digits, periods (.), underscores (_) and hyphens (-), but cannot start with http:// or https://."
}
},
"Outputs": {
"AclId": {
"Description": "ACL ID.",
"Value": {
"Fn::GetAtt": [
"ACL",
"AclId"
]
}
}
}
}