humidifier 1.6.1 → 1.7.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CloudFormationResourceSpecification.json +329 -27
- data/lib/humidifier/aws_adapters/sdkv3.rb +26 -0
- data/lib/humidifier/aws_shim.rb +16 -5
- data/lib/humidifier/configuration.rb +5 -0
- data/lib/humidifier/version.rb +1 -1
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7607c121fa009e77640f8a4373ff4e0ff7d76faa
|
4
|
+
data.tar.gz: 116ef5c8d5d8d2d5b53e89fca3ce39a05c9cda8a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c53f9a11b933579a65fca50b1cc423f6dd41db6272aab6b0d48db1bcb9d5012205a19e1d35a3650e3e1a914ddbb92aaf35ecaf216b1eecfe49e6b72e258fc62e
|
7
|
+
data.tar.gz: 8d1114a736816a6ae0c390294f72cde685222bbd7a43f81b7f3d815675044c9d9d384aa73305b007779af04f904acf0a90a1674a9c4b69ad958e7eb1ea51bdc0
|
@@ -128,6 +128,29 @@
|
|
128
128
|
}
|
129
129
|
}
|
130
130
|
},
|
131
|
+
"AWS::ElasticBeanstalk::Environment.OptionSetting": {
|
132
|
+
"Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-beanstalk-option-settings.html",
|
133
|
+
"Properties": {
|
134
|
+
"Namespace": {
|
135
|
+
"Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-beanstalk-option-settings.html#cfn-beanstalk-optionsettings-namespace",
|
136
|
+
"PrimitiveType": "String",
|
137
|
+
"Required": true,
|
138
|
+
"UpdateType": "Mutable"
|
139
|
+
},
|
140
|
+
"OptionName": {
|
141
|
+
"Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-beanstalk-option-settings.html#cfn-beanstalk-optionsettings-optionname",
|
142
|
+
"PrimitiveType": "String",
|
143
|
+
"Required": true,
|
144
|
+
"UpdateType": "Mutable"
|
145
|
+
},
|
146
|
+
"Value": {
|
147
|
+
"Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-beanstalk-option-settings.html#cfn-beanstalk-optionsettings-value",
|
148
|
+
"PrimitiveType": "String",
|
149
|
+
"Required": false,
|
150
|
+
"UpdateType": "Mutable"
|
151
|
+
}
|
152
|
+
}
|
153
|
+
},
|
131
154
|
"AWS::CodeDeploy::DeploymentGroup.RevisionLocation": {
|
132
155
|
"Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codedeploy-deploymentgroup-deployment-revision.html",
|
133
156
|
"Properties": {
|
@@ -1335,6 +1358,35 @@
|
|
1335
1358
|
}
|
1336
1359
|
}
|
1337
1360
|
},
|
1361
|
+
"AWS::S3::Bucket.Destination": {
|
1362
|
+
"Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-destination.html",
|
1363
|
+
"Properties": {
|
1364
|
+
"BucketAccountId": {
|
1365
|
+
"Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-destination.html#cfn-s3-bucket-destination-bucketaccountid",
|
1366
|
+
"PrimitiveType": "String",
|
1367
|
+
"Required": false,
|
1368
|
+
"UpdateType": "Mutable"
|
1369
|
+
},
|
1370
|
+
"BucketArn": {
|
1371
|
+
"Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-destination.html#cfn-s3-bucket-destination-bucketarn",
|
1372
|
+
"PrimitiveType": "String",
|
1373
|
+
"Required": true,
|
1374
|
+
"UpdateType": "Mutable"
|
1375
|
+
},
|
1376
|
+
"Format": {
|
1377
|
+
"Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-destination.html#cfn-s3-bucket-destination-format",
|
1378
|
+
"PrimitiveType": "String",
|
1379
|
+
"Required": true,
|
1380
|
+
"UpdateType": "Mutable"
|
1381
|
+
},
|
1382
|
+
"Prefix": {
|
1383
|
+
"Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-destination.html#cfn-s3-bucket-destination-prefix",
|
1384
|
+
"PrimitiveType": "String",
|
1385
|
+
"Required": false,
|
1386
|
+
"UpdateType": "Mutable"
|
1387
|
+
}
|
1388
|
+
}
|
1389
|
+
},
|
1338
1390
|
"AWS::WAF::WebACL.WafAction": {
|
1339
1391
|
"Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-waf-webacl-action.html",
|
1340
1392
|
"Properties": {
|
@@ -3388,6 +3440,37 @@
|
|
3388
3440
|
}
|
3389
3441
|
}
|
3390
3442
|
},
|
3443
|
+
"AWS::S3::Bucket.AnalyticsConfiguration": {
|
3444
|
+
"Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-analyticsconfiguration.html",
|
3445
|
+
"Properties": {
|
3446
|
+
"Id": {
|
3447
|
+
"Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-analyticsconfiguration.html#cfn-s3-bucket-analyticsconfiguration-id",
|
3448
|
+
"PrimitiveType": "String",
|
3449
|
+
"Required": true,
|
3450
|
+
"UpdateType": "Mutable"
|
3451
|
+
},
|
3452
|
+
"Prefix": {
|
3453
|
+
"Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-analyticsconfiguration.html#cfn-s3-bucket-analyticsconfiguration-prefix",
|
3454
|
+
"PrimitiveType": "String",
|
3455
|
+
"Required": false,
|
3456
|
+
"UpdateType": "Mutable"
|
3457
|
+
},
|
3458
|
+
"StorageClassAnalysis": {
|
3459
|
+
"Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-analyticsconfiguration.html#cfn-s3-bucket-analyticsconfiguration-storageclassanalysis",
|
3460
|
+
"Required": true,
|
3461
|
+
"Type": "StorageClassAnalysis",
|
3462
|
+
"UpdateType": "Mutable"
|
3463
|
+
},
|
3464
|
+
"TagFilters": {
|
3465
|
+
"Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-analyticsconfiguration.html#cfn-s3-bucket-analyticsconfiguration-tagfilters",
|
3466
|
+
"DuplicatesAllowed": false,
|
3467
|
+
"ItemType": "TagFilter",
|
3468
|
+
"Required": false,
|
3469
|
+
"Type": "List",
|
3470
|
+
"UpdateType": "Mutable"
|
3471
|
+
}
|
3472
|
+
}
|
3473
|
+
},
|
3391
3474
|
"AWS::GameLift::Alias.RoutingStrategy": {
|
3392
3475
|
"Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-gamelift-alias-routingstrategy.html",
|
3393
3476
|
"Properties": {
|
@@ -3640,6 +3723,17 @@
|
|
3640
3723
|
}
|
3641
3724
|
}
|
3642
3725
|
},
|
3726
|
+
"AWS::S3::Bucket.StorageClassAnalysis": {
|
3727
|
+
"Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-storageclassanalysis.html",
|
3728
|
+
"Properties": {
|
3729
|
+
"DataExport": {
|
3730
|
+
"Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-storageclassanalysis.html#cfn-s3-bucket-storageclassanalysis-dataexport",
|
3731
|
+
"Required": false,
|
3732
|
+
"Type": "DataExport",
|
3733
|
+
"UpdateType": "Mutable"
|
3734
|
+
}
|
3735
|
+
}
|
3736
|
+
},
|
3643
3737
|
"AWS::Config::ConfigurationRecorder.RecordingGroup": {
|
3644
3738
|
"Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-config-configurationrecorder-recordinggroup.html",
|
3645
3739
|
"Properties": {
|
@@ -3745,6 +3839,23 @@
|
|
3745
3839
|
}
|
3746
3840
|
}
|
3747
3841
|
},
|
3842
|
+
"AWS::ElasticBeanstalk::Application.ApplicationResourceLifecycleConfig": {
|
3843
|
+
"Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticbeanstalk-application-applicationresourcelifecycleconfig.html",
|
3844
|
+
"Properties": {
|
3845
|
+
"ServiceRole": {
|
3846
|
+
"Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticbeanstalk-application-applicationresourcelifecycleconfig.html#cfn-elasticbeanstalk-application-applicationresourcelifecycleconfig-servicerole",
|
3847
|
+
"PrimitiveType": "String",
|
3848
|
+
"Required": false,
|
3849
|
+
"UpdateType": "Mutable"
|
3850
|
+
},
|
3851
|
+
"VersionLifecycleConfig": {
|
3852
|
+
"Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticbeanstalk-application-applicationresourcelifecycleconfig.html#cfn-elasticbeanstalk-application-applicationresourcelifecycleconfig-versionlifecycleconfig",
|
3853
|
+
"Required": false,
|
3854
|
+
"Type": "ApplicationVersionLifecycleConfig",
|
3855
|
+
"UpdateType": "Mutable"
|
3856
|
+
}
|
3857
|
+
}
|
3858
|
+
},
|
3748
3859
|
"AWS::KinesisFirehose::DeliveryStream.BufferingHints": {
|
3749
3860
|
"Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisfirehose-deliverystream-bufferinghints.html",
|
3750
3861
|
"Properties": {
|
@@ -4828,6 +4939,23 @@
|
|
4828
4939
|
}
|
4829
4940
|
}
|
4830
4941
|
},
|
4942
|
+
"AWS::KinesisFirehose::DeliveryStream.KinesisStreamSourceConfiguration": {
|
4943
|
+
"Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisfirehose-deliverystream-kinesisstreamsourceconfiguration.html",
|
4944
|
+
"Properties": {
|
4945
|
+
"KinesisStreamARN": {
|
4946
|
+
"Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisfirehose-deliverystream-kinesisstreamsourceconfiguration.html#cfn-kinesisfirehose-deliverystream-kinesisstreamsourceconfiguration-kinesisstreamarn",
|
4947
|
+
"PrimitiveType": "String",
|
4948
|
+
"Required": true,
|
4949
|
+
"UpdateType": "Mutable"
|
4950
|
+
},
|
4951
|
+
"RoleARN": {
|
4952
|
+
"Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisfirehose-deliverystream-kinesisstreamsourceconfiguration.html#cfn-kinesisfirehose-deliverystream-kinesisstreamsourceconfiguration-rolearn",
|
4953
|
+
"PrimitiveType": "String",
|
4954
|
+
"Required": true,
|
4955
|
+
"UpdateType": "Mutable"
|
4956
|
+
}
|
4957
|
+
}
|
4958
|
+
},
|
4831
4959
|
"AWS::ElasticLoadBalancingV2::ListenerRule.Action": {
|
4832
4960
|
"Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticloadbalancingv2-listenerrule-actions.html",
|
4833
4961
|
"Properties": {
|
@@ -5570,6 +5698,55 @@
|
|
5570
5698
|
}
|
5571
5699
|
}
|
5572
5700
|
},
|
5701
|
+
"AWS::S3::Bucket.InventoryConfiguration": {
|
5702
|
+
"Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-inventoryconfiguration.html",
|
5703
|
+
"Properties": {
|
5704
|
+
"Destination": {
|
5705
|
+
"Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-inventoryconfiguration.html#cfn-s3-bucket-inventoryconfiguration-destination",
|
5706
|
+
"Required": true,
|
5707
|
+
"Type": "Destination",
|
5708
|
+
"UpdateType": "Mutable"
|
5709
|
+
},
|
5710
|
+
"Enabled": {
|
5711
|
+
"Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-inventoryconfiguration.html#cfn-s3-bucket-inventoryconfiguration-enabled",
|
5712
|
+
"PrimitiveType": "Boolean",
|
5713
|
+
"Required": true,
|
5714
|
+
"UpdateType": "Mutable"
|
5715
|
+
},
|
5716
|
+
"Id": {
|
5717
|
+
"Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-inventoryconfiguration.html#cfn-s3-bucket-inventoryconfiguration-id",
|
5718
|
+
"PrimitiveType": "String",
|
5719
|
+
"Required": true,
|
5720
|
+
"UpdateType": "Mutable"
|
5721
|
+
},
|
5722
|
+
"IncludedObjectVersions": {
|
5723
|
+
"Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-inventoryconfiguration.html#cfn-s3-bucket-inventoryconfiguration-includedobjectversions",
|
5724
|
+
"PrimitiveType": "String",
|
5725
|
+
"Required": true,
|
5726
|
+
"UpdateType": "Mutable"
|
5727
|
+
},
|
5728
|
+
"OptionalFields": {
|
5729
|
+
"Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-inventoryconfiguration.html#cfn-s3-bucket-inventoryconfiguration-optionalfields",
|
5730
|
+
"DuplicatesAllowed": false,
|
5731
|
+
"PrimitiveItemType": "String",
|
5732
|
+
"Required": false,
|
5733
|
+
"Type": "List",
|
5734
|
+
"UpdateType": "Mutable"
|
5735
|
+
},
|
5736
|
+
"Prefix": {
|
5737
|
+
"Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-inventoryconfiguration.html#cfn-s3-bucket-inventoryconfiguration-prefix",
|
5738
|
+
"PrimitiveType": "String",
|
5739
|
+
"Required": false,
|
5740
|
+
"UpdateType": "Mutable"
|
5741
|
+
},
|
5742
|
+
"ScheduleFrequency": {
|
5743
|
+
"Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-inventoryconfiguration.html#cfn-s3-bucket-inventoryconfiguration-schedulefrequency",
|
5744
|
+
"PrimitiveType": "String",
|
5745
|
+
"Required": true,
|
5746
|
+
"UpdateType": "Mutable"
|
5747
|
+
}
|
5748
|
+
}
|
5749
|
+
},
|
5573
5750
|
"AWS::ECS::TaskDefinition.VolumeFrom": {
|
5574
5751
|
"Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskdefinition-containerdefinitions-volumesfrom.html",
|
5575
5752
|
"Properties": {
|
@@ -5766,7 +5943,7 @@
|
|
5766
5943
|
"Value": {
|
5767
5944
|
"Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-beanstalk-option-settings.html#cfn-beanstalk-optionsettings-value",
|
5768
5945
|
"PrimitiveType": "String",
|
5769
|
-
"Required":
|
5946
|
+
"Required": false,
|
5770
5947
|
"UpdateType": "Mutable"
|
5771
5948
|
}
|
5772
5949
|
}
|
@@ -7388,6 +7565,23 @@
|
|
7388
7565
|
}
|
7389
7566
|
}
|
7390
7567
|
},
|
7568
|
+
"AWS::ElasticBeanstalk::Application.ApplicationVersionLifecycleConfig": {
|
7569
|
+
"Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticbeanstalk-application-applicationversionlifecycleconfig.html",
|
7570
|
+
"Properties": {
|
7571
|
+
"MaxAgeRule": {
|
7572
|
+
"Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticbeanstalk-application-applicationversionlifecycleconfig.html#cfn-elasticbeanstalk-application-applicationversionlifecycleconfig-maxagerule",
|
7573
|
+
"Required": false,
|
7574
|
+
"Type": "MaxAgeRule",
|
7575
|
+
"UpdateType": "Mutable"
|
7576
|
+
},
|
7577
|
+
"MaxCountRule": {
|
7578
|
+
"Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticbeanstalk-application-applicationversionlifecycleconfig.html#cfn-elasticbeanstalk-application-applicationversionlifecycleconfig-maxcountrule",
|
7579
|
+
"Required": false,
|
7580
|
+
"Type": "MaxCountRule",
|
7581
|
+
"UpdateType": "Mutable"
|
7582
|
+
}
|
7583
|
+
}
|
7584
|
+
},
|
7391
7585
|
"AWS::Config::ConfigRule.Source": {
|
7392
7586
|
"Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-config-configrule-source.html",
|
7393
7587
|
"Properties": {
|
@@ -7562,6 +7756,12 @@
|
|
7562
7756
|
"AWS::ElasticLoadBalancingV2::TargetGroup.TargetDescription": {
|
7563
7757
|
"Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticloadbalancingv2-targetgroup-targetdescription.html",
|
7564
7758
|
"Properties": {
|
7759
|
+
"AvailabilityZone": {
|
7760
|
+
"Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticloadbalancingv2-targetgroup-targetdescription.html#cfn-elasticloadbalancingv2-targetgroup-targetdescription-availabilityzone",
|
7761
|
+
"PrimitiveType": "String",
|
7762
|
+
"Required": false,
|
7763
|
+
"UpdateType": "Mutable"
|
7764
|
+
},
|
7565
7765
|
"Id": {
|
7566
7766
|
"Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticloadbalancingv2-targetgroup-targetdescription.html#cfn-elasticloadbalancingv2-targetgroup-targetdescription-id",
|
7567
7767
|
"PrimitiveType": "String",
|
@@ -7883,6 +8083,23 @@
|
|
7883
8083
|
}
|
7884
8084
|
}
|
7885
8085
|
},
|
8086
|
+
"AWS::S3::Bucket.DataExport": {
|
8087
|
+
"Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-dataexport.html",
|
8088
|
+
"Properties": {
|
8089
|
+
"Destination": {
|
8090
|
+
"Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-dataexport.html#cfn-s3-bucket-dataexport-destination",
|
8091
|
+
"Required": true,
|
8092
|
+
"Type": "Destination",
|
8093
|
+
"UpdateType": "Mutable"
|
8094
|
+
},
|
8095
|
+
"OutputSchemaVersion": {
|
8096
|
+
"Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-dataexport.html#cfn-s3-bucket-dataexport-outputschemaversion",
|
8097
|
+
"PrimitiveType": "String",
|
8098
|
+
"Required": true,
|
8099
|
+
"UpdateType": "Mutable"
|
8100
|
+
}
|
8101
|
+
}
|
8102
|
+
},
|
7886
8103
|
"AWS::CloudFront::Distribution.CustomErrorResponse": {
|
7887
8104
|
"Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-distributionconfig-customerrorresponse.html",
|
7888
8105
|
"Properties": {
|
@@ -8151,29 +8368,6 @@
|
|
8151
8368
|
}
|
8152
8369
|
}
|
8153
8370
|
},
|
8154
|
-
"AWS::ElasticBeanstalk::Environment.OptionSettings": {
|
8155
|
-
"Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-beanstalk-option-settings.html",
|
8156
|
-
"Properties": {
|
8157
|
-
"Namespace": {
|
8158
|
-
"Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-beanstalk-option-settings.html#cfn-beanstalk-optionsettings-namespace",
|
8159
|
-
"PrimitiveType": "String",
|
8160
|
-
"Required": true,
|
8161
|
-
"UpdateType": "Mutable"
|
8162
|
-
},
|
8163
|
-
"OptionName": {
|
8164
|
-
"Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-beanstalk-option-settings.html#cfn-beanstalk-optionsettings-optionname",
|
8165
|
-
"PrimitiveType": "String",
|
8166
|
-
"Required": true,
|
8167
|
-
"UpdateType": "Mutable"
|
8168
|
-
},
|
8169
|
-
"Value": {
|
8170
|
-
"Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-beanstalk-option-settings.html#cfn-beanstalk-optionsettings-value",
|
8171
|
-
"PrimitiveType": "String",
|
8172
|
-
"Required": true,
|
8173
|
-
"UpdateType": "Mutable"
|
8174
|
-
}
|
8175
|
-
}
|
8176
|
-
},
|
8177
8371
|
"AWS::IoT::TopicRule.CloudwatchAlarmAction": {
|
8178
8372
|
"Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-topicrule-cloudwatchalarmaction.html",
|
8179
8373
|
"Properties": {
|
@@ -9004,6 +9198,29 @@
|
|
9004
9198
|
}
|
9005
9199
|
}
|
9006
9200
|
},
|
9201
|
+
"AWS::ElasticBeanstalk::Application.MaxCountRule": {
|
9202
|
+
"Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticbeanstalk-application-maxcountrule.html",
|
9203
|
+
"Properties": {
|
9204
|
+
"DeleteSourceFromS3": {
|
9205
|
+
"Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticbeanstalk-application-maxcountrule.html#cfn-elasticbeanstalk-application-maxcountrule-deletesourcefroms3",
|
9206
|
+
"PrimitiveType": "Boolean",
|
9207
|
+
"Required": false,
|
9208
|
+
"UpdateType": "Mutable"
|
9209
|
+
},
|
9210
|
+
"Enabled": {
|
9211
|
+
"Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticbeanstalk-application-maxcountrule.html#cfn-elasticbeanstalk-application-maxcountrule-enabled",
|
9212
|
+
"PrimitiveType": "Boolean",
|
9213
|
+
"Required": false,
|
9214
|
+
"UpdateType": "Mutable"
|
9215
|
+
},
|
9216
|
+
"MaxCount": {
|
9217
|
+
"Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticbeanstalk-application-maxcountrule.html#cfn-elasticbeanstalk-application-maxcountrule-maxcount",
|
9218
|
+
"PrimitiveType": "Integer",
|
9219
|
+
"Required": false,
|
9220
|
+
"UpdateType": "Mutable"
|
9221
|
+
}
|
9222
|
+
}
|
9223
|
+
},
|
9007
9224
|
"AWS::KinesisAnalytics::ApplicationReferenceDataSource.ReferenceSchema": {
|
9008
9225
|
"Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisanalytics-applicationreferencedatasource-referenceschema.html",
|
9009
9226
|
"Properties": {
|
@@ -10279,6 +10496,29 @@
|
|
10279
10496
|
}
|
10280
10497
|
}
|
10281
10498
|
},
|
10499
|
+
"AWS::ElasticBeanstalk::Application.MaxAgeRule": {
|
10500
|
+
"Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticbeanstalk-application-maxagerule.html",
|
10501
|
+
"Properties": {
|
10502
|
+
"DeleteSourceFromS3": {
|
10503
|
+
"Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticbeanstalk-application-maxagerule.html#cfn-elasticbeanstalk-application-maxagerule-deletesourcefroms3",
|
10504
|
+
"PrimitiveType": "Boolean",
|
10505
|
+
"Required": false,
|
10506
|
+
"UpdateType": "Mutable"
|
10507
|
+
},
|
10508
|
+
"Enabled": {
|
10509
|
+
"Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticbeanstalk-application-maxagerule.html#cfn-elasticbeanstalk-application-maxagerule-enabled",
|
10510
|
+
"PrimitiveType": "Boolean",
|
10511
|
+
"Required": false,
|
10512
|
+
"UpdateType": "Mutable"
|
10513
|
+
},
|
10514
|
+
"MaxAgeInDays": {
|
10515
|
+
"Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticbeanstalk-application-maxagerule.html#cfn-elasticbeanstalk-application-maxagerule-maxageindays",
|
10516
|
+
"PrimitiveType": "Integer",
|
10517
|
+
"Required": false,
|
10518
|
+
"UpdateType": "Mutable"
|
10519
|
+
}
|
10520
|
+
}
|
10521
|
+
},
|
10282
10522
|
"AWS::EMR::InstanceGroupConfig.AutoScalingPolicy": {
|
10283
10523
|
"Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-instancegroupconfig-autoscalingpolicy.html",
|
10284
10524
|
"Properties": {
|
@@ -10393,6 +10633,12 @@
|
|
10393
10633
|
"Type": "List",
|
10394
10634
|
"UpdateType": "Mutable"
|
10395
10635
|
},
|
10636
|
+
"PlatformArn": {
|
10637
|
+
"Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-beanstalk-configurationtemplate.html#cfn-elasticbeanstalk-configurationtemplate-platformarn",
|
10638
|
+
"PrimitiveType": "String",
|
10639
|
+
"Required": false,
|
10640
|
+
"UpdateType": "Immutable"
|
10641
|
+
},
|
10396
10642
|
"SolutionStackName": {
|
10397
10643
|
"Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-beanstalk-configurationtemplate.html#cfn-elasticbeanstalk-configurationtemplate-solutionstackname",
|
10398
10644
|
"PrimitiveType": "String",
|
@@ -12139,6 +12385,14 @@
|
|
12139
12385
|
"PrimitiveType": "String",
|
12140
12386
|
"Required": false,
|
12141
12387
|
"UpdateType": "Immutable"
|
12388
|
+
},
|
12389
|
+
"Tags": {
|
12390
|
+
"Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-kms-key.html#cfn-kms-key-tags",
|
12391
|
+
"DuplicatesAllowed": true,
|
12392
|
+
"ItemType": "Tag",
|
12393
|
+
"Required": false,
|
12394
|
+
"Type": "List",
|
12395
|
+
"UpdateType": "Mutable"
|
12142
12396
|
}
|
12143
12397
|
}
|
12144
12398
|
},
|
@@ -14086,6 +14340,12 @@
|
|
14086
14340
|
"PrimitiveType": "String",
|
14087
14341
|
"Required": false,
|
14088
14342
|
"UpdateType": "Mutable"
|
14343
|
+
},
|
14344
|
+
"ResourceLifecycleConfig": {
|
14345
|
+
"Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-beanstalk.html#cfn-elasticbeanstalk-application-resourcelifecycleconfig",
|
14346
|
+
"Required": false,
|
14347
|
+
"Type": "ApplicationResourceLifecycleConfig",
|
14348
|
+
"UpdateType": "Mutable"
|
14089
14349
|
}
|
14090
14350
|
}
|
14091
14351
|
},
|
@@ -15299,6 +15559,14 @@
|
|
15299
15559
|
"PrimitiveType": "String",
|
15300
15560
|
"Required": true,
|
15301
15561
|
"UpdateType": "Immutable"
|
15562
|
+
},
|
15563
|
+
"Tags": {
|
15564
|
+
"Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-natgateway.html#cfn-ec2-natgateway-tags",
|
15565
|
+
"DuplicatesAllowed": true,
|
15566
|
+
"ItemType": "Tag",
|
15567
|
+
"Required": false,
|
15568
|
+
"Type": "List",
|
15569
|
+
"UpdateType": "Mutable"
|
15302
15570
|
}
|
15303
15571
|
}
|
15304
15572
|
},
|
@@ -16768,11 +17036,17 @@
|
|
16768
17036
|
"OptionSettings": {
|
16769
17037
|
"Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-beanstalk-environment.html#cfn-beanstalk-environment-optionsettings",
|
16770
17038
|
"DuplicatesAllowed": true,
|
16771
|
-
"ItemType": "
|
17039
|
+
"ItemType": "OptionSetting",
|
16772
17040
|
"Required": false,
|
16773
17041
|
"Type": "List",
|
16774
17042
|
"UpdateType": "Mutable"
|
16775
17043
|
},
|
17044
|
+
"PlatformArn": {
|
17045
|
+
"Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-beanstalk-environment.html#cfn-beanstalk-environment-platformarn",
|
17046
|
+
"PrimitiveType": "String",
|
17047
|
+
"Required": false,
|
17048
|
+
"UpdateType": "Mutable"
|
17049
|
+
},
|
16776
17050
|
"SolutionStackName": {
|
16777
17051
|
"Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-beanstalk-environment.html#cfn-beanstalk-environment-solutionstackname",
|
16778
17052
|
"PrimitiveType": "String",
|
@@ -17347,6 +17621,14 @@
|
|
17347
17621
|
"Required": false,
|
17348
17622
|
"UpdateType": "Mutable"
|
17349
17623
|
},
|
17624
|
+
"AnalyticsConfigurations": {
|
17625
|
+
"Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket.html#cfn-s3-bucket-analyticsconfigurations",
|
17626
|
+
"DuplicatesAllowed": false,
|
17627
|
+
"ItemType": "AnalyticsConfiguration",
|
17628
|
+
"Required": false,
|
17629
|
+
"Type": "List",
|
17630
|
+
"UpdateType": "Mutable"
|
17631
|
+
},
|
17350
17632
|
"BucketName": {
|
17351
17633
|
"Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket.html#cfn-s3-bucket-name",
|
17352
17634
|
"PrimitiveType": "String",
|
@@ -17359,6 +17641,14 @@
|
|
17359
17641
|
"Type": "CorsConfiguration",
|
17360
17642
|
"UpdateType": "Mutable"
|
17361
17643
|
},
|
17644
|
+
"InventoryConfigurations": {
|
17645
|
+
"Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket.html#cfn-s3-bucket-inventoryconfigurations",
|
17646
|
+
"DuplicatesAllowed": false,
|
17647
|
+
"ItemType": "InventoryConfiguration",
|
17648
|
+
"Required": false,
|
17649
|
+
"Type": "List",
|
17650
|
+
"UpdateType": "Mutable"
|
17651
|
+
},
|
17362
17652
|
"LifecycleConfiguration": {
|
17363
17653
|
"Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket.html#cfn-s3-bucket-lifecycleconfig",
|
17364
17654
|
"Required": false,
|
@@ -17641,6 +17931,12 @@
|
|
17641
17931
|
"Required": false,
|
17642
17932
|
"UpdateType": "Immutable"
|
17643
17933
|
},
|
17934
|
+
"DeliveryStreamType": {
|
17935
|
+
"Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-kinesisfirehose-deliverystream.html#cfn-kinesisfirehose-deliverystream-deliverystreamtype",
|
17936
|
+
"PrimitiveType": "String",
|
17937
|
+
"Required": false,
|
17938
|
+
"UpdateType": "Immutable"
|
17939
|
+
},
|
17644
17940
|
"ElasticsearchDestinationConfiguration": {
|
17645
17941
|
"Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-kinesisfirehose-deliverystream.html#cfn-kinesisfirehose-deliverystream-elasticsearchdestinationconfiguration",
|
17646
17942
|
"Required": false,
|
@@ -17653,6 +17949,12 @@
|
|
17653
17949
|
"Type": "ExtendedS3DestinationConfiguration",
|
17654
17950
|
"UpdateType": "Mutable"
|
17655
17951
|
},
|
17952
|
+
"KinesisStreamSourceConfiguration": {
|
17953
|
+
"Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-kinesisfirehose-deliverystream.html#cfn-kinesisfirehose-deliverystream-kinesisstreamsourceconfiguration",
|
17954
|
+
"Required": false,
|
17955
|
+
"Type": "KinesisStreamSourceConfiguration",
|
17956
|
+
"UpdateType": "Mutable"
|
17957
|
+
},
|
17656
17958
|
"RedshiftDestinationConfiguration": {
|
17657
17959
|
"Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-kinesisfirehose-deliverystream.html#cfn-kinesisfirehose-deliverystream-redshiftdestinationconfiguration",
|
17658
17960
|
"Required": false,
|
@@ -19415,7 +19717,7 @@
|
|
19415
19717
|
"Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-dynamodb-table.html#cfn-dynamodb-table-attributedef",
|
19416
19718
|
"DuplicatesAllowed": true,
|
19417
19719
|
"ItemType": "AttributeDefinition",
|
19418
|
-
"Required":
|
19720
|
+
"Required": false,
|
19419
19721
|
"Type": "List",
|
19420
19722
|
"UpdateType": "Mutable"
|
19421
19723
|
},
|
@@ -20152,5 +20454,5 @@
|
|
20152
20454
|
}
|
20153
20455
|
}
|
20154
20456
|
},
|
20155
|
-
"ResourceSpecificationVersion": "1.
|
20457
|
+
"ResourceSpecificationVersion": "1.7.0"
|
20156
20458
|
}
|
@@ -0,0 +1,26 @@
|
|
1
|
+
module Humidifier
|
2
|
+
module AwsAdapters
|
3
|
+
# The adapter for v3 of aws-sdk
|
4
|
+
class SDKV3 < SDKV2
|
5
|
+
S3_SDK_MESSAGE = <<-MSG.freeze
|
6
|
+
The AWS SDK for versions 3+ have broken out individual AWS modules into their
|
7
|
+
own gems. Since the stack that you're attempting to use is large enough that it
|
8
|
+
needs to be uploaded to S3, humidifier needs to load the S3 SDK. Please make
|
9
|
+
sure that the 'aws-sdk-s3' gem is available in your load path.
|
10
|
+
MSG
|
11
|
+
|
12
|
+
private
|
13
|
+
|
14
|
+
def upload_object(payload, key)
|
15
|
+
raise S3_SDK_MESSAGE unless s3_sdk_loaded?
|
16
|
+
super
|
17
|
+
end
|
18
|
+
|
19
|
+
def s3_sdk_loaded?
|
20
|
+
require 'aws-sdk-s3' || true
|
21
|
+
rescue LoadError
|
22
|
+
false
|
23
|
+
end
|
24
|
+
end
|
25
|
+
end
|
26
|
+
end
|
data/lib/humidifier/aws_shim.rb
CHANGED
@@ -2,6 +2,7 @@ require 'humidifier/aws_adapters/base'
|
|
2
2
|
require 'humidifier/aws_adapters/noop'
|
3
3
|
require 'humidifier/aws_adapters/sdkv1'
|
4
4
|
require 'humidifier/aws_adapters/sdkv2'
|
5
|
+
require 'humidifier/aws_adapters/sdkv3'
|
5
6
|
|
6
7
|
module Humidifier
|
7
8
|
# Optionally provides aws-sdk functionality if the gem is loaded
|
@@ -27,6 +28,8 @@ module Humidifier
|
|
27
28
|
AwsAdapters::SDKV1.new
|
28
29
|
elsif Humidifier.config.sdk_version_2?
|
29
30
|
AwsAdapters::SDKV2.new
|
31
|
+
elsif Humidifier.config.sdk_version_3?
|
32
|
+
AwsAdapters::SDKV3.new
|
30
33
|
else
|
31
34
|
guess_sdk
|
32
35
|
end
|
@@ -50,10 +53,11 @@ module Humidifier
|
|
50
53
|
private
|
51
54
|
|
52
55
|
def guess_sdk
|
53
|
-
|
54
|
-
try_require_sdk('aws-sdk')
|
56
|
+
try_requiring_sdks
|
55
57
|
|
56
|
-
if
|
58
|
+
if defined?(Aws) && Aws::CORE_GEM_VERSION[0] == '3'
|
59
|
+
AwsAdapters::SDKV3.new
|
60
|
+
elsif defined?(Aws)
|
57
61
|
AwsAdapters::SDKV2.new
|
58
62
|
elsif Object.const_defined?(:AWS)
|
59
63
|
AwsAdapters::SDKV1.new
|
@@ -63,8 +67,15 @@ module Humidifier
|
|
63
67
|
end
|
64
68
|
|
65
69
|
def try_require_sdk(name)
|
66
|
-
require name
|
67
|
-
rescue LoadError
|
70
|
+
require name || true
|
71
|
+
rescue LoadError
|
72
|
+
false
|
73
|
+
end
|
74
|
+
|
75
|
+
def try_requiring_sdks
|
76
|
+
try_require_sdk('aws-sdk-cloudformation') ||
|
77
|
+
try_require_sdk('aws-sdk') ||
|
78
|
+
try_require_sdk('aws-sdk-v1')
|
68
79
|
end
|
69
80
|
end
|
70
81
|
end
|
data/lib/humidifier/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: humidifier
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.7.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Localytics
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-09-
|
11
|
+
date: 2017-09-29 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -124,6 +124,7 @@ files:
|
|
124
124
|
- lib/humidifier/aws_adapters/noop.rb
|
125
125
|
- lib/humidifier/aws_adapters/sdkv1.rb
|
126
126
|
- lib/humidifier/aws_adapters/sdkv2.rb
|
127
|
+
- lib/humidifier/aws_adapters/sdkv3.rb
|
127
128
|
- lib/humidifier/aws_shim.rb
|
128
129
|
- lib/humidifier/condition.rb
|
129
130
|
- lib/humidifier/configuration.rb
|