Created
August 4, 2016 18:53
-
-
Save samehmohamed88/7def76139aeb6160c52b6586515414e5 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{"Mappings": { | |
"TimeBasedAutoScale" : { | |
"weekend" : {"0":"off","1":"off","2":"off","3":"off","4":"off","5":"off","6":"off","7":"off","8":"off","9":"off","10":"off","11":"off","12":"off","13":"off","14":"off","15":"off","16":"off","17":"off","18":"off","19":"off","20":"off","21":"off","22":"off","23":"off"} | |
}, | |
"TimerBackendInstance1" : { | |
"Type": "AWS::OpsWorks::Instance", | |
"Properties": { | |
"Architecture" : { "Fn::FindInMap" : [ "AWSInstanceType2Arch", { "Ref" : "InstanceType" }, "Arch"]}, | |
"AutoScalingType" : "timer", | |
"AvailabilityZone" : "us-west-2a", | |
"EbsOptimized" : false, | |
"InstallUpdatesOnBoot" : false, | |
"InstanceType" : { "Ref" : "InstanceType" }, | |
"LayerIds" : [{ "Ref" : "OpsWorksLayer" }], | |
"Os" : "Amazon Linux 2016.03", | |
"RootDeviceType" : "instance-store", | |
"StackId" : {"Ref" : "OpsWorksStack"}, | |
"SubnetId" : String | |
} | |
} | |
{ | |
"Friday" : { Integer : String, ... }, | |
"Monday" : { Integer : String, ... }, | |
"Thursday" : { Integer : String, ... }, | |
"Tuesday" : { Integer : String, ... }, | |
"Wednesday" : { Integer : String, ... }, | |
"Saturday" : { "Fn::FindInMap" : [ "TimeBasedAutoScale", "weekend"]}, | |
"Sunday" : { "Fn::FindInMap" : [ "TimeBasedAutoScale", "weekend"]}, | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment