aws_mg_model

package
v0.0.7 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AWSInstancePreConfig

type AWSInstancePreConfig struct {
	Region       aws_mg_common.AWSRegion
	VolumeSize   int32              // 硬盘大小 GB
	InstanceType types.InstanceType // 实例类型
	SafeGroupIDs []string           // 安全组ID
	SubnetID     string             // 子网ID
	NameTag      string             // tag名字
	AMIId        string             // 镜像id
}

func NewAWSInstancePreConfig added in v0.0.6

func NewAWSInstancePreConfig(region aws_mg_common.AWSRegion, ami_id string, volume_size int32, aws_instanceType types.InstanceType, safe_groups []string, subnet_id string, name_tag string) *AWSInstancePreConfig

NewAWSInstancePreConfig 创建EC2 region 区域 ami_id 系统镜像ID volume_size 硬盘大小 aws_instanceType 实例类型 safe_groups 安全组 subnet_id 子网ID name_tag 名字标签

Jump to

Keyboard shortcuts

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