aws_mg

package module
v0.0.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 9, 2023 License: BSD-3-Clause Imports: 12 Imported by: 0

README

aws_mg

aws resource manage tools

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewEC2WithRegion

func NewEC2WithRegion(region aws_mg_common.AWSRegion, ami_id string) error

NewEC2WithRegion 创建EC2

func SetupAWSManager

func SetupAWSManager(ak string, sk string) error

SetupAWSManager 初始化工具,仅运行一次。

Types

type AWSManager

type AWSManager struct {
	Region            aws_mg_common.AWSRegion
	AwsAk             string
	AwsSk             string
	AWSConfig         *aws.Config
	InstancePreConfig *aws_mg_model.AWSInstancePreConfig
	EC2Client         *ec2.Client
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL