humidifier 0.7.0 → 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (198) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +2 -2
  3. data/ext/humidifier/humidifier.c +1 -16
  4. data/ext/humidifier/humidifier.h +0 -1
  5. data/lib/humidifier/configuration.rb +2 -0
  6. data/lib/humidifier/fn.rb +2 -1
  7. data/lib/humidifier/humidifier.bundle +0 -0
  8. data/lib/humidifier/loader.rb +42 -19
  9. data/lib/humidifier/props/base.rb +49 -0
  10. data/lib/humidifier/props/boolean_prop.rb +21 -0
  11. data/lib/humidifier/props/double_prop.rb +17 -0
  12. data/lib/humidifier/props/integer_prop.rb +17 -0
  13. data/lib/humidifier/props/json_prop.rb +11 -0
  14. data/lib/humidifier/props/list_prop.rb +20 -0
  15. data/lib/humidifier/props/map_prop.rb +20 -0
  16. data/lib/humidifier/props/string_prop.rb +17 -0
  17. data/lib/humidifier/props/structure_prop.rb +26 -0
  18. data/lib/humidifier/props/timestamp_prop.rb +17 -0
  19. data/lib/humidifier/props.rb +13 -126
  20. data/lib/humidifier/sdk_payload.rb +3 -2
  21. data/lib/humidifier/serializer.rb +4 -2
  22. data/lib/humidifier/version.rb +1 -1
  23. data/lib/humidifier.rb +5 -0
  24. data/specs/CloudFormationResourceSpecification.json +14332 -0
  25. data/specs/fixer.rb +360 -0
  26. metadata +14 -174
  27. data/specs/ApiGateway-Account.cf +0 -6
  28. data/specs/ApiGateway-ApiKey.cf +0 -9
  29. data/specs/ApiGateway-Authorizer.cf +0 -14
  30. data/specs/ApiGateway-BasePathMapping.cf +0 -9
  31. data/specs/ApiGateway-ClientCertificate.cf +0 -6
  32. data/specs/ApiGateway-Deployment.cf +0 -9
  33. data/specs/ApiGateway-Method.cf +0 -15
  34. data/specs/ApiGateway-Model.cf +0 -10
  35. data/specs/ApiGateway-Resource.cf +0 -8
  36. data/specs/ApiGateway-RestApi.cf +0 -12
  37. data/specs/ApiGateway-Stage.cf +0 -14
  38. data/specs/ApiGateway-UsagePlan.cf +0 -10
  39. data/specs/ApplicationAutoScaling-ScalableTarget.cf +0 -11
  40. data/specs/ApplicationAutoScaling-ScalingPolicy.cf +0 -12
  41. data/specs/AutoScaling-AutoScalingGroup.cf +0 -22
  42. data/specs/AutoScaling-LaunchConfiguration.cf +0 -22
  43. data/specs/AutoScaling-LifecycleHook.cf +0 -12
  44. data/specs/AutoScaling-ScalingPolicy.cf +0 -14
  45. data/specs/AutoScaling-ScheduledAction.cf +0 -12
  46. data/specs/CertificateManager-Certificate.cf +0 -9
  47. data/specs/CloudFormation-Authentication.cf +0 -17
  48. data/specs/CloudFormation-CustomResource.cf +0 -8
  49. data/specs/CloudFormation-Interface.cf +0 -9
  50. data/specs/CloudFormation-Stack.cf +0 -10
  51. data/specs/CloudFormation-WaitCondition.cf +0 -8
  52. data/specs/CloudFormation-WaitConditionHandle.cf +0 -5
  53. data/specs/CloudFront-Distribution.cf +0 -6
  54. data/specs/CloudTrail-Trail.cf +0 -16
  55. data/specs/CloudWatch-Alarm.cf +0 -20
  56. data/specs/CodeCommit-Repository.cf +0 -8
  57. data/specs/CodeDeploy-Application.cf +0 -6
  58. data/specs/CodeDeploy-DeploymentConfig.cf +0 -7
  59. data/specs/CodeDeploy-DeploymentGroup.cf +0 -13
  60. data/specs/CodePipeline-CustomActionType.cf +0 -12
  61. data/specs/CodePipeline-Pipeline.cf +0 -11
  62. data/specs/Config-ConfigRule.cf +0 -11
  63. data/specs/Config-ConfigurationRecorder.cf +0 -8
  64. data/specs/Config-DeliveryChannel.cf +0 -10
  65. data/specs/DataPipeline-Pipeline.cf +0 -12
  66. data/specs/DirectoryService-MicrosoftAD.cf +0 -11
  67. data/specs/DirectoryService-SimpleAD.cf +0 -13
  68. data/specs/DynamoDB-Table.cf +0 -12
  69. data/specs/EC2-CustomerGateway.cf +0 -9
  70. data/specs/EC2-DHCPOptions.cf +0 -11
  71. data/specs/EC2-EIP.cf +0 -7
  72. data/specs/EC2-EIPAssociation.cf +0 -10
  73. data/specs/EC2-FlowLog.cf +0 -10
  74. data/specs/EC2-Host.cf +0 -8
  75. data/specs/EC2-Instance.cf +0 -32
  76. data/specs/EC2-InternetGateway.cf +0 -6
  77. data/specs/EC2-NatGateway.cf +0 -7
  78. data/specs/EC2-NetworkAcl.cf +0 -7
  79. data/specs/EC2-NetworkAclEntry.cf +0 -13
  80. data/specs/EC2-NetworkInterface.cf +0 -13
  81. data/specs/EC2-NetworkInterfaceAttachment.cf +0 -9
  82. data/specs/EC2-PlacementGroup.cf +0 -6
  83. data/specs/EC2-Route.cf +0 -12
  84. data/specs/EC2-RouteTable.cf +0 -7
  85. data/specs/EC2-SecurityGroup.cf +0 -10
  86. data/specs/EC2-SecurityGroupEgress.cf +0 -12
  87. data/specs/EC2-SecurityGroupIngress.cf +0 -14
  88. data/specs/EC2-SpotFleet.cf +0 -6
  89. data/specs/EC2-Subnet.cf +0 -10
  90. data/specs/EC2-SubnetNetworkAclAssociation.cf +0 -5
  91. data/specs/EC2-SubnetRouteTableAssociation.cf +0 -7
  92. data/specs/EC2-VPC.cf +0 -10
  93. data/specs/EC2-VPCDHCPOptionsAssociation.cf +0 -7
  94. data/specs/EC2-VPCEndpoint.cf +0 -9
  95. data/specs/EC2-VPCGatewayAttachment.cf +0 -8
  96. data/specs/EC2-VPCPeeringConnection.cf +0 -8
  97. data/specs/EC2-VPNConnection.cf +0 -10
  98. data/specs/EC2-VPNConnectionRoute.cf +0 -7
  99. data/specs/EC2-VPNGateway.cf +0 -7
  100. data/specs/EC2-VPNGatewayRoutePropagation.cf +0 -7
  101. data/specs/EC2-Volume.cf +0 -14
  102. data/specs/EC2-VolumeAttachment.cf +0 -8
  103. data/specs/ECR-Repository.cf +0 -7
  104. data/specs/ECS-Cluster.cf +0 -6
  105. data/specs/ECS-Service.cf +0 -11
  106. data/specs/ECS-TaskDefinition.cf +0 -9
  107. data/specs/EFS-FileSystem.cf +0 -7
  108. data/specs/EFS-MountTarget.cf +0 -9
  109. data/specs/EMR-Cluster.cf +0 -17
  110. data/specs/EMR-InstanceGroupConfig.cf +0 -14
  111. data/specs/EMR-Step.cf +0 -9
  112. data/specs/ElastiCache-CacheCluster.cf +0 -27
  113. data/specs/ElastiCache-ParameterGroup.cf +0 -8
  114. data/specs/ElastiCache-ReplicationGroup.cf +0 -31
  115. data/specs/ElastiCache-SecurityGroup.cf +0 -7
  116. data/specs/ElastiCache-SecurityGroupIngress.cf +0 -9
  117. data/specs/ElastiCache-SubnetGroup.cf +0 -8
  118. data/specs/ElasticBeanstalk-Application.cf +0 -7
  119. data/specs/ElasticBeanstalk-ApplicationVersion.cf +0 -8
  120. data/specs/ElasticBeanstalk-ConfigurationTemplate.cf +0 -11
  121. data/specs/ElasticBeanstalk-Environment.cf +0 -15
  122. data/specs/ElasticLoadBalancing-LoadBalancer.cf +0 -21
  123. data/specs/ElasticLoadBalancingV2-Listener.cf +0 -11
  124. data/specs/ElasticLoadBalancingV2-ListenerRule.cf +0 -9
  125. data/specs/ElasticLoadBalancingV2-LoadBalancer.cf +0 -11
  126. data/specs/ElasticLoadBalancingV2-TargetGroup.cf +0 -20
  127. data/specs/Elasticsearch-Domain.cf +0 -13
  128. data/specs/Events-Rule.cf +0 -12
  129. data/specs/GameLift-Alias.cf +0 -8
  130. data/specs/GameLift-Build.cf +0 -8
  131. data/specs/GameLift-Fleet.cf +0 -16
  132. data/specs/IAM-AccessKey.cf +0 -8
  133. data/specs/IAM-Group.cf +0 -9
  134. data/specs/IAM-InstanceProfile.cf +0 -7
  135. data/specs/IAM-ManagedPolicy.cf +0 -11
  136. data/specs/IAM-Policy.cf +0 -10
  137. data/specs/IAM-Role.cf +0 -10
  138. data/specs/IAM-User.cf +0 -11
  139. data/specs/IAM-UserToGroupAddition.cf +0 -7
  140. data/specs/IoT-Certificate.cf +0 -7
  141. data/specs/IoT-Policy.cf +0 -7
  142. data/specs/IoT-PolicyPrincipalAttachment.cf +0 -7
  143. data/specs/IoT-Thing.cf +0 -7
  144. data/specs/IoT-ThingPrincipalAttachment.cf +0 -7
  145. data/specs/IoT-TopicRule.cf +0 -7
  146. data/specs/KMS-Alias.cf +0 -7
  147. data/specs/KMS-Key.cf +0 -9
  148. data/specs/Kinesis-Stream.cf +0 -8
  149. data/specs/KinesisFirehose-DeliveryStream.cf +0 -9
  150. data/specs/Lambda-Alias.cf +0 -9
  151. data/specs/Lambda-EventSourceMapping.cf +0 -10
  152. data/specs/Lambda-Function.cf +0 -14
  153. data/specs/Lambda-Permission.cf +0 -10
  154. data/specs/Lambda-Version.cf +0 -8
  155. data/specs/Logs-Destination.cf +0 -9
  156. data/specs/Logs-LogGroup.cf +0 -7
  157. data/specs/Logs-LogStream.cf +0 -7
  158. data/specs/Logs-MetricFilter.cf +0 -8
  159. data/specs/Logs-SubscriptionFilter.cf +0 -9
  160. data/specs/OpsWorks-App.cf +0 -16
  161. data/specs/OpsWorks-ElasticLoadBalancerAttachment.cf +0 -7
  162. data/specs/OpsWorks-Instance.cf +0 -19
  163. data/specs/OpsWorks-Layer.cf +0 -21
  164. data/specs/OpsWorks-Stack.cf +0 -23
  165. data/specs/RDS-DBCluster.cf +0 -23
  166. data/specs/RDS-DBClusterParameterGroup.cf +0 -9
  167. data/specs/RDS-DBInstance.cf +0 -42
  168. data/specs/RDS-DBParameterGroup.cf +0 -9
  169. data/specs/RDS-DBSecurityGroup.cf +0 -10
  170. data/specs/RDS-DBSecurityGroupIngress.cf +0 -9
  171. data/specs/RDS-DBSubnetGroup.cf +0 -8
  172. data/specs/RDS-EventSubscription.cf +0 -10
  173. data/specs/RDS-OptionGroup.cf +0 -10
  174. data/specs/Redshift-Cluster.cf +0 -30
  175. data/specs/Redshift-ClusterParameterGroup.cf +0 -8
  176. data/specs/Redshift-ClusterSecurityGroup.cf +0 -6
  177. data/specs/Redshift-ClusterSecurityGroupIngress.cf +0 -9
  178. data/specs/Redshift-ClusterSubnetGroup.cf +0 -7
  179. data/specs/Route53-HealthCheck.cf +0 -7
  180. data/specs/Route53-HostedZone.cf +0 -9
  181. data/specs/Route53-RecordSet.cf +0 -19
  182. data/specs/Route53-RecordSetGroup.cf +0 -9
  183. data/specs/S3-Bucket.cf +0 -15
  184. data/specs/S3-BucketPolicy.cf +0 -7
  185. data/specs/SDB-Domain.cf +0 -6
  186. data/specs/SNS-Topic.cf +0 -8
  187. data/specs/SNS-TopicPolicy.cf +0 -8
  188. data/specs/SQS-Queue.cf +0 -12
  189. data/specs/SQS-QueuePolicy.cf +0 -7
  190. data/specs/SSM-Document.cf +0 -6
  191. data/specs/WAF-ByteMatchSet.cf +0 -7
  192. data/specs/WAF-IPSet.cf +0 -7
  193. data/specs/WAF-Rule.cf +0 -8
  194. data/specs/WAF-SizeConstraintSet.cf +0 -7
  195. data/specs/WAF-SqlInjectionMatchSet.cf +0 -7
  196. data/specs/WAF-WebACL.cf +0 -9
  197. data/specs/WAF-XssMatchSet.cf +0 -7
  198. data/specs/WorkSpaces-Workspace.cf +0 -11
data/specs/SQS-Queue.cf DELETED
@@ -1,12 +0,0 @@
1
- {
2
- "Type" : "AWS::SQS::Queue",
3
- "Properties" : {
4
- "DelaySeconds": Integer,
5
- "MaximumMessageSize": Integer,
6
- "MessageRetentionPeriod": Integer,
7
- "QueueName": String,
8
- "ReceiveMessageWaitTimeSeconds": Integer,
9
- "RedrivePolicy": RedrivePolicy,
10
- "VisibilityTimeout": Integer
11
- }
12
- }
@@ -1,7 +0,0 @@
1
- {
2
- "Type" : "AWS::SQS::QueuePolicy",
3
- "Properties" : {
4
- "PolicyDocument" : JSON,
5
- "Queues" : [ String, ... ]
6
- }
7
- }
@@ -1,6 +0,0 @@
1
- {
2
- "Type" : "AWS::SSM::Document",
3
- "Properties" : {
4
- "Content" : JSON object
5
- }
6
- }
@@ -1,7 +0,0 @@
1
- {
2
- "Type" : "AWS::WAF::ByteMatchSet",
3
- "Properties" : {
4
- "ByteMatchTuples" : [ Byte match tuple, ... ],
5
- "Name" : String
6
- }
7
- }
data/specs/WAF-IPSet.cf DELETED
@@ -1,7 +0,0 @@
1
- {
2
- "Type" : "AWS::WAF::IPSet",
3
- "Properties" : {
4
- "IPSetDescriptors" : [ IPSet descriptor, ... ],
5
- "Name" : String
6
- }
7
- }
data/specs/WAF-Rule.cf DELETED
@@ -1,8 +0,0 @@
1
- {
2
- "Type" : "AWS::WAF::Rule",
3
- "Properties" : {
4
- "MetricName" : String,
5
- "Name" : String,
6
- "Predicates" : [ Predicate, ... ]
7
- }
8
- }
@@ -1,7 +0,0 @@
1
- {
2
- "Type" : "AWS::WAF::SizeConstraintSet",
3
- "Properties" : {
4
- "Name" : String,
5
- "SizeConstraints" : [ SizeConstraint, ... ]
6
- }
7
- }
@@ -1,7 +0,0 @@
1
- {
2
- "Type" : "AWS::WAF::SqlInjectionMatchSet",
3
- "Properties" : {
4
- "Name" : String,
5
- "SqlInjectionMatchTuples" : [ SqlInjectionMatchTuple, ... ]
6
- }
7
- }
data/specs/WAF-WebACL.cf DELETED
@@ -1,9 +0,0 @@
1
- {
2
- "Type" : "AWS::WAF::WebACL",
3
- "Properties" : {
4
- "DefaultAction" : Action,
5
- "MetricName" : String,
6
- "Name" : String,
7
- "Rules" : [ Rule, ... ]
8
- }
9
- }
@@ -1,7 +0,0 @@
1
- {
2
- "Type" : "AWS::WAF::XssMatchSet",
3
- "Properties" : {
4
- "Name" : String,
5
- "XssMatchTuples" : [ XssMatchTuple, ... ]
6
- }
7
- }
@@ -1,11 +0,0 @@
1
- {
2
- "Type" : "AWS::WorkSpaces::Workspace",
3
- "Properties" : {
4
- "BundleId" : String,
5
- "DirectoryId" : String,
6
- "UserName" : String,
7
- "RootVolumeEncryptionEnabled" : Boolean,
8
- "UserVolumeEncryptionEnabled" : Boolean,
9
- "VolumeEncryptionKey" : String
10
- }
11
- }