DATASOURCE::ApiGateway::Instance类型用于查询单个实例信息。
语法
{
"Type": "DATASOURCE::ApiGateway::Instance",
"Properties": {
"InstanceId": String,
"RefreshOptions": String
}
}
属性
属性名称 | 类型 | 必须 | 允许更新 | 描述 | 约束 |
InstanceId | String | 是 | 是 | 实例ID。 | 无 |
RefreshOptions | String | 否 | 是 | 当资源栈更新时,数据源资源的刷新策略。 | 有效值:
|
返回值
Fn::GetAtt
ClassicEgressAddress:经典网络出口地址。
InstanceSpec:实例规格。
HttpsPolicy:Https策略。
InternetEgressAddress:公网出口地址。
ZoneLocalName:可用区域。
InstanceSpecAttributes:实例规格。
InstanceRpsLimit:实例RPS限制。
VpcSlbIntranetEnable:是否开启内网VPC SLB。
ExpiredTime:实例过期时间。
UserVpcId:用户VPC ID。
PaymentType:资源的支付类型。
InstanceType:实例类型。
UserVswitchId:用户交互机ID。
VpcEgressAddress:内网VPC出口网段。
ZoneId:可用区ID。
InstanceId:实例ID。
AclId:访问控制策略ID。
CreateTime:创建时间。
VpcOwnerId:VPC实例所属账号ID。
AclName:访问控制策略名称。
InstanceName:实例名称。
EgressIpv6Enable:IPV6出访能力是否支持。
AclStatus:是否开启访问控制功能。
VpcIntranetEnable:是否开启内网VPC。
AclType:访问控制的类型。
SupportIpv6:是否支持Ipv6。
VipTypeList:Vip类型。
示例
YAML
格式
ROSTemplateFormatVersion: '2015-09-01'
Parameters:
InstanceId:
Description:
en: Instance id.
Required: true
Type: String
Resources:
ExtensionDataSource:
Properties:
InstanceId:
Ref: InstanceId
Type: DATASOURCE::ApiGateway::Instance
Outputs:
AclId:
Description: Access control ID.
Value:
Fn::GetAtt:
- ExtensionDataSource
- AclId
AclName:
Description: Access control name.
Value:
Fn::GetAtt:
- ExtensionDataSource
- AclName
AclStatus:
Description: Access control type.
Value:
Fn::GetAtt:
- ExtensionDataSource
- AclStatus
AclType:
Description: Access control type.
Value:
Fn::GetAtt:
- ExtensionDataSource
- AclType
ClassicEgressAddress:
Description: Classic network exit address.
Value:
Fn::GetAtt:
- ExtensionDataSource
- ClassicEgressAddress
CreateTime:
Description: Creation time.
Value:
Fn::GetAtt:
- ExtensionDataSource
- CreateTime
EgressIpv6Enable:
Description: Does IPV6 Capability Support.
Value:
Fn::GetAtt:
- ExtensionDataSource
- EgressIpv6Enable
ExpiredTime:
Description: Instance expiration time.
Value:
Fn::GetAtt:
- ExtensionDataSource
- ExpiredTime
HttpsPolicy:
Description: Https policy.
Value:
Fn::GetAtt:
- ExtensionDataSource
- HttpsPolicy
InstanceId:
Description: Instance id.
Value:
Fn::GetAtt:
- ExtensionDataSource
- InstanceId
InstanceName:
Description: Instance name.
Value:
Fn::GetAtt:
- ExtensionDataSource
- InstanceName
InstanceRpsLimit:
Description: Instance rps limits.
Value:
Fn::GetAtt:
- ExtensionDataSource
- InstanceRpsLimit
InstanceSpec:
Description: Instance type.
Value:
Fn::GetAtt:
- ExtensionDataSource
- InstanceSpec
InstanceSpecAttributes:
Description: Instance type.
Value:
Fn::GetAtt:
- ExtensionDataSource
- InstanceSpecAttributes
InstanceType:
Description: Instance type.
Value:
Fn::GetAtt:
- ExtensionDataSource
- InstanceType
InternetEgressAddress:
Description: Public network exit address.
Value:
Fn::GetAtt:
- ExtensionDataSource
- InternetEgressAddress
PaymentType:
Description: The payment type of the resource.
Value:
Fn::GetAtt:
- ExtensionDataSource
- PaymentType
SupportIpv6:
Description: Does ipv6 support.
Value:
Fn::GetAtt:
- ExtensionDataSource
- SupportIpv6
UserVpcId:
Description: User's VpcID.
Value:
Fn::GetAtt:
- ExtensionDataSource
- UserVpcId
UserVswitchId:
Description: DescribeInstances.
Value:
Fn::GetAtt:
- ExtensionDataSource
- UserVswitchId
VipTypeList:
Description: Vip type.
Value:
Fn::GetAtt:
- ExtensionDataSource
- VipTypeList
VpcEgressAddress:
Description: Intranet VPC exit network segment.
Value:
Fn::GetAtt:
- ExtensionDataSource
- VpcEgressAddress
VpcIntranetEnable:
Description: Whether Vpc allows authorization.
Value:
Fn::GetAtt:
- ExtensionDataSource
- VpcIntranetEnable
VpcOwnerId:
Description: Vpc licensor ID.
Value:
Fn::GetAtt:
- ExtensionDataSource
- VpcOwnerId
VpcSlbIntranetEnable:
Description: Whether the slb of the Vpc supports.
Value:
Fn::GetAtt:
- ExtensionDataSource
- VpcSlbIntranetEnable
ZoneId:
Description: Zone.
Value:
Fn::GetAtt:
- ExtensionDataSource
- ZoneId
ZoneLocalName:
Description: Available area.
Value:
Fn::GetAtt:
- ExtensionDataSource
- ZoneLocalName
JSON
格式
{
"ROSTemplateFormatVersion": "2015-09-01",
"Parameters": {
"InstanceId": {
"Type": "String",
"Description": {
"en": "Instance id."
},
"Required": true
}
},
"Resources": {
"ExtensionDataSource": {
"Type": "DATASOURCE::ApiGateway::Instance",
"Properties": {
"InstanceId": {
"Ref": "InstanceId"
}
}
}
},
"Outputs": {
"ClassicEgressAddress": {
"Description": "Classic network exit address.",
"Value": {
"Fn::GetAtt": [
"ExtensionDataSource",
"ClassicEgressAddress"
]
}
},
"InstanceSpec": {
"Description": "Instance type.",
"Value": {
"Fn::GetAtt": [
"ExtensionDataSource",
"InstanceSpec"
]
}
},
"HttpsPolicy": {
"Description": "Https policy.",
"Value": {
"Fn::GetAtt": [
"ExtensionDataSource",
"HttpsPolicy"
]
}
},
"InternetEgressAddress": {
"Description": "Public network exit address.",
"Value": {
"Fn::GetAtt": [
"ExtensionDataSource",
"InternetEgressAddress"
]
}
},
"ZoneLocalName": {
"Description": "Available area.",
"Value": {
"Fn::GetAtt": [
"ExtensionDataSource",
"ZoneLocalName"
]
}
},
"InstanceSpecAttributes": {
"Description": "Instance type.",
"Value": {
"Fn::GetAtt": [
"ExtensionDataSource",
"InstanceSpecAttributes"
]
}
},
"InstanceRpsLimit": {
"Description": "Instance rps limits.",
"Value": {
"Fn::GetAtt": [
"ExtensionDataSource",
"InstanceRpsLimit"
]
}
},
"VpcSlbIntranetEnable": {
"Description": "Whether the slb of the Vpc supports.",
"Value": {
"Fn::GetAtt": [
"ExtensionDataSource",
"VpcSlbIntranetEnable"
]
}
},
"ExpiredTime": {
"Description": "Instance expiration time.",
"Value": {
"Fn::GetAtt": [
"ExtensionDataSource",
"ExpiredTime"
]
}
},
"UserVpcId": {
"Description": "User's VpcID.",
"Value": {
"Fn::GetAtt": [
"ExtensionDataSource",
"UserVpcId"
]
}
},
"PaymentType": {
"Description": "The payment type of the resource.",
"Value": {
"Fn::GetAtt": [
"ExtensionDataSource",
"PaymentType"
]
}
},
"InstanceType": {
"Description": "Instance type.",
"Value": {
"Fn::GetAtt": [
"ExtensionDataSource",
"InstanceType"
]
}
},
"UserVswitchId": {
"Description": "DescribeInstances.",
"Value": {
"Fn::GetAtt": [
"ExtensionDataSource",
"UserVswitchId"
]
}
},
"VpcEgressAddress": {
"Description": "Intranet VPC exit network segment.",
"Value": {
"Fn::GetAtt": [
"ExtensionDataSource",
"VpcEgressAddress"
]
}
},
"ZoneId": {
"Description": "Zone.",
"Value": {
"Fn::GetAtt": [
"ExtensionDataSource",
"ZoneId"
]
}
},
"InstanceId": {
"Description": "Instance id.",
"Value": {
"Fn::GetAtt": [
"ExtensionDataSource",
"InstanceId"
]
}
},
"AclId": {
"Description": "Access control ID.",
"Value": {
"Fn::GetAtt": [
"ExtensionDataSource",
"AclId"
]
}
},
"CreateTime": {
"Description": "Creation time.",
"Value": {
"Fn::GetAtt": [
"ExtensionDataSource",
"CreateTime"
]
}
},
"VpcOwnerId": {
"Description": "Vpc licensor ID.",
"Value": {
"Fn::GetAtt": [
"ExtensionDataSource",
"VpcOwnerId"
]
}
},
"AclName": {
"Description": "Access control name.",
"Value": {
"Fn::GetAtt": [
"ExtensionDataSource",
"AclName"
]
}
},
"InstanceName": {
"Description": "Instance name.",
"Value": {
"Fn::GetAtt": [
"ExtensionDataSource",
"InstanceName"
]
}
},
"EgressIpv6Enable": {
"Description": "Does IPV6 Capability Support.",
"Value": {
"Fn::GetAtt": [
"ExtensionDataSource",
"EgressIpv6Enable"
]
}
},
"AclStatus": {
"Description": "Access control type.",
"Value": {
"Fn::GetAtt": [
"ExtensionDataSource",
"AclStatus"
]
}
},
"VpcIntranetEnable": {
"Description": "Whether Vpc allows authorization.",
"Value": {
"Fn::GetAtt": [
"ExtensionDataSource",
"VpcIntranetEnable"
]
}
},
"AclType": {
"Description": "Access control type.",
"Value": {
"Fn::GetAtt": [
"ExtensionDataSource",
"AclType"
]
}
},
"SupportIpv6": {
"Description": "Does ipv6 support.",
"Value": {
"Fn::GetAtt": [
"ExtensionDataSource",
"SupportIpv6"
]
}
},
"VipTypeList": {
"Description": "Vip type.",
"Value": {
"Fn::GetAtt": [
"ExtensionDataSource",
"VipTypeList"
]
}
}
}
}