cloud_former 0.4.10 → 0.4.11

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: d18c4dc7c67ad9101295cb778dea8927aa3b726e
4
- data.tar.gz: 26e157b3e3ac58cc30e75c4466f76792a6a908c6
3
+ metadata.gz: 884ce7ae5fa7f135b06a89940a520b41bf035a24
4
+ data.tar.gz: c586d924d079f1e593097f0c02d6bbfde0913aff
5
5
  SHA512:
6
- metadata.gz: 0b713ab3240f3fb71c809247ed054f858fc12d329640bc69a985d6de6b490ae51fee400a1ea4b3566a82028245722bc9fb1a21f324dbb960a10a1c732f0b1b59
7
- data.tar.gz: 042136f901246e7c593f589acb7e21aaec4120d46ee44d03abfcb9704f8605b960e494e5ea4b5ca2eed0811625020237b69dae92b4c2331b7fff968e8ffd9a7a
6
+ metadata.gz: 09272cd1cac03246aa051a8d7eab11734c8d341bf284c4ba5341898fff8694d6c2491230a5890c98b1b8b21f07f3632dd65f5308a40157bb6720debaf2f98c30
7
+ data.tar.gz: 01c364268b4c181b84a7fa3692ea4b6ee19741948c5991b38e4001270652100054470125d77ccbb241b0a3f7cdf9d559a0a29835b345f8d6e7fd27820a8b90bd
@@ -1,6 +1,5 @@
1
1
  # http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-authentication.html
2
2
  module CloudFormer
3
-
4
3
  module CloudFormation
5
4
  class Authentication < MetadataResource
6
5
 
@@ -7,6 +7,7 @@ module CloudFormer
7
7
  list: true,
8
8
  embed: true,
9
9
  type: BlockDeviceMapping
10
+ aws_property :class_link_vpc_id, type: String, name: 'ClassicLinkVPCSecurityGroups'
10
11
  aws_property :ebs_optimized, type: Boolean
11
12
  aws_property :iam_instance_profile, type: String
12
13
  aws_property :image_id, type: String
@@ -15,6 +16,7 @@ module CloudFormer
15
16
  aws_property :instance_type, type: String
16
17
  aws_property :kernel_id, type: String
17
18
  aws_property :key_name, type: String
19
+ aws_property :placement_tenancy, type: String
18
20
  aws_property :ram_disk_id, type: String
19
21
  aws_property :security_groups,
20
22
  list: true,
@@ -0,0 +1,14 @@
1
+ # http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-as-lifecyclehook.html
2
+ module CloudFormer
3
+ module AutoScaling
4
+ class LifecycleHook < Resource
5
+ aws_property :auto_scaling_group_name, type: String
6
+ aws_property :default_result, type: String
7
+ aws_property :heartbeat_timeout, type: Integer
8
+ aws_property :lifecycle_transition, type: String
9
+ aws_property :notification_metadata, type: String
10
+ aws_property :notification_topic_arn, type: String, name: 'NotificationTargetARN'
11
+ aws_property :role_arn, type: String, name: 'RoleARN'
12
+ end
13
+ end
14
+ end
@@ -5,6 +5,7 @@ module CloudFormer
5
5
  aws_property :adjustment_type, type: String
6
6
  aws_property :auto_scaling_group_name, type: String
7
7
  aws_property :cooldown, type: String
8
+ aws_property :min_adjustment_step, type: Integer
8
9
  aws_property :scaling_adjustment, type: String
9
10
  end
10
11
  end
@@ -0,0 +1,11 @@
1
+ # http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-waitcondition.html
2
+ module CloudFormer
3
+ module CloudFormation
4
+ class Stack < Resource
5
+ aws_property :notification_arns, type: String, list: true, name: 'NotificationARNs'
6
+ aws_property :parameters, type: Hash
7
+ aws_property :template_url, type: String, name: 'TemplateURL'
8
+ aws_property :timeout_in_minutes, type: String
9
+ end
10
+ end
11
+ end
@@ -0,0 +1,11 @@
1
+ module CloudFormer
2
+ module CloudTrail
3
+ class Trail < Resource
4
+ aws_property :include_global_service_events, type: Boolean
5
+ aws_property :is_logging, type: Boolean
6
+ aws_property :s3_bucket_name, type: String
7
+ aws_property :s3_key_prefix, type: String
8
+ aws_property :sns_topic_name, type: String
9
+ end
10
+ end
11
+ end
@@ -7,6 +7,7 @@ module CloudFormer
7
7
  aws_property :auto_minor_version_upgrade, type: Boolean
8
8
  aws_property :availability_zone, type: String
9
9
  aws_property :backup_retention_period, type: String
10
+ aws_property :character_set_name, type: String
10
11
  aws_property :db_instance_class, name: 'DBInstanceClass', type: String
11
12
  aws_property :db_instance_identifier, name: 'DBInstanceIdentifier', type: String
12
13
  aws_property :db_name, name: 'DBName', type: String
