convection 2.2.21 → 2.2.22

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: d054a7656e579dc44c97e7372cfca795f6183b22
4
- data.tar.gz: d292a8cf0f757a200475a18aa68174d4fa3fe990
3
+ metadata.gz: fa7f9873b60c460b9fcbd36f676ddefe61ec5c22
4
+ data.tar.gz: 1c24ca31f9437016b6c27f1581f5da2355a939bb
5
5
  SHA512:
6
- metadata.gz: b4d3a91c298467cc019096c3b07d21547240cdb864e148c5bf9978939d0b1da6720ad3836a8533d8a904ae665d44825ed7cc8beb8abf7f760d9f7cdab8425d49
7
- data.tar.gz: e37c2b8475e0ce90a87ab0540ee5cb698f951a074bb4594004bd7d67766ec607cd64f9a297481917f84396e8e3ae1f8896bbadf1d1068c1194adc39fb0cc807d
6
+ metadata.gz: 0d1cced8050c50e5c0e2d1ceb62514fa3f1ad1aa0218ce3af5ba81dc7dab4e83220bfc6f41f3d983e32587373e9250e2dfae85a25ce1c5fd31f9116ead351b71
7
+ data.tar.gz: f1a0b5a68ef6e0c2940f6fb53a923ab172a09fafde5cc3189e3b67f2f946c67d8c12b51a5e88802c9adcc1d54da8d3c2d7404b32ab508170cae0e8453bb34de8
@@ -0,0 +1,62 @@
1
+ require_relative '../resource'
2
+
3
+ module Convection
4
+ module Model
5
+ class Template
6
+ class Resource
7
+ ##
8
+ # AWS::Elasticsearch::Domain
9
+ ##
10
+ class ElasticsearchDomain < Resource
11
+ include Model::Mixin::Taggable
12
+
13
+ type 'AWS::Elasticsearch::Domain', :elasticsearch_domain
14
+ property :domain_name, 'DomainName'
15
+ property :elasticsearch_version, 'ElasticsearchVersion'
16
+ property :elasticsearch_cluster_config, 'ElasticsearchClusterConfig'
17
+ property :access_policies, 'AccessPolicies'
18
+ property :vpc_options, 'VPCOptions'
19
+ property :ebs_options, 'EBSOptions'
20
+ property :snapshot_options, 'SnapshotOptions'
21
+ property :advanced_options, 'AdvancedOptions'
22
+
23
+ def elasticsearch_cluster_config(&block)
24
+ elasticsearch_cluster_config = ResourceProperty::ElasticsearchDomainElasticsearchClusterConfig.new(self)
25
+ elasticsearch_cluster_config.instance_exec(&block) if block
26
+ properties['ElasticsearchClusterConfig'].set(elasticsearch_cluster_config)
27
+ end
28
+
29
+ def vpc_options(&block)
30
+ vpc_options = ResourceProperty::ElasticsearchDomainVPCOptions.new(self)
31
+ vpc_options.instance_exec(&block) if block
32
+ properties['VPCOptions'].set(vpc_options)
33
+ end
34
+
35
+ def ebs_options(&block)
36
+ ebs_options = ResourceProperty::ElasticsearchDomainEBSOptions.new(self)
37
+ ebs_options.instance_exec(&block) if block
38
+ properties['EBSOptions'].set(ebs_options)
39
+ end
40
+
41
+ def snapshot_options(&block)
42
+ snapshot_options = ResourceProperty::ElasticsearchDomainSnapshotOptions.new(self)
43
+ snapshot_options.instance_exec(&block) if block
44
+ properties['SnapshotOptions'].set(snapshot_options)
45
+ end
46
+
47
+ def advanced_options(&block)
48
+ advanced_options = ResourceProperty::ElasticsearchDomainAdvancedOptions.new(self)
49
+ advanced_options.instance_exec(&block) if block
50
+ properties['AdvancedOptions'].set(advanced_options)
51
+ end
52
+
53
+ def render(*args)
54
+ super.tap do |resource|
55
+ render_tags(resource)
56
+ end
57
+ end
58
+ end
59
+ end
60
+ end
61
+ end
62
+ end
@@ -9,6 +9,7 @@ module Convection
9
9
  class CloudFrontCacheBehavior < ResourceProperty
10
10
  property :allowed_methods, 'AllowedMethods', :type => :list, :default => %w(HEAD GET)
11
11
  property :cached_methods, 'CachedMethods', :type => :list
12
+ property :compress, 'Compress'
12
13
  property :forwarded_values, 'ForwardedValues'
13
14
  property :min_ttl, 'MinTTL'
14
15
  property :path_pattern, 'PathPattern', :default => '*'
@@ -15,6 +15,7 @@ module Convection
15
15
  property :default_cache_behavior, 'DefaultCacheBehavior'
16
16
  property :default_root_object, 'DefaultRootObject'
17
17
  property :enabled, 'Enabled', :default => true
18
+ property :http_version, 'HttpVersion'
18
19
  property :logging, 'Logging'
19
20
  property :origins, 'Origins', :type => :list
20
21
  property :price_class, 'PriceClass'
