Code Monkey home page Code Monkey logo

tiger-appconfig's Introduction

Tiger.AppConfig

What It Is

Tiger.AppConfig is a library integrating AWS AppConfig values into the Microsoft.Extensions.Configuration configuration ecosystem. Just as values from the command line, environment variables, JSON files, or User Secrets can be integrated into a unified, strongly-typed configuration, configuration values from AWS AppConfig can be, as well.

How To Use It

Setup is performed in the same manner as any other Microsoft.Extensions.Configuration configuration. Ideally, this is performed in CloudFormation. If a required identifier is not present, the configuration retrieval will fail. The required identifiers are these:

  • Application: The identifier of an AWS::AppConfig::Application
  • Environment: The identifier of an AWS::AppConfig::Environment
  • ConfigurationProfile: The identifier of an AWS::AppConfig::ConfigurationProfile

In CloudFormation, these values can be retrieved by applying the intrinsic function !Ref to resources of the specified resource type.

Add the AppConfig configuration to the application configuration with the extension method for IConfigurationBuilder, similar to any other configuration source. For example:

hostBuilder.ConfigureAppConfiguration(b => b.AddAppConfig())

This should be applied to the host builder for the Lambda entry point of the application.

If the configuration identifiers are located under a section other than the default "AppConfig", that name can be provided as an argument to the call to AddAppConfig. Tiger.AppConfig reads the environment variables used to configure the AppConfig extension itself as necessary.

Thank You

Seriously, though. Thank you for using this software. The author hopes it performs admirably for you.

tiger-appconfig's People

Contributors

chrisoverzero avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.