convection 2.2.21 → 2.2.22
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/convection/model/template/resource/aws_elasticsearch_domain.rb +62 -0
- data/lib/convection/model/template/resource_property/aws_cloudfront_cachebehavior.rb +1 -0
- data/lib/convection/model/template/resource_property/aws_cloudfront_distribution_config.rb +1 -0
- data/lib/convection/model/template/resource_property/aws_elasticsearch_domain_advanced_options.rb +17 -0
- data/lib/convection/model/template/resource_property/aws_elasticsearch_domain_ebs_options.rb +18 -0
- data/lib/convection/model/template/resource_property/aws_elasticsearch_domain_elasticsearch_cluster_config.rb +20 -0
- data/lib/convection/model/template/resource_property/aws_elasticsearch_domain_snapshot_options.rb +15 -0
- data/lib/convection/model/template/resource_property/aws_elasticsearch_domain_vpc_options.rb +16 -0
- metadata +8 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: fa7f9873b60c460b9fcbd36f676ddefe61ec5c22
|
4
|
+
data.tar.gz: 1c24ca31f9437016b6c27f1581f5da2355a939bb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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'
|
data/lib/convection/model/template/resource_property/aws_elasticsearch_domain_advanced_options.rb
ADDED
@@ -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
|
data/lib/convection/model/template/resource_property/aws_elasticsearch_domain_snapshot_options.rb
ADDED
@@ -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.
|
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-
|
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
|