The built-in function Fn:Index queries the index of an element in a list.Declaration JSON {"Fn:Index":["item_to_find_index",["item1","item2",.]]} YAML Syntax for the full function name:Fn:Index:item_to_find_index-item1-...
The built-in function Fn:GetAZs returns a list of zones that belong to a region.Note This function is suitable only for Elastic Compute Service(ECS)and Virtual Private Cloud(VPC)resources.Declaration JSON {"Fn:GetAZs":...
调用内部函数Fn:Max,获取由数字组成的列表中的最大数字。函数声明 JSON {"Fn:Max":[Number1,Number2,.]} YAML 完整函数的语法。Fn:Max:Number1-Number2-Number3-.缩写形式。Max[Number1,Number2,.]返回值 列表中的最大数字。使用示例!Max...
Fn:GetAtt:ExtensionDataSource-AclType ClassicEgressAddress:Description:Classic network exit address.Value:Fn:GetAtt:ExtensionDataSource-ClassicEgressAddress CreateTime:Description:Creation time.Value:Fn:GetAtt:...
调用内部函数Fn:Min,获取由数字组成的列表中的最小数字。函数声明 JSON {"Fn:Min":[Number1,Number2,Number3,.]} YAML 完整函数的语法。Fn:Min:Number1-Number2-Number3-.缩写形式。Min[Number1,Number2,Number3,.]返回值 列表中的最小...
Network type.Value:Fn:GetAtt:ExtensionDataSource-Netmode OperationLocks:Description:Lock details.Value:Fn:GetAtt:ExtensionDataSource-OperationLocks PaymentType:Description:The billing method of the EIP.Value:Fn:GetAtt:...
调用内部函数Fn:If,如果指定的条件计算为true,则返回一个值;如果指定的条件计算为false,则返回另一个值。说明 在模板Resources和Outputs属性值中支持Fn:If内部函数,您可以使用 ALIYUN:NoValue 伪参数作为返回值来删除相应的属性。函数...
调用内部函数Fn:Base64Decode,返回Base64编码字符串的解码结果。函数声明 JSON {"Fn:Base64Decode":"stringToDecode"} YAML 完整函数名的语法。Fn:Base64Decode:stringToDecode 缩写形式语法。Base64Decode stringToDecode 参数信息 ...
Fn:GetAtt:ExtensionDataSource-TotalInstance ServiceConfig:Description:The configurations of the service.Value:Fn:GetAtt:ExtensionDataSource-ServiceConfig AccessToken:Description:The request token of the service.Value:Fn:...
VSwitchId:实例所属的交换机ID。CreateTime:实例的创建时间。DbNodeCount:节点数量。LatestMinorVersion:实例支持的最新内核版本。Expired:实例过期时间。EcsSecurityGroupRelations:绑定的安全组关系列表。LockMode:实例锁定状态。...
The built-in function Fn:MatchPattern checks whether a value of the String type matches the condition in a regular expression.If the value matches the condition,true is returned.Otherwise,false is returned.Declaration JSON...
Fn:GetAtt:ExtensionDataSource-SourceEndpointRegion PaymentType:Description:The payment type of the resource.Value:Fn:GetAtt:ExtensionDataSource-PaymentType BackupPlanId:Description:The ID of the backup plan.Value:Fn:GetAtt...
VSwitchId:虚拟交换机ID。CreateTime:实例创建时间。InstanceName:实例名称。VpcId:专有网络ID。DomainEndpoint:默认接入点的域名接入点。IoMaxSpec:流量规格。ServiceVersion:已部署消息队列的Kafka版本。示例 YAML ...
The built-in function Fn:Indent adjusts the indentation format of a string.Declaration JSON {"Fn:Indent":["String","Level","Size"]} YAML Fn:Indent:String-Level-Size Parameters String:the string whose indentation format you...
调用内部函数Fn:Avg,对一组数求平均值。函数声明 JSON {"Fn:Avg":[ndigits,[number1,number2,.]]} YAML 完整函数名。Fn:Avg:ndigits-number1-number2-.缩写形式。Avg[ndigits,[number1,number2,.]]参数信息 ndigits:平均值保留几位小数,...
VSwitchIds:查询到的 VPC 中交换机的列表信息。CreateTime:专有网络的创建时间。RouterId:VPC 路由器的 ID。CidrBlock:VPC 的 IPv4 网段。UserCidrs:用户侧网段的列表。DhcpOptionsSetId:DHCP 选项集的 ID。VpcId:专有网络ID。...
Fn:GetAtt:ExtensionResource-Image Gpu:Description:Number of service GPU cards.Value:Fn:GetAtt:ExtensionResource-Gpu CallerUid:Description:The ID of the service creator,which can be the ID of the RAM account.Value:Fn:GetAtt...
VSwitchId:私网实例的交换机 ID。CreateTime:传统型负载均衡实例的创建时间。RenewalStatus:续费状态。RenewalCycUnit:自动续费周期。SlaveZoneId:传统型负载均衡实例的备可用区 ID。InternetChargeType:公网类型实例付费方式。...
调用内部函数Fn:Contains,如果列表中至少有一个成员与指定的值匹配,则返回true,否则返回false。函数声明 JSON {"Fn:Contains":[[value_1,value_2,.],value]} YAML 完整函数的语法。Fn:Contains:value_1-value_2-.-value 缩写形式。...
Fn:GetAtt:ExtensionDataSource-ProductInfo InstanceId:Description:The ID of the RocketMQ instance.Value:Fn:GetAtt:ExtensionDataSource-InstanceId NetworkInfo:Description:'The network information.' Value:Fn:GetAtt:...
Value":{"Fn:GetAtt":["ExtensionResource","CreateTime"]} },"DnsTxt":{"Description":"DNS txt.","Value":{"Fn:GetAtt":["ExtensionResource","DnsTxt"]} },"CnameConfirmStatus":{"Description":"Cname confirm status.","Value":{"Fn:...
VSwitchId:实例所属的虚拟交换机 ID。CreateTime:模板创建时间。NetworkInterface:弹性网卡信息。Period:购买资源的时长。LaunchTemplateId:模板 ID。DeletionProtection:实例释放保护属性。SecurityGroupIds:实例的安全组 ID列表。...
调用内部函数Fn:GetJsonValue,解析JSON字符串,获取指定的Key在第一层所对应的值。函数声明 JSON {"Fn:GetJsonValue":["key","json_string"]} YAML 完整函数的语法。Fn:GetJsonValue:key-json_string 缩写形式。GetJsonValue[key,json_...
调用内部函数Fn:GetAtt,返回模板中对应资源的返回值。Fn:GetAtt函数用于获取资源栈资源的返回值 函数声明 JSON {"Fn:GetAtt":["logicalNameOfResource","attributeName"]} YAML 完整函数名的语法。Fn:GetAtt:logicalNameOfResource-...
Fn:Select 您可以通过嵌套Fn:Select和Fn:FindInMap函数获取Mappings中的多层映射值,ROS只支持通过Fn:FindInMap函数获取Mappings中的value。当您想获取Mappings中的多层映射值时,您可以先通过Fn:FindInMap获取双层映射的值,此时返回一个...