【发布时间】:2017-05-12 13:49:36
【问题描述】:
我正在制作一个 CloudFormation 模板,用于创建 opsworks 堆栈、层和一些应用程序。在我的层中,我有 opsworks 层和 RDS 层。在AWS文档中,只有如何创建Opsworks::Layer,但我不知道如何制作Amazon RDS服务层:
{
"Type": "AWS::OpsWorks::Layer",
"Properties": {
"Attributes" : { String:String },
"AutoAssignElasticIps" : Boolean,
"AutoAssignPublicIps" : Boolean,
"CustomInstanceProfileArn" : String,
"CustomJson" : JSON object,
"CustomRecipes" : Recipes,
"CustomSecurityGroupIds" : [ String, ... ],
"EnableAutoHealing" : Boolean,
"InstallUpdatesOnBoot" : Boolean,
"LifecycleEventConfiguration" : LifeCycleEventConfiguration,
"LoadBasedAutoScaling" : LoadBasedAutoScaling,
"Name" : String,
"Packages" : [ String, ... ],
"Shortname" : String,
"StackId" : String,
"Type" : String,
"VolumeConfigurations" : [ VolumeConfiguration, ... ]
}
}
我的目标是通过 cloudformation 自动创建我的 opsworks 资源。 知道怎么做吗? 谢谢
【问题讨论】:
标签: json amazon-web-services amazon-rds amazon-cloudformation aws-opsworks