ALIYUN::SAG::ACLAssociation is used to associate an access control list (ACL) with a Smart Access Gateway (SAG) instance.

Syntax

{
  "Type": "ALIYUN::SAG::ACLAssociation",
  "Properties": {
    "SmartAGId": String,
    "AclId": String
  }
}

Properties

Name Type Required Editable Description Validity
SmartAGId String Yes No The ID of the SAG instance to be associated with the ACL. None
AclId String Yes No The ID of the ACL. None

Response parameters

Fn::GetAtt

None

Examples

{
  "ROSTemplateFormatVersion": "2015-09-01",
  "Resources": {
    "ACLAssociation": {
      "Type": "ALIYUN::SAG::ACLAssociation",
      "Properties": {
        "SmartAGId": {
          "Ref": "SmartAGId"
        },
        "AclId": {
          "Ref": "AclId"
        }
      }
    }
  },
  "Parameters": {
    "SmartAGId": {
      "Type": "String",
      "Description": "The ID of the SAG instance to be associated with the ACL."
    },
    "AclId": {
      "Type": "String",
      "Description": "ACL ID."
    }
  },
  "Outputs": {
    "SmartAGId": {
      "Description": "The ID of the SAG instance to be associated with the ACL.",
      "Value": {
        "Fn::GetAtt": [
          "ACLAssociation",
          "SmartAGId"
        ]
      }
    }
  }
}