ALIYUN::ENS::InstanceSecurityGroupAttachment类型用于将一台ENS实例加入到指定的安全组。
语法
{
  "Type": "ALIYUN::ENS::InstanceSecurityGroupAttachment",
  "Properties": {
    "InstanceId": String,
    "SecurityGroupId": String
  }
}属性
| 属性名称 | 类型 | 必须 | 允许更新 | 描述 | 约束 | 
| InstanceId | String | 否 | 否 | 实例ID。 | 无 | 
| SecurityGroupId | String | 是 | 否 | 安全组ID。 | 无 | 
返回值
Fn::GetAtt
- InstanceId:实例ID。 
- SecurityGroupId:安全组ID。 
示例
该文章对您有帮助吗?