@@ -0,0 +1,17 @@
1
+ require_relative '../resource_property'
2
+
3
+ module Convection
4
+ module Model
5
+ class Template
6
+ class ResourceProperty
7
+ # Represents an {https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-elasticsearch-domain.html#cfn-elasticsearch-domain-advancedoptions
8
+ # Advanced Options Property Type}
9
+ class ElasticsearchDomainAdvancedOptions < ResourceProperty
10
+ property :indices_query_bool_max_clause_count, 'indices.query.bool.max_clause_count'
11
+ property :indices_fielddata_cache_size, 'indices.fielddata.cache.size'
12
+ property :rest_action_multi_allow_explicit_index, 'rest.action.multi.allow_explicit_index'
13
+ end
14
+ end
15
+ end
16
+ end
17
+ end
@@ -0,0 +1,18 @@
1
+ require_relative '../resource_property'
2
+
3
+ module Convection
4
+ module Model
5
+ class Template
6
+ class ResourceProperty
7
+ # Represents an {http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticsearch-domain-ebsoptions.html
8
+ # EBS Options Property Type}
9
+ class ElasticsearchDomainEBSOptions < ResourceProperty
10
+ property :ebs_enabled, 'EBSEnabled'
11
+ property :volume_type, 'VolumeType'
12
+ property :volume_size, 'VolumeSize'
13
+ property :iops, 'Iops'
14
+ end
15
+ end
16
+ end
17
+ end
18
+ end
@@ -0,0 +1,20 @@
1
+ require_relative '../resource_property'
2
+
3
+ module Convection
4
+ module Model
5
+ class Template
6
+ class ResourceProperty
7
+ # Represents an {http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticsearch-domain-elasticsearchclusterconfig.html
8
+ # Elasticsearch Cluster Config Property Type}
9
+ class ElasticsearchDomainElasticsearchClusterConfig < ResourceProperty
10
+ property :instance_count, 'InstanceCount'
11
+ property :instance_type, 'InstanceType'
12
+ property :dedicated_master_enabled, 'DedicatedMasterEnabled'
13
+ property :dedicated_master_type, 'DedicatedMasterType'
14
+ property :dedicated_master_count, 'DedicatedMasterCount'
15
+ property :zone_awareness_enabled, 'ZoneAwarenessEnabled'
16
+ end
17
+ end
18
+ end
19
+ end
20
+ end
@@ -0,0 +1,15 @@
1
+ require_relative '../resource_property'
2
+
3
+ module Convection
4
+ module Model
5
+ class Template
6
+ class ResourceProperty
7
+ # Represents an {http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticsearch-domain-snapshotoptions.html
8
+ # Snapshot Options Property Type}
9
+ class ElasticsearchDomainSnapshotOptions < ResourceProperty
10
+ property :automated_snapshot_start_hour, 'AutomatedSnapshotStartHour'
11
+ end
12
+ end
13
+ end
14
+ end
15
+ end
@@ -0,0 +1,16 @@
1
+ require_relative '../resource_property'
2
+
3
+ module Convection
4
+ module Model
5
+ class Template
6
+ class ResourceProperty
7
+ # Represents an {https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticsearch-domain-vpcoptions.html
8
+ # VPC Options Property Type}
9
+ class ElasticsearchDomainVPCOptions < ResourceProperty
10
+ property :security_group_ids, 'SecurityGroupIds', :type => :list
11
+ property :subnet_ids, 'SubnetIds', :type => :list
12
+ end
13
+ end
14
+ end
15
+ end
16
+ end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: convection
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.2.21
4
+ version: 2.2.22
5
5
  platform: ruby
6
6
  authors:
7
7
  - John Manero
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-03-07 00:00:00.000000000 Z
11
+ date: 2018-04-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport
@@ -212,6 +212,7 @@ files:
212
212
  - lib/convection/model/template/resource/aws_elasticbeanstalk_applicationversion.rb
213
213
  - lib/convection/model/template/resource/aws_elasticbeanstalk_configurationtemplate.rb
214
214
  - lib/convection/model/template/resource/aws_elasticbeanstalk_environment.rb
215
+ - lib/convection/model/template/resource/aws_elasticsearch_domain.rb
215
216
  - lib/convection/model/template/resource/aws_elb.rb
216
217
  - lib/convection/model/template/resource/aws_elbv2_listener.rb
217
218
  - lib/convection/model/template/resource/aws_elbv2_listener_rule.rb
@@ -287,6 +288,11 @@ files:
287
288
  - lib/convection/model/template/resource_property/aws_ec2_spot_fleet_request_config_data_launch_specifications_network_interface.rb
288
289
  - lib/convection/model/template/resource_property/aws_ec2_spot_fleet_request_config_data_launch_specifications_security_groups.rb
289
290
  - lib/convection/model/template/resource_property/aws_elasticache_replication_group_node_group_configuration.rb
291
+ - lib/convection/model/template/resource_property/aws_elasticsearch_domain_advanced_options.rb
292
+ - lib/convection/model/template/resource_property/aws_elasticsearch_domain_ebs_options.rb
293
+ - lib/convection/model/template/resource_property/aws_elasticsearch_domain_elasticsearch_cluster_config.rb
294
+ - lib/convection/model/template/resource_property/aws_elasticsearch_domain_snapshot_options.rb
295
+ - lib/convection/model/template/resource_property/aws_elasticsearch_domain_vpc_options.rb
290
296
  - lib/convection/model/template/resource_property/aws_elbv2_listener_certificates.rb
291
297
  - lib/convection/model/template/resource_property/aws_elbv2_listener_default_action.rb
292
298
  - lib/convection/model/template/resource_property/aws_elbv2_listener_rule_action.rb