ALIYUN::AgentRun::Template
ALIYUN::AgentRun::Template类型用于创建SandBox沙箱模板。
语法
{
"Type": "ALIYUN::AgentRun::Template",
"Properties": {
"TemplateName": String,
"ArmsConfiguration": Map,
"AllowAnonymousManage": Boolean,
"Cpu": Integer,
"CredentialConfiguration": Map,
"ContainerConfiguration": Map,
"Description": String,
"DiskSize": Integer,
"EnableAgent": Boolean,
"ExecutionRoleArn": String,
"EnvironmentVariables": Map,
"LogConfiguration": Map,
"Memory": Integer,
"NetworkConfiguration": Map,
"NasConfig": Map,
"OssConfiguration": List,
"SandboxIdleTimeoutInSeconds": Integer,
"TemplateConfiguration": Map,
"TemplateType": String,
"WorkspaceId": String
}
}
属性
|
属性名称 |
类型 |
必须 |
允许更新 |
描述 |
约束 |
|
TemplateName |
String |
是 |
否 |
模板名称。 |
无 |
|
AllowAnonymousManage |
Boolean |
否 |
是 |
是否允许匿名管理。 |
无 |
|
ArmsConfiguration |
Map |
否 |
是 |
ARMS配置。 |
更多信息,请参考ArmsConfiguration属性。 |
|
ContainerConfiguration |
Map |
否 |
是 |
容器配置。 |
仅允许基于浏览器/代码解释器基础镜像的镜像。更多信息,请参考ContainerConfiguration属性。 |
|
Cpu |
Integer |
否 |
是 |
CPU资源配置。 |
最小值:2。(单位:核)。 |
|
CredentialConfiguration |
Map |
否 |
是 |
凭证配置。 |
更多信息,请参考CredentialConfiguration属性。 |
|
Description |
String |
否 |
是 |
模板描述。 |
无 |
|
DiskSize |
Integer |
否 |
是 |
磁盘大小。 |
最小值:512(单位:MB)。 |
|
EnableAgent |
Boolean |
否 |
是 |
是否启用沙箱代理。 |
无 |
|
EnvironmentVariables |
Map |
否 |
是 |
环境变量。 |
无 |
|
ExecutionRoleArn |
String |
否 |
是 |
执行角色ARN。 |
无 |
|
LogConfiguration |
Map |
否 |
是 |
日志配置。 |
更多信息,请参考LogConfiguration属性。 |
|
Memory |
Integer |
否 |
是 |
内存资源配置。 |
最小值:2048(单位:MB)。 |
|
NasConfig |
Map |
否 |
是 |
NAS配置。 |
更多信息,请参考NasConfig属性。 |
|
NetworkConfiguration |
Map |
否 |
是 |
网络配置。 |
更多信息,请参考NetworkConfiguration属性。 |
|
OssConfiguration |
List |
否 |
是 |
OSS配置。 |
最小长度:1。更多信息,请参考OssConfiguration属性。 |
|
SandboxIdleTimeoutInSeconds |
Integer |
否 |
是 |
沙箱空闲超时时间。 |
最小值:0(单位:秒)。 |
|
TemplateConfiguration |
Map |
否 |
是 |
模板配置。 |
灵活的对象结构,根据模板类型变化。 |
|
TemplateType |
String |
否 |
否 |
模板类型。 |
取值:
|
|
WorkspaceId |
String |
否 |
是 |
工作空间ID。 |
无 |
ArmsConfiguration语法
"ArmsConfiguration": {
"CmsWorkspace": String,
"EnableArms": Boolean,
"ArmsLicenseKey": String
}
ArmsConfiguration属性
|
属性名称 |
类型 |
必须 |
允许更新 |
描述 |
约束 |
|
ArmsLicenseKey |
String |
是 |
是 |
ARMS的许可证密钥。 |
无 |
|
EnableArms |
Boolean |
是 |
是 |
是否启用ARMS。 |
无 |
|
CmsWorkspace |
String |
否 |
是 |
CMS 2.0工作空间ID。 |
无 |
CredentialConfiguration语法
"CredentialConfiguration": {
"CredentialName": String
}
CredentialConfiguration属性
|
属性名称 |
类型 |
必须 |
允许更新 |
描述 |
约束 |
|
CredentialName |
String |
是 |
是 |
凭证名称。 |
无 |
ContainerConfiguration语法
"ContainerConfiguration": {
"AcrInstanceId": String,
"Command": List,
"Port": Integer,
"Image": String,
"ImageRegistryType": String
}
ContainerConfiguration属性
|
属性名称 |
类型 |
必须 |
允许更新 |
描述 |
约束 |
|
ImageRegistryType |
String |
是 |
是 |
镜像仓库类型。 |
取值:
|
|
AcrInstanceId |
String |
否 |
是 |
ACR实例ID。 |
无 |
|
Command |
List |
否 |
是 |
容器命令。 |
无 |
|
Image |
String |
否 |
是 |
容器镜像地址。 |
无 |
|
Port |
Integer |
否 |
是 |
容器端口。 |
最小值:1 最大值:65535 |
LogConfiguration语法
"LogConfiguration": {
"Project": String,
"Logstore": String
}
LogConfiguration属性
|
属性名称 |
类型 |
必须 |
允许更新 |
描述 |
约束 |
|
Logstore |
String |
是 |
是 |
SLS日志库名称。 |
无 |
|
Project |
String |
是 |
是 |
SLS项目名称。 |
无 |
OssConfiguration语法
"OssConfiguration": [
{
"MountPoint": String,
"BucketName": String,
"Permission": String,
"Region": String,
"Prefix": String
}
]
OssConfiguration属性
|
属性名称 |
类型 |
必须 |
允许更新 |
描述 |
约束 |
|
BucketName |
String |
是 |
是 |
OSS存储桶名称。 |
无 |
|
MountPoint |
String |
是 |
是 |
挂载点。 |
无 |
|
Permission |
String |
是 |
是 |
权限。 |
取值:
|
|
Prefix |
String |
是 |
是 |
OSS前缀。 |
无 |
|
Region |
String |
是 |
是 |
地域。 |
无 |
NetworkConfiguration语法
"NetworkConfiguration": {
"VpcId": String,
"VSwitchIds": List,
"SecurityGroupId": String,
"NetworkMode": String
}
NetworkConfiguration属性
|
属性名称 |
类型 |
必须 |
允许更新 |
描述 |
约束 |
|
NetworkMode |
String |
是 |
是 |
网络模式。 |
取值:
|
|
SecurityGroupId |
String |
否 |
是 |
安全组ID。 |
无 |
|
VpcId |
String |
否 |
是 |
VPC ID。 |
无 |
|
VSwitchIds |
List |
否 |
是 |
交换机ID列表。 |
最小长度:1 |
NasConfig语法
"NasConfig": {
"MountPoints": List,
"UserId": Integer,
"GroupId": Integer
}
NasConfig属性
|
属性名称 |
类型 |
必须 |
允许更新 |
描述 |
约束 |
|
GroupId |
Integer |
否 |
是 |
NAS组ID。 |
无 |
|
MountPoints |
List |
否 |
是 |
NAS挂载点。 |
最小长度:1 |
|
UserId |
Integer |
否 |
是 |
NAS用户ID。 |
无 |
MountPoints语法
"MountPoints": [
{
"EnableTLS": Boolean,
"ServerAddr": String,
"MountDir": String
}
]
MountPoints属性
|
属性名称 |
类型 |
必须 |
允许更新 |
描述 |
约束 |
|
EnableTLS |
Boolean |
否 |
是 |
是否启用TLS。 |
无 |
|
MountDir |
String |
否 |
是 |
挂载目录。 |
无 |
|
ServerAddr |
String |
否 |
是 |
NAS服务器地址。 |
无 |
返回值
Fn::GetAtt
-
TemplateArn:模板的ARN。
-
TemplateName:模板名称。
-
TemplateId:模板ID。
示例
ROSTemplateFormatVersion: '2015-09-01'
Parameters:
TemplateName:
Type: String
Description:
en: The name of the template.
Required: true
TemplateType:
Type: String
Description:
en: The type of the template.
AllowedValues:
- CodeInterpreter
- AllInOne
- CustomImage
- ComputerUse
- Browser
Default: Null
Required: false
Description:
Type: String
Description:
en: The description of the template.
AssociationProperty: TextArea
Default: Null
Required: false
Cpu:
Type: Number
Description:
en: 'The CPU resource configuration (unit: cores).'
MinValue: 2
Default: Null
Required: false
Memory:
Type: Number
Description:
en: 'The memory resource configuration (unit: MB).'
MinValue: 2048
Default: Null
Required: false
DiskSize:
Type: Number
Description:
en: 'The disk size (unit: MB).'
MinValue: 512
Default: Null
Required: false
ContainerConfiguration:
Description:
en: The container configuration. Only images based on Browser/Code Interpreter base images are allowed.
Required: false
Default: Null
Type: Json
AssociationPropertyMetadata:
Parameters:
Image:
Type: String
Description:
en: The container image address.
Default: Null
Required: false
ImageRegistryType:
Type: String
Description:
en: The image registry type.
AllowedValues:
- ACR
- ACREE
- CUSTOM
Required: true
AcrInstanceId:
Type: String
Description:
en: The ACR instance ID.
Default: Null
Required: false
Command:
Description:
en: The container command.
Required: false
Default: Null
Type: Json
AssociationProperty: List[Parameter]
AssociationPropertyMetadata:
Parameter:
Type: String
Default: Null
Required: false
Port:
Type: Number
Description:
en: The container port.
MinValue: 1
MaxValue: 65535
Default: Null
Required: false
NetworkConfiguration:
Description:
en: The network configuration.
Required: false
Default: Null
Type: Json
AssociationPropertyMetadata:
Parameters:
NetworkMode:
Type: String
Description:
en: The network mode.
AllowedValues:
- PRIVATE
- PUBLIC
- PUBLIC_AND_PRIVATE
Required: true
VpcId:
Type: String
Description:
en: The VPC ID.
AssociationProperty: ALIYUN::ECS::VPC::VPCId
Default: Null
Required: false
SecurityGroupId:
Type: String
Description:
en: The security group ID.
AssociationProperty: ALIYUN::ECS::SecurityGroup::SecurityGroupId
AssociationPropertyMetadata:
VpcId: ${VpcId}
Default: Null
Required: false
VSwitchIds:
Description:
en: The list of vSwitch IDs.
Required: false
Default: Null
Type: Json
MinLength: 1
AssociationProperty: List[Parameter]
AssociationPropertyMetadata:
Parameter:
Type: String
AssociationProperty: ALIYUN::VPC::VSwitch::VSwitchId
AssociationPropertyMetadata:
ZoneId: ${ZoneId}
VpcId: ${VpcId}
Default: Null
Required: false
CredentialConfiguration:
Description:
en: The credential configuration.
Required: false
Default: Null
Type: Json
AssociationPropertyMetadata:
Parameters:
CredentialName:
Type: String
Description:
en: The credential name.
Required: true
LogConfiguration:
Description:
en: The log configuration.
Required: false
Default: Null
Type: Json
AssociationPropertyMetadata:
Parameters:
Project:
Type: String
Description:
en: The SLS project name.
Required: true
Logstore:
Type: String
Description:
en: The SLS logstore name.
Required: true
ExecutionRoleArn:
Type: String
Description:
en: The execution role ARN.
Default: Null
Required: false
SandboxIdleTimeoutInSeconds:
Type: Number
Description:
en: The sandbox idle timeout in seconds.
MinValue: 0
Default: Null
Required: false
ArmsConfiguration:
Description:
en: The ARMS configuration.
Required: false
Default: Null
Type: Json
AssociationPropertyMetadata:
Parameters:
EnableArms:
Type: Boolean
Description:
en: Whether to enable ARMS.
Required: true
ArmsLicenseKey:
Type: String
Description:
en: The license key for ARMS.
Required: true
CmsWorkspace:
Type: String
Description:
en: The ID of the CMS 2.0 workspace.
Default: Null
Required: false
AllowAnonymousManage:
Type: Boolean
Description:
en: Whether to allow anonymous management.
Default: Null
Required: false
NasConfig:
Description:
en: The NAS configuration.
Required: false
Default: Null
Type: Json
AssociationPropertyMetadata:
Parameters:
GroupId:
Type: Number
Description:
en: The NAS group ID.
Default: Null
Required: false
UserId:
Type: Number
Description:
en: The NAS user ID.
Default: Null
Required: false
MountPoints:
Description:
en: The NAS mount points.
Required: false
Default: Null
Type: Json
MinLength: 1
AssociationProperty: List[Parameters]
AssociationPropertyMetadata:
Parameters:
EnableTLS:
Type: Boolean
Description:
en: Whether to enable TLS.
Default: Null
Required: false
MountDir:
Type: String
Description:
en: The mount directory.
Default: Null
Required: false
ServerAddr:
Type: String
Description:
en: The NAS server address.
Default: Null
Required: false
EnableAgent:
Type: Boolean
Description:
en: Whether to enable the sandbox agent.
Default: Null
Required: false
WorkspaceId:
Type: String
Description:
en: The workspace ID.
Default: Null
Required: false
OssConfiguration:
Description:
en: The OSS configuration.
Required: false
Default: Null
Type: Json
MinLength: 1
AssociationProperty: List[Parameters]
AssociationPropertyMetadata:
Parameters:
BucketName:
Type: String
Description:
en: The OSS bucket name.
Required: true
Prefix:
Type: String
Description:
en: The OSS prefix.
Required: true
MountPoint:
Type: String
Description:
en: The mount point.
Required: true
Permission:
Type: String
Description:
en: The permission.
AllowedValues:
- READ_ONLY
- READ_WRITE
Required: true
Region:
Type: String
Description:
en: The region.
Required: true
EnvironmentVariables:
Description:
en: The environment variables.
Required: false
Default: Null
Type: Json
TemplateConfiguration:
Description:
en: The template configuration (flexible object structure, varies by templateType).
Required: false
Default: Null
Type: Json
Resources:
Template:
Type: ALIYUN::AgentRun::Template
Properties:
TemplateName:
Ref: TemplateName
TemplateType:
Ref: TemplateType
Description:
Ref: Description
Cpu:
Ref: Cpu
Memory:
Ref: Memory
DiskSize:
Ref: DiskSize
ContainerConfiguration:
Ref: ContainerConfiguration
NetworkConfiguration:
Ref: NetworkConfiguration
CredentialConfiguration:
Ref: CredentialConfiguration
LogConfiguration:
Ref: LogConfiguration
ExecutionRoleArn:
Ref: ExecutionRoleArn
SandboxIdleTimeoutInSeconds:
Ref: SandboxIdleTimeoutInSeconds
ArmsConfiguration:
Ref: ArmsConfiguration
AllowAnonymousManage:
Ref: AllowAnonymousManage
NasConfig:
Ref: NasConfig
EnableAgent:
Ref: EnableAgent
WorkspaceId:
Ref: WorkspaceId
OssConfiguration:
Ref: OssConfiguration
EnvironmentVariables:
Ref: EnvironmentVariables
TemplateConfiguration:
Ref: TemplateConfiguration
Outputs:
TemplateId:
Value:
Fn::GetAtt:
- Template
- TemplateId
Description: The ID of the template.
TemplateName:
Value:
Fn::GetAtt:
- Template
- TemplateName
Description: The name of the template.
TemplateArn:
Value:
Fn::GetAtt:
- Template
- TemplateArn
Description: The ARN of the template.
{
"ROSTemplateFormatVersion": "2015-09-01",
"Parameters": {
"TemplateName": {
"Type": "String",
"Description": {
"en": "The name of the template."
},
"Required": true
},
"TemplateType": {
"Type": "String",
"Description": {
"en": "The type of the template."
},
"AllowedValues": [
"CodeInterpreter",
"AllInOne",
"CustomImage",
"ComputerUse",
"Browser"
],
"Default": null,
"Required": false
},
"Description": {
"Type": "String",
"Description": {
"en": "The description of the template."
},
"AssociationProperty": "TextArea",
"Default": null,
"Required": false
},
"Cpu": {
"Type": "Number",
"Description": {
"en": "The CPU resource configuration (unit: cores)."
},
"MinValue": 2,
"Default": null,
"Required": false
},
"Memory": {
"Type": "Number",
"Description": {
"en": "The memory resource configuration (unit: MB)."
},
"MinValue": 2048,
"Default": null,
"Required": false
},
"DiskSize": {
"Type": "Number",
"Description": {
"en": "The disk size (unit: MB)."
},
"MinValue": 512,
"Default": null,
"Required": false
},
"ContainerConfiguration": {
"Description": {
"en": "The container configuration. Only images based on Browser/Code Interpreter base images are allowed."
},
"Required": false,
"Default": null,
"Type": "Json",
"AssociationPropertyMetadata": {
"Parameters": {
"Image": {
"Type": "String",
"Description": {
"en": "The container image address."
},
"Default": null,
"Required": false
},
"ImageRegistryType": {
"Type": "String",
"Description": {
"en": "The image registry type."
},
"AllowedValues": [
"ACR",
"ACREE",
"CUSTOM"
],
"Required": true
},
"AcrInstanceId": {
"Type": "String",
"Description": {
"en": "The ACR instance ID."
},
"Default": null,
"Required": false
},
"Command": {
"Description": {
"en": "The container command."
},
"Required": false,
"Default": null,
"Type": "Json",
"AssociationProperty": "List[Parameter]",
"AssociationPropertyMetadata": {
"Parameter": {
"Type": "String",
"Default": null,
"Required": false
}
}
},
"Port": {
"Type": "Number",
"Description": {
"en": "The container port."
},
"MinValue": 1,
"MaxValue": 65535,
"Default": null,
"Required": false
}
}
}
},
"NetworkConfiguration": {
"Description": {
"en": "The network configuration."
},
"Required": false,
"Default": null,
"Type": "Json",
"AssociationPropertyMetadata": {
"Parameters": {
"NetworkMode": {
"Type": "String",
"Description": {
"en": "The network mode."
},
"AllowedValues": [
"PRIVATE",
"PUBLIC",
"PUBLIC_AND_PRIVATE"
],
"Required": true
},
"VpcId": {
"Type": "String",
"Description": {
"en": "The VPC ID."
},
"AssociationProperty": "ALIYUN::ECS::VPC::VPCId",
"Default": null,
"Required": false
},
"SecurityGroupId": {
"Type": "String",
"Description": {
"en": "The security group ID."
},
"AssociationProperty": "ALIYUN::ECS::SecurityGroup::SecurityGroupId",
"AssociationPropertyMetadata": {
"VpcId": "${VpcId}"
},
"Default": null,
"Required": false
},
"VSwitchIds": {
"Description": {
"en": "The list of vSwitch IDs."
},
"Required": false,
"Default": null,
"Type": "Json",
"MinLength": 1,
"AssociationProperty": "List[Parameter]",
"AssociationPropertyMetadata": {
"Parameter": {
"Type": "String",
"AssociationProperty": "ALIYUN::VPC::VSwitch::VSwitchId",
"AssociationPropertyMetadata": {
"ZoneId": "${ZoneId}",
"VpcId": "${VpcId}"
},
"Default": null,
"Required": false
}
}
}
}
}
},
"CredentialConfiguration": {
"Description": {
"en": "The credential configuration."
},
"Required": false,
"Default": null,
"Type": "Json",
"AssociationPropertyMetadata": {
"Parameters": {
"CredentialName": {
"Type": "String",
"Description": {
"en": "The credential name."
},
"Required": true
}
}
}
},
"LogConfiguration": {
"Description": {
"en": "The log configuration."
},
"Required": false,
"Default": null,
"Type": "Json",
"AssociationPropertyMetadata": {
"Parameters": {
"Project": {
"Type": "String",
"Description": {
"en": "The SLS project name."
},
"Required": true
},
"Logstore": {
"Type": "String",
"Description": {
"en": "The SLS logstore name."
},
"Required": true
}
}
}
},
"ExecutionRoleArn": {
"Type": "String",
"Description": {
"en": "The execution role ARN."
},
"Default": null,
"Required": false
},
"SandboxIdleTimeoutInSeconds": {
"Type": "Number",
"Description": {
"en": "The sandbox idle timeout in seconds."
},
"MinValue": 0,
"Default": null,
"Required": false
},
"ArmsConfiguration": {
"Description": {
"en": "The ARMS configuration."
},
"Required": false,
"Default": null,
"Type": "Json",
"AssociationPropertyMetadata": {
"Parameters": {
"EnableArms": {
"Type": "Boolean",
"Description": {
"en": "Whether to enable ARMS."
},
"Required": true
},
"ArmsLicenseKey": {
"Type": "String",
"Description": {
"en": "The license key for ARMS."
},
"Required": true
},
"CmsWorkspace": {
"Type": "String",
"Description": {
"en": "The ID of the CMS 2.0 workspace."
},
"Default": null,
"Required": false
}
}
}
},
"AllowAnonymousManage": {
"Type": "Boolean",
"Description": {
"en": "Whether to allow anonymous management."
},
"Default": null,
"Required": false
},
"NasConfig": {
"Description": {
"en": "The NAS configuration."
},
"Required": false,
"Default": null,
"Type": "Json",
"AssociationPropertyMetadata": {
"Parameters": {
"GroupId": {
"Type": "Number",
"Description": {
"en": "The NAS group ID."
},
"Default": null,
"Required": false
},
"UserId": {
"Type": "Number",
"Description": {
"en": "The NAS user ID."
},
"Default": null,
"Required": false
},
"MountPoints": {
"Description": {
"en": "The NAS mount points."
},
"Required": false,
"Default": null,
"Type": "Json",
"MinLength": 1,
"AssociationProperty": "List[Parameters]",
"AssociationPropertyMetadata": {
"Parameters": {
"EnableTLS": {
"Type": "Boolean",
"Description": {
"en": "Whether to enable TLS."
},
"Default": null,
"Required": false
},
"MountDir": {
"Type": "String",
"Description": {
"en": "The mount directory."
},
"Default": null,
"Required": false
},
"ServerAddr": {
"Type": "String",
"Description": {
"en": "The NAS server address."
},
"Default": null,
"Required": false
}
}
}
}
}
}
},
"EnableAgent": {
"Type": "Boolean",
"Description": {
"en": "Whether to enable the sandbox agent."
},
"Default": null,
"Required": false
},
"WorkspaceId": {
"Type": "String",
"Description": {
"en": "The workspace ID."
},
"Default": null,
"Required": false
},
"OssConfiguration": {
"Description": {
"en": "The OSS configuration."
},
"Required": false,
"Default": null,
"Type": "Json",
"MinLength": 1,
"AssociationProperty": "List[Parameters]",
"AssociationPropertyMetadata": {
"Parameters": {
"BucketName": {
"Type": "String",
"Description": {
"en": "The OSS bucket name."
},
"Required": true
},
"Prefix": {
"Type": "String",
"Description": {
"en": "The OSS prefix."
},
"Required": true
},
"MountPoint": {
"Type": "String",
"Description": {
"en": "The mount point."
},
"Required": true
},
"Permission": {
"Type": "String",
"Description": {
"en": "The permission."
},
"AllowedValues": [
"READ_ONLY",
"READ_WRITE"
],
"Required": true
},
"Region": {
"Type": "String",
"Description": {
"en": "The region."
},
"Required": true
}
}
}
},
"EnvironmentVariables": {
"Description": {
"en": "The environment variables."
},
"Required": false,
"Default": null,
"Type": "Json"
},
"TemplateConfiguration": {
"Description": {
"en": "The template configuration (flexible object structure, varies by templateType)."
},
"Required": false,
"Default": null,
"Type": "Json"
}
},
"Resources": {
"Template": {
"Type": "ALIYUN::AgentRun::Template",
"Properties": {
"TemplateName": {
"Ref": "TemplateName"
},
"TemplateType": {
"Ref": "TemplateType"
},
"Description": {
"Ref": "Description"
},
"Cpu": {
"Ref": "Cpu"
},
"Memory": {
"Ref": "Memory"
},
"DiskSize": {
"Ref": "DiskSize"
},
"ContainerConfiguration": {
"Ref": "ContainerConfiguration"
},
"NetworkConfiguration": {
"Ref": "NetworkConfiguration"
},
"CredentialConfiguration": {
"Ref": "CredentialConfiguration"
},
"LogConfiguration": {
"Ref": "LogConfiguration"
},
"ExecutionRoleArn": {
"Ref": "ExecutionRoleArn"
},
"SandboxIdleTimeoutInSeconds": {
"Ref": "SandboxIdleTimeoutInSeconds"
},
"ArmsConfiguration": {
"Ref": "ArmsConfiguration"
},
"AllowAnonymousManage": {
"Ref": "AllowAnonymousManage"
},
"NasConfig": {
"Ref": "NasConfig"
},
"EnableAgent": {
"Ref": "EnableAgent"
},
"WorkspaceId": {
"Ref": "WorkspaceId"
},
"OssConfiguration": {
"Ref": "OssConfiguration"
},
"EnvironmentVariables": {
"Ref": "EnvironmentVariables"
},
"TemplateConfiguration": {
"Ref": "TemplateConfiguration"
}
}
}
},
"Outputs": {
"TemplateId": {
"Value": {
"Fn::GetAtt": [
"Template",
"TemplateId"
]
},
"Description": "The ID of the template."
},
"TemplateName": {
"Value": {
"Fn::GetAtt": [
"Template",
"TemplateName"
]
},
"Description": "The name of the template."
},
"TemplateArn": {
"Value": {
"Fn::GetAtt": [
"Template",
"TemplateArn"
]
},
"Description": "The ARN of the template."
}
}
}