Sha256: 29ac284e14ee2c315ee3c34c4c79f24dc3c6e5d123ff90f42c43cd8c98c09976

Contents?: true

Size: 1.33 KB

Versions: 143

Compression:

Stored size: 1.33 KB

Contents

Aws.config[:elasticsearchservice] = {
  stub_responses: {
    list_domain_names: {
      domain_names: [
        {
          domain_name: 'my-elasticsearch'
        }
      ]
    },
    describe_elasticsearch_domain: {
      domain_status: {
        domain_id: '123456789012/streaming-logs',
        domain_name: 'my-elasticsearch',
        arn: 'arn:aws:es:us-east-1:123456789012:domain/streaming-logs',
        created: true,
        deleted: false,
        endpoint: 'search-streaming-logs-okga24ftzsbz2a2hzhsqw73jpy.us-east-1.es.a9.com',
        processing: false,
        elasticsearch_version: '2.3',
        elasticsearch_cluster_config: {
          instance_type: 't2.micro.elasticsearch',
          instance_count: 3,
          dedicated_master_enabled: true,
          zone_awareness_enabled: false,
          dedicated_master_type: 'm3.medium.elasticsearch',
          dedicated_master_count: 3
        },
        ebs_options: {
          ebs_enabled: true,
          volume_size: 10,
          volume_type: 'gp2'
        },
        access_policies: <<-EOS.gsub(/\n/, '').gsub(/ /, '')
{
  "version": "2012-10-17",
  "statement": [
    {
      "effect": "allow",
      "principal": "*",
      "action": [
        "es:*"
      ],
      "resource": "arn:aws:es:ap-northeast-1:1234567890:domain/my-elasticsearch/*"
    }
  ]
}
EOS
      }
    }
  }
}

Version data entries

143 entries across 143 versions & 4 rubygems

Version Path
awspec-1.24.3 lib/awspec/stub/elasticsearch.rb
awspec-1.24.2 lib/awspec/stub/elasticsearch.rb
awspec-1.24.1 lib/awspec/stub/elasticsearch.rb
awspec-1.24.0 lib/awspec/stub/elasticsearch.rb
awspec-1.23.0 lib/awspec/stub/elasticsearch.rb
awspec-1.22.1 lib/awspec/stub/elasticsearch.rb
awspec-1.22.0 lib/awspec/stub/elasticsearch.rb
awspec-1.21.1 lib/awspec/stub/elasticsearch.rb
awspec-1.21.0 lib/awspec/stub/elasticsearch.rb
awspec-1.20.0 lib/awspec/stub/elasticsearch.rb
awspec-1.19.2 lib/awspec/stub/elasticsearch.rb
awspec-1.19.1 lib/awspec/stub/elasticsearch.rb
awspec-1.19.0 lib/awspec/stub/elasticsearch.rb
cthiesfork-awspec-1.2.4 lib/awspec/stub/elasticsearch.rb
awspec-api_gateway_extended-1.2.4 lib/awspec/stub/elasticsearch.rb
awspec-api_gateway_extended-1.2.3 lib/awspec/stub/elasticsearch.rb
awspec-1.18.6 lib/awspec/stub/elasticsearch.rb
cthiesfork-awspec-1.2.2 lib/awspec/stub/elasticsearch.rb
cthiesfork-awspec-1.2.1 lib/awspec/stub/elasticsearch.rb
awspec-1.18.5 lib/awspec/stub/elasticsearch.rb