DATASOURCE::GA::Acl类型用于查询单个访问控制策略组详情。
语法
{
"Type": "DATASOURCE::GA::Acl",
"Properties": {
"AclId": String,
"RefreshOptions": String
}
}
属性
属性名称 | 类型 | 必须 | 允许更新 | 描述 | 约束 |
AclId | String | 是 | 是 | 访问控制策略组ID。 | 无 |
RefreshOptions | String | 否 | 是 | 当资源栈更新时,数据源资源的刷新策略。 | 有效值:
|
返回值
Fn::GetAtt
AclEntries:ACL中的条目。
ResourceGroupId:ACL绑定的资源组ID。
AclId:访问控制策略组ID。
AddressIPVersion:访问控制策略组的IP版本。
Tags:ACL绑定的标签。
AclName:访问控制策略组名称。
示例
YAML
格式ROSTemplateFormatVersion: '2015-09-01' Parameters: AclId: Type: String Description: en: The ID of the ACL. Required: true Resources: ExtensionDataSource: Type: DATASOURCE::GA::Acl Properties: AclId: Ref: AclId Outputs: AclEntries: Description: The entries of the ACL. Value: Fn::GetAtt: - ExtensionDataSource - AclEntries ResourceGroupId: Description: The name of the network ACL. Value: Fn::GetAtt: - ExtensionDataSource - ResourceGroupId AclId: Description: The ID of the ACL. Value: Fn::GetAtt: - ExtensionDataSource - AclId AddressIPVersion: Description: The ID of the network ACL. Value: Fn::GetAtt: - ExtensionDataSource - AddressIPVersion Tags: Description: The tag of the ACL. Value: Fn::GetAtt: - ExtensionDataSource - Tags AclName: Description: The ID of the GA instance. Value: Fn::GetAtt: - ExtensionDataSource - AclName
JSON
格式{ "ROSTemplateFormatVersion": "2015-09-01", "Parameters": { "AclId": { "Type": "String", "Description": { "en": "The ID of the ACL." }, "Required": true } }, "Resources": { "ExtensionDataSource": { "Type": "DATASOURCE::GA::Acl", "Properties": { "AclId": { "Ref": "AclId" } } } }, "Outputs": { "AclEntries": { "Description": "The entries of the ACL.", "Value": { "Fn::GetAtt": [ "ExtensionDataSource", "AclEntries" ] } }, "ResourceGroupId": { "Description": "The name of the network ACL.", "Value": { "Fn::GetAtt": [ "ExtensionDataSource", "ResourceGroupId" ] } }, "AclId": { "Description": "The ID of the ACL.", "Value": { "Fn::GetAtt": [ "ExtensionDataSource", "AclId" ] } }, "AddressIPVersion": { "Description": "The ID of the network ACL.", "Value": { "Fn::GetAtt": [ "ExtensionDataSource", "AddressIPVersion" ] } }, "Tags": { "Description": "The tag of the ACL.", "Value": { "Fn::GetAtt": [ "ExtensionDataSource", "Tags" ] } }, "AclName": { "Description": "The ID of the GA instance.", "Value": { "Fn::GetAtt": [ "ExtensionDataSource", "AclName" ] } } } }