package
0.0.0-20241220060329-0d08eba07f0f
Repository: https://github.com/golifez/go-aws-ctl.git
Documentation: pkg.go.dev
# Functions
Execute adds all child commands to the root command and sets flags appropriately.
从.aws/config文件中获取 AWS 配置.
从环境变量中获取 AWS 配置.
直接传入id和key,获取 AWS 配置.
GetAwsConfigFromIdAndKeyWithRegion 获取一个带区域的 AWS 配置.
获取一个带区域的 EC2 客户端.
获取一个带区域的 Lightsail 客户端.
GetClient 获取 AWS 客户端.
获取一个默认区域的 EC2 客户端.
添加获取 IAM 客户端的函数.
获取一个默认区域的 Lightsail 客户端.
返回一个STS客户端.
WithClientType 设置客户端类型.
WithConfig 设置配置.
WithRegion 设置区域.
# Structs
LoadOptions 定义选项.
# Type aliases
LoadOptionsFunc 是 LoadOptions 的函数类型.