Sha256: 12bc4c649005399e1543d3b721921bbc959f9be344506989e927f9c765f73919

Contents?: true

Size: 709 Bytes

Versions: 8

Compression:

Stored size: 709 Bytes

Contents

# encoding: utf-8
require "logstash/config/mixin"

# This module provides helper for the `AWS-SDK` v1,
# and it will be deprecated in the near future, please use the V2 module
# for any new development.
module LogStash::PluginMixins::AwsConfig
  require "logstash/plugin_mixins/aws_config/v1"
  require "logstash/plugin_mixins/aws_config/v2"

  US_EAST_1 = "us-east-1"
  REGIONS_ENDPOINT = [US_EAST_1, "us-west-1", "us-west-2", "eu-central-1",
                      "eu-west-1", "ap-southeast-1", "ap-southeast-2",
                      "ap-northeast-1", "sa-east-1", "us-gov-west-1", "cn-north-1"]

  def self.included(base)
    # Add these methods to the 'base' given.
    base.send(:include, V1)
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
logstash-mixin-aws-4.0.1 lib/logstash/plugin_mixins/aws_config.rb
logstash-mixin-aws-4.0.0 lib/logstash/plugin_mixins/aws_config.rb
logstash-mixin-aws-2.0.4 lib/logstash/plugin_mixins/aws_config.rb
logstash-mixin-aws-2.0.2 lib/logstash/plugin_mixins/aws_config.rb
logstash-mixin-aws-2.0.1 lib/logstash/plugin_mixins/aws_config.rb
logstash-mixin-aws-2.0.0 lib/logstash/plugin_mixins/aws_config.rb
logstash-mixin-aws-1.0.1 lib/logstash/plugin_mixins/aws_config.rb
logstash-mixin-aws-1.0.0 lib/logstash/plugin_mixins/aws_config.rb