class Convection::Model::Template::Resource::ElasticsearchDomain

AWS::Elasticsearch::Domain

Public Instance Methods

advanced_options(&block) click to toggle source
# File lib/convection/model/template/resource/aws_elasticsearch_domain.rb, line 47
def advanced_options(&block)
  advanced_options = ResourceProperty::ElasticsearchDomainAdvancedOptions.new(self)
  advanced_options.instance_exec(&block) if block
  properties['AdvancedOptions'].set(advanced_options)
end
ebs_options(&block) click to toggle source
# File lib/convection/model/template/resource/aws_elasticsearch_domain.rb, line 35
def ebs_options(&block)
  ebs_options = ResourceProperty::ElasticsearchDomainEBSOptions.new(self)
  ebs_options.instance_exec(&block) if block
  properties['EBSOptions'].set(ebs_options)
end
elasticsearch_cluster_config(&block) click to toggle source
# File lib/convection/model/template/resource/aws_elasticsearch_domain.rb, line 23
def elasticsearch_cluster_config(&block)
  elasticsearch_cluster_config = ResourceProperty::ElasticsearchDomainElasticsearchClusterConfig.new(self)
  elasticsearch_cluster_config.instance_exec(&block) if block
  properties['ElasticsearchClusterConfig'].set(elasticsearch_cluster_config)
end
render(*args) click to toggle source
# File lib/convection/model/template/resource/aws_elasticsearch_domain.rb, line 53
def render(*args)
  super.tap do |resource|
    render_tags(resource)
  end
end
snapshot_options(&block) click to toggle source
# File lib/convection/model/template/resource/aws_elasticsearch_domain.rb, line 41
def snapshot_options(&block)
  snapshot_options = ResourceProperty::ElasticsearchDomainSnapshotOptions.new(self)
  snapshot_options.instance_exec(&block) if block
  properties['SnapshotOptions'].set(snapshot_options)
end
vpc_options(&block) click to toggle source
# File lib/convection/model/template/resource/aws_elasticsearch_domain.rb, line 29
def vpc_options(&block)
  vpc_options = ResourceProperty::ElasticsearchDomainVPCOptions.new(self)
  vpc_options.instance_exec(&block) if block
  properties['VPCOptions'].set(vpc_options)
end