Class: Aws::ElasticsearchService::Types::CreateElasticsearchDomainRequest
- Inherits:
-
Struct
- Object
- Struct
- Aws::ElasticsearchService::Types::CreateElasticsearchDomainRequest
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-elasticsearchservice/types.rb
Overview
When making an API call, you may pass CreateElasticsearchDomainRequest data as a hash:
{
domain_name: "DomainName", # required
elasticsearch_version: "ElasticsearchVersionString",
elasticsearch_cluster_config: {
instance_type: "m3.medium.elasticsearch", # accepts m3.medium.elasticsearch, m3.large.elasticsearch, m3.xlarge.elasticsearch, m3.2xlarge.elasticsearch, m4.large.elasticsearch, m4.xlarge.elasticsearch, m4.2xlarge.elasticsearch, m4.4xlarge.elasticsearch, m4.10xlarge.elasticsearch, t2.micro.elasticsearch, t2.small.elasticsearch, t2.medium.elasticsearch, r3.large.elasticsearch, r3.xlarge.elasticsearch, r3.2xlarge.elasticsearch, r3.4xlarge.elasticsearch, r3.8xlarge.elasticsearch, i2.xlarge.elasticsearch, i2.2xlarge.elasticsearch, d2.xlarge.elasticsearch, d2.2xlarge.elasticsearch, d2.4xlarge.elasticsearch, d2.8xlarge.elasticsearch, c4.large.elasticsearch, c4.xlarge.elasticsearch, c4.2xlarge.elasticsearch, c4.4xlarge.elasticsearch, c4.8xlarge.elasticsearch, r4.large.elasticsearch, r4.xlarge.elasticsearch, r4.2xlarge.elasticsearch, r4.4xlarge.elasticsearch, r4.8xlarge.elasticsearch, r4.16xlarge.elasticsearch
instance_count: 1,
dedicated_master_enabled: false,
zone_awareness_enabled: false,
dedicated_master_type: "m3.medium.elasticsearch", # accepts m3.medium.elasticsearch, m3.large.elasticsearch, m3.xlarge.elasticsearch, m3.2xlarge.elasticsearch, m4.large.elasticsearch, m4.xlarge.elasticsearch, m4.2xlarge.elasticsearch, m4.4xlarge.elasticsearch, m4.10xlarge.elasticsearch, t2.micro.elasticsearch, t2.small.elasticsearch, t2.medium.elasticsearch, r3.large.elasticsearch, r3.xlarge.elasticsearch, r3.2xlarge.elasticsearch, r3.4xlarge.elasticsearch, r3.8xlarge.elasticsearch, i2.xlarge.elasticsearch, i2.2xlarge.elasticsearch, d2.xlarge.elasticsearch, d2.2xlarge.elasticsearch, d2.4xlarge.elasticsearch, d2.8xlarge.elasticsearch, c4.large.elasticsearch, c4.xlarge.elasticsearch, c4.2xlarge.elasticsearch, c4.4xlarge.elasticsearch, c4.8xlarge.elasticsearch, r4.large.elasticsearch, r4.xlarge.elasticsearch, r4.2xlarge.elasticsearch, r4.4xlarge.elasticsearch, r4.8xlarge.elasticsearch, r4.16xlarge.elasticsearch
dedicated_master_count: 1,
},
ebs_options: {
ebs_enabled: false,
volume_type: "standard", # accepts standard, gp2, io1
volume_size: 1,
iops: 1,
},
access_policies: "PolicyDocument",
snapshot_options: {
automated_snapshot_start_hour: 1,
},
advanced_options: {
"String" => "String",
},
}
Instance Attribute Summary collapse
-
#access_policies ⇒ String
IAM access policy as a JSON-formatted string.
-
#advanced_options ⇒ Hash<String,String>
Option to allow references to indices in an HTTP request body.
-
#domain_name ⇒ String
The name of the Elasticsearch domain that you are creating.
-
#ebs_options ⇒ Types::EBSOptions
Options to enable, disable and specify the type and size of EBS storage volumes.
-
#elasticsearch_cluster_config ⇒ Types::ElasticsearchClusterConfig
Configuration options for an Elasticsearch domain.
-
#elasticsearch_version ⇒ String
String of format X.Y to specify version for the Elasticsearch domain eg.
-
#snapshot_options ⇒ Types::SnapshotOptions
Option to set time, in UTC format, of the daily automated snapshot.
Instance Attribute Details
#access_policies ⇒ String
IAM access policy as a JSON-formatted string.
198 199 200 201 202 203 204 205 206 207 |
# File 'lib/aws-sdk-elasticsearchservice/types.rb', line 198 class CreateElasticsearchDomainRequest < Struct.new( :domain_name, :elasticsearch_version, :elasticsearch_cluster_config, :ebs_options, :access_policies, :snapshot_options, :advanced_options) include Aws::Structure end |
#advanced_options ⇒ Hash<String,String>
Option to allow references to indices in an HTTP request body. Must be ‘false` when configuring access to individual sub-resources. By default, the value is `true`. See [Configuration Advanced Options] for more information.
198 199 200 201 202 203 204 205 206 207 |
# File 'lib/aws-sdk-elasticsearchservice/types.rb', line 198 class CreateElasticsearchDomainRequest < Struct.new( :domain_name, :elasticsearch_version, :elasticsearch_cluster_config, :ebs_options, :access_policies, :snapshot_options, :advanced_options) include Aws::Structure end |
#domain_name ⇒ String
The name of the Elasticsearch domain that you are creating. Domain names are unique across the domains owned by an account within an AWS region. Domain names must start with a letter or number and can contain the following characters: a-z (lowercase), 0-9, and - (hyphen).
198 199 200 201 202 203 204 205 206 207 |
# File 'lib/aws-sdk-elasticsearchservice/types.rb', line 198 class CreateElasticsearchDomainRequest < Struct.new( :domain_name, :elasticsearch_version, :elasticsearch_cluster_config, :ebs_options, :access_policies, :snapshot_options, :advanced_options) include Aws::Structure end |
#ebs_options ⇒ Types::EBSOptions
Options to enable, disable and specify the type and size of EBS storage volumes.
198 199 200 201 202 203 204 205 206 207 |
# File 'lib/aws-sdk-elasticsearchservice/types.rb', line 198 class CreateElasticsearchDomainRequest < Struct.new( :domain_name, :elasticsearch_version, :elasticsearch_cluster_config, :ebs_options, :access_policies, :snapshot_options, :advanced_options) include Aws::Structure end |
#elasticsearch_cluster_config ⇒ Types::ElasticsearchClusterConfig
Configuration options for an Elasticsearch domain. Specifies the instance type and number of instances in the domain cluster.
198 199 200 201 202 203 204 205 206 207 |
# File 'lib/aws-sdk-elasticsearchservice/types.rb', line 198 class CreateElasticsearchDomainRequest < Struct.new( :domain_name, :elasticsearch_version, :elasticsearch_cluster_config, :ebs_options, :access_policies, :snapshot_options, :advanced_options) include Aws::Structure end |
#elasticsearch_version ⇒ String
String of format X.Y to specify version for the Elasticsearch domain eg. “1.5” or “2.3”. For more information, see [Creating Elasticsearch Domains] in the *Amazon Elasticsearch Service Developer Guide*.
198 199 200 201 202 203 204 205 206 207 |
# File 'lib/aws-sdk-elasticsearchservice/types.rb', line 198 class CreateElasticsearchDomainRequest < Struct.new( :domain_name, :elasticsearch_version, :elasticsearch_cluster_config, :ebs_options, :access_policies, :snapshot_options, :advanced_options) include Aws::Structure end |
#snapshot_options ⇒ Types::SnapshotOptions
Option to set time, in UTC format, of the daily automated snapshot. Default value is 0 hours.
198 199 200 201 202 203 204 205 206 207 |
# File 'lib/aws-sdk-elasticsearchservice/types.rb', line 198 class CreateElasticsearchDomainRequest < Struct.new( :domain_name, :elasticsearch_version, :elasticsearch_cluster_config, :ebs_options, :access_policies, :snapshot_options, :advanced_options) include Aws::Structure end |