Sha256: 7c72d7c2970fe3e3567efa60b85d79cebda4fc7c5a01afb86ae9d3c61e1b980d

Contents?: true

Size: 827 Bytes

Versions: 4

Compression:

Stored size: 827 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-east-2", "us-west-1", "us-west-2",
                      "eu-central-1", "eu-west-1", "eu-west-2",
                      "ap-southeast-1", "ap-southeast-2", "ap-northeast-1",
                      "ap-northeast-2", "sa-east-1", "us-gov-west-1",
                      "cn-north-1", "ap-south-1", "ca-central-1"]

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

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
logstash-mixin-aws-4.2.4 lib/logstash/plugin_mixins/aws_config.rb
logstash-mixin-aws-4.2.3 lib/logstash/plugin_mixins/aws_config.rb
logstash-mixin-aws-4.2.2 lib/logstash/plugin_mixins/aws_config.rb
logstash-mixin-aws-4.2.1 lib/logstash/plugin_mixins/aws_config.rb