@@ -17,14 +18,19 @@ module CloudFormer
17
18
  aws_property :engine, type: String
18
19
  aws_property :engine_version, type: String
19
20
  aws_property :iops, type: Integer
21
+ aws_property :kms_key_id, type: String
20
22
  aws_property :license_model, type: String
21
23
  aws_property :master_username, type: String
22
24
  aws_property :master_user_password, type: String
23
25
  aws_property :multi_az, name: 'MultiAZ', type: Boolean
26
+ aws_property :option_group_name, type: String
24
27
  aws_property :port, type: String
25
28
  aws_property :preferred_backup_window, type: String
26
29
  aws_property :preferred_maintenance_window, type: String
30
+ aws_property :publicly_accessible, type: Boolean
27
31
  aws_property :source_db_instance_identifier, name: 'SourceDBInstanceIdentifier', type: String
32
+ aws_property :storage_encrypted, type: Boolean
33
+ aws_property :storage_type, type: Boolean
28
34
  aws_property :tags, list: true, embed: true, type: CloudFormation::ResourceTag
29
35
  aws_property :vpc_security_groups, name: 'VPCSecurityGroups', list: true, type: String
30
36
  end
@@ -1,3 +1,3 @@
1
1
  module CloudFormer
2
- VERSION = '0.4.10'
2
+ VERSION = '0.4.11'
3
3
  end
data/lib/cloud_former.rb CHANGED
@@ -28,6 +28,7 @@ module CloudFormer
28
28
  autoload :BlockDeviceMapping, 'cloud_former/resource_properties/auto_scaling/block_device_mapping'
29
29
  autoload :EbsBlockDevice, 'cloud_former/resource_properties/auto_scaling/ebs_block_device'
30
30
  autoload :LaunchConfiguration, 'cloud_former/resources/auto_scaling/launch_configuration'
31
+ autoload :LifecycleHook, 'cloud_former/resources/auto_scaling/lifecycle_hook'
31
32
  autoload :MetricsCollection, 'cloud_former/resource_properties/auto_scaling/metrics_collection'
32
33
  autoload :NotificationConfiguration, 'cloud_former/resource_properties/auto_scaling/notification_configuration'
33
34
  autoload :ScalingPolicy, 'cloud_former/resources/auto_scaling/scaling_policy'
@@ -41,6 +42,7 @@ module CloudFormer
41
42
  autoload :AuthenticationItem, 'cloud_former/metadata_resources/cloud_formation/authentication_item'
42
43
  autoload :Init, 'cloud_former/metadata_resources/cloud_formation/init'
43
44
  autoload :ResourceTag, 'cloud_former/resource_properties/cloud_formation/resource_tag'
45
+ autoload :Stack, 'cloud_former/resources/cloud_formation/stack'
44
46
  autoload :WaitConditionHandle, 'cloud_former/resources/cloud_formation/wait_condition_handle'
45
47
  autoload :WaitCondition, 'cloud_former/resources/cloud_formation/wait_condition'
46
48
 
@@ -72,6 +74,10 @@ module CloudFormer
72
74
  autoload :ViewerCertificate, 'cloud_former/resource_properties/cloud_front/viewer_certificate'
73
75
  end
74
76
 
77
+ module CloudTrail
78
+ autoload :Trail, 'cloud_former/resources/cloud_trail/trail'
79
+ end
80
+
75
81
  module CloudWatch
76
82
  autoload :Alarm, 'cloud_former/resources/cloud_watch/alarm'
77
83
  autoload :MetricDimension, 'cloud_former/resource_properties/cloud_watch/metric_dimension'
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cloud_former
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.10
4
+ version: 0.4.11
5
5
  platform: ruby
6
6
  authors:
7
7
  - Aubrey Holland
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-07-31 00:00:00.000000000 Z
11
+ date: 2015-08-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport
@@ -178,11 +178,14 @@ files:
178
178
  - lib/cloud_former/resource_properties/sqs/redrive_policy.rb
179
179
  - lib/cloud_former/resources/auto_scaling/auto_scaling_group.rb
180
180
  - lib/cloud_former/resources/auto_scaling/launch_configuration.rb
181
+ - lib/cloud_former/resources/auto_scaling/lifecycle_hook.rb
181
182
  - lib/cloud_former/resources/auto_scaling/scaling_policy.rb
182
183
  - lib/cloud_former/resources/auto_scaling/scheduled_action.rb
184
+ - lib/cloud_former/resources/cloud_formation/stack.rb
183
185
  - lib/cloud_former/resources/cloud_formation/wait_condition.rb
184
186
  - lib/cloud_former/resources/cloud_formation/wait_condition_handle.rb
185
187
  - lib/cloud_former/resources/cloud_front/distribution.rb
188
+ - lib/cloud_former/resources/cloud_trail/trail.rb
186
189
  - lib/cloud_former/resources/cloud_watch/alarm.rb
187
190
  - lib/cloud_former/resources/ec2/customer_gateway.rb
188
191
  - lib/cloud_former/resources/ec2/dhcp_options.rb