ALIYUN::AgentRun::Template

更新时间:
复制 MD 格式

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

模板类型。

取值:

  • CodeInterpreter

  • AllInOne

  • CustomImage

  • ComputerUse

  • Browser

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

镜像仓库类型。

取值:

  • ACR

  • ACREE

  • CUSTOM

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

权限。

取值:

  • READ_ONLY

  • READ_WRITE

Prefix

String

OSS前缀。

Region

String

地域。

NetworkConfiguration语法

"NetworkConfiguration": {
  "VpcId": String,
  "VSwitchIds": List,
  "SecurityGroupId": String,
  "NetworkMode": String
}

NetworkConfiguration属性

属性名称

类型

必须

允许更新

描述

约束

NetworkMode

String

网络模式。

取值:

  • PRIVATE

  • PUBLIC

  • PUBLIC_AND_PRIVATE

SecurityGroupId

String

安全组ID。

VpcId

String

VPC ID。

VSwitchIds

List

交换机ID列表。

最小长度:1

NasConfig语法

"NasConfig": {
  "MountPoints": List,
  "UserId": Integer,
  "GroupId": Integer
}

NasConfig属性

属性名称

类型

必须

允许更新

描述

约束

GroupId

Integer

NASID。

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."
    }
  }
}