cloud_former 0.4.0 → 0.4.1

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: 92b0672250f124283bba5bfb8f46a26a94893eb5
4
- data.tar.gz: 8fad98920d0be7dfce1105fd16c783621e79e6ec
3
+ metadata.gz: 7f8066a2d602aa512517fdfd0b54531f5bf816d1
4
+ data.tar.gz: 8fc639e8dcc5e89b9654cc0c62acd1803115c3d8
5
5
  SHA512:
6
- metadata.gz: 96106112b7a7a5a95e0b433cd9fddaeb2c13491da75f91889545963ec1253f9711ed79d8c21e934d47bb9c0b77922067470abb73f84b576fac71c086205e4d32
7
- data.tar.gz: 0f401bb91d688c1652e49c79a312a6c1db184f9ae1b42c75df3702fb5a7efff95af096efd262ee12bc230c3475c30d6bbe726987f73a5c74040b2af50b9f52be
6
+ metadata.gz: 33c4eeb5eaf25a9cae49e9506a81e1c1db4eafd86053678f0a42e59d837dca8c49935bfe5d2d230038378483a0c99144a25c49ee27ba51acd05051041f26627b
7
+ data.tar.gz: 7149cc03941e841320496d3be643c50540c30587e05754355b09ddf89d17732ea46c600e13e7836770a1b7e69674741aa1cde21ca0587cae037a88361adf912f
@@ -0,0 +1,9 @@
1
+ # http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-property-redshift-clusterparametergroup-parameter.html
2
+ module CloudFormer
3
+ module Redshift
4
+ class Parameter < ResourceProperty
5
+ aws_attribute :parameter_name, type: String
6
+ aws_attribute :parameter_value, type: String
7
+ end
8
+ end
9
+ end
@@ -0,0 +1,31 @@
1
+ # http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-redshift-cluster.html
2
+ module CloudFormer
3
+ module Redshift
4
+ class Cluster < Resource
5
+ aws_property :allow_version_upgrade, type: Boolean
6
+ aws_property :automated_snapshot_retention_period, type: Integer
7
+ aws_property :availability_zone, type: String
8
+ aws_property :cluster_parameter_group_name, type: String
9
+ aws_property :cluster_security_groups, list: true, type: String
10
+ aws_property :cluster_subnet_group_name, type: String
11
+ aws_property :cluster_type, type: String
12
+ aws_property :cluster_version, type: String
13
+ aws_property :db_name, name: 'DBName', type: String
14
+ aws_property :elastic_ip, type: String
15
+ aws_property :encrypted, type: Boolean
16
+ aws_property :hsm_client_certificate_identifier, type: String
17
+ aws_property :hsm_configuration_identifier, type: String
18
+ aws_property :master_username, type: String
19
+ aws_property :master_user_password, type: String
20
+ aws_property :node_type, type: String
21
+ aws_property :number_of_nodes, type: Integer
22
+ aws_property :owner_account, type: String
23
+ aws_property :port, type: Integer
24
+ aws_property :preferred_maintenance_window, type: String
25
+ aws_property :publicly_accessible, type: Boolean
26
+ aws_property :snapshot_cluster_identifier, type: String
27
+ aws_property :snapshot_identifier, type: String
28
+ aws_property :vpc_security_group_ids, list: true, type: String
29
+ end
30
+ end
31
+ end
@@ -0,0 +1,10 @@
1
+ # http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-redshift-clusterparametergroup.html
2
+ module CloudFormer
3
+ module Redshift
4
+ class ClusterParameterGroup < Resource
5
+ aws_property :description, type: Boolean
6
+ aws_property :parameter_group_family, type: Integer
7
+ aws_property :parameters, list: true, type: Parameter
8
+ end
9
+ end
10
+ end
@@ -0,0 +1,8 @@
1
+ # http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-redshift-clustersecuritygroup.html
2
+ module CloudFormer
3
+ module Redshift
4
+ class ClusterSecurityGroup < Resource
5
+ aws_property :description, type: String
6
+ end
7
+ end
8
+ end
@@ -0,0 +1,11 @@
1
+ # http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-redshift-clustersecuritygroupingress.html
2
+ module CloudFormer
3
+ module Redshift
4
+ class ClusterSecurityGroupIngress < Resource
5
+ aws_property :cluster_security_group_name, type: String
6
+ aws_property :cidrip, name: 'CIDRIP', type: String
7
+ aws_property :ec2_security_group_name, name: 'EC2SecurityGroupName', type: String
8
+ aws_property :ec2_security_group_owner_id, name: 'EC2SecurityGroupOwnerId', type: String
9
+ end
10
+ end
11
+ end
@@ -0,0 +1,9 @@
1
+ # http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-redshift-clustersubnetgroup.html
2
+ module CloudFormer
3
+ module Redshift
4
+ class ClusterSubnetGroup < Resource
5
+ aws_property :description, type: String
6
+ aws_property :subnet_ids, list: true, type: String
7
+ end
8
+ end
9
+ end
@@ -1,3 +1,3 @@
1
1
  module CloudFormer
2
- VERSION = '0.4.0'
2
+ VERSION = '0.4.1'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cloud_former
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.0
4
+ version: 0.4.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Aubrey Holland
@@ -157,6 +157,7 @@ files:
157
157
  - lib/cloud_former/resource_properties/elastic_load_balancing/listener.rb
158
158
  - lib/cloud_former/resource_properties/elastic_load_balancing/policy.rb
159
159
  - lib/cloud_former/resource_properties/rds/security_group_rule.rb
160
+ - lib/cloud_former/resource_properties/redshift/parameter.rb
160
161
  - lib/cloud_former/resource_properties/resource_property.rb
161
162
  - lib/cloud_former/resource_properties/s3/cors_configuration.rb
162
163
  - lib/cloud_former/resource_properties/s3/cors_rule.rb
@@ -230,6 +231,11 @@ files:
230
231
  - lib/cloud_former/resources/rds/db_parameter_group.rb
231
232
  - lib/cloud_former/resources/rds/db_security_group.rb
232
233
  - lib/cloud_former/resources/rds/db_subnet_group.rb
234
+ - lib/cloud_former/resources/redshift/cluster.rb
235
+ - lib/cloud_former/resources/redshift/cluster_parameter_group.rb
236
+ - lib/cloud_former/resources/redshift/cluster_security_group.rb
237
+ - lib/cloud_former/resources/redshift/cluster_security_group_ingress.rb
238
+ - lib/cloud_former/resources/redshift/cluster_subnet_group.rb
233
239
  - lib/cloud_former/resources/resource.rb
234
240
  - lib/cloud_former/resources/s3/bucket.rb
235
241
  - lib/cloud_former/resources/sns/topic.rb