[英]Include 'RunningMode' in CloudFormation template to deploy AWS Workspaces
我目前正在研究概念证明,该概念还涉及使用CloudFormation部署AWS Workspaces。 因此,我想添加RunningMode(“ AutoStop”或“ AlwaysOn”)作为参数。 到目前为止,我还无法弄清楚如何将其包括在CloudFormation模板中。 有任何想法吗?
干杯,多米尼克
当前模板(简体):
{
"Parameters": {
"UserName": {
"Type": "String",
"Default": "test_user"
}
},
"AWSTemplateFormatVersion": "2010-09-09",
"Resources": {
"TestWorkspace1": {
"Type": "AWS::WorkSpaces::Workspace",
"Properties": {
"BundleId": "<BUNDLE_ID>",
"DirectoryId": "<DIRECTORY_ID>",
"UserName": {
"Ref": "UserName"
},
"RootVolumeEncryptionEnabled": false,
"UserVolumeEncryptionEnabled": false
}
}
},
"Outputs": {
"Username": {
"Value": {
"Fn::Join": [
"",
[
{
"Ref": "UserName"
}
]
]
},
"Description": "Workspaces Username"
},
"StaticMessage": {
"Value": "In case of first usage, you will receive a initial password for the Amazon Workspaces Client separately, once the workspace has been created.",
"Description": "Workspaces note"
}
}
}
我刚刚发现,您现在可以为
RunningMode:RunningModeAutoStopTimeoutInMinutes:
在Cloudformation模板中。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.