项目作者: localstack-dotnet

项目描述 :
.NET Core global tool, thin wrapper around the "aws" command line interface for use with LocalStack
高级语言: C#
项目地址: git://github.com/localstack-dotnet/localstack-awscli-local.git
创建时间: 2019-05-19T09:30:28Z
项目社区:https://github.com/localstack-dotnet/localstack-awscli-local

开源协议:MIT License

下载


Nuget NuGet

LocalStack.NET AWS CLI

This .NET Core global tool provides the awslocal command, which is a thin wrapper around the aws
command line interface for use with LocalStack. This tool is a .NET Core port of the
LocalStack AWS CLI for the people who have experienced issues with LocalStack AWS CLI.

Continuous integration

Build server Platform Build status
Github Actions Ubuntu build-ubuntu
Github Actions Windows build-windows
Github Actions macOS build-macos

Installation

You can install the awslocal command via .NET Core CLI:

  1. dotnet tool install --global LocalStack.AwsLocal
Stable Nightly
NuGet MyGet

Usage

The awslocal command has the same usage as the aws command. For detailed usage,
please refer to the man pages of aws help.

Example

Instead of the following command …

  1. aws --endpoint-url=http://localhost:4566 kinesis list-streams

… you can simply use this:

  1. awslocal kinesis list-streams

Configurations

You can use the following environment variables for configuration:

  • LOCALSTACK_HOST: Set the hostname for the localstack instance. Useful when you have
    localstack is bound to another interface (i.e. docker-machine). Defaults to localhost.
  • USE_SSL: Whether to use https endpoint URLs (required if LocalStack has been started
    with USE_SSL=true enabled). Defaults to false.
  • USE_LEGACY_PORTS: Whether to use old endpoint ports. Starting with LocalStack releases after v0.11.5, all services are now exposed via the edge service (port 4566) only! If you are using a version of LocalStack lower than v0.11.5, you should set USE_LEGACY_PORTS to true. Defaults to false.
  • EDGE_PORT: Set the edge port. Edge port can be set to any available port (see LocalStack configuration section). If you have made such a change in LocalStack’s configuration, be sure to set the same port value to EDGE_PORT. Defaults to 4566.
  • DEFAULT_REGION: Set the default region. Overrides AWS_DEFAULT_REGION environment variable.

Changelog

v1.3.3

  • Support for new endpoints in the official Localstack Python Client v1.2.2 have been added.
    • EFS, Backup, LakeFormation, WAF, WAF V2 and QLDB Session

v1.3.0

  • Add .NET 5.0 support
  • Default port set to 4566
  • DEFAULT_REGION support

v1.2.0

License" class="reference-link"> License

Licensed under MIT, see LICENSE for the full text.