Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var LaunchConfigurationTables = []interface{}{ &LaunchConfiguration{}, &LaunchConfigurationBlockDeviceMapping{}, }
Functions ¶
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func (*Client) CollectResource ¶
type LaunchConfiguration ¶
type LaunchConfiguration struct { ID uint `gorm:"primarykey"` // AWS account id AccountID string Region string AssociatePublicIpAddress *bool BlockDeviceMappings []*LaunchConfigurationBlockDeviceMapping `gorm:"constraint:OnDelete:CASCADE;"` ClassicLinkVPCId *string ClassicLinkVPCSecurityGroups *string CreatedTime *time.Time EbsOptimized *bool IamInstanceProfile *string ImageId *string InstanceMonitoringEnabled *bool InstanceType *string KernelId *string KeyName *string LaunchConfigurationARN *string `neo:"unique"` LaunchConfigurationName *string MetadataHttpEndpoint string MetadataHttpPutResponseHopLimit *int32 MetadataHttpTokens string PlacementTenancy *string RamdiskId *string SecurityGroups *string SpotPrice *string UserData *string // contains filtered or unexported fields }
func (LaunchConfiguration) TableName ¶
func (LaunchConfiguration) TableName() string
type LaunchConfigurationBlockDeviceMapping ¶
type LaunchConfigurationBlockDeviceMapping struct { ID uint `gorm:"primarykey"` LaunchConfigurationID uint `neo:"ignore"` AccountID string `gorm:"-"` Region string `gorm:"-"` // The device name exposed to the EC2 instance (for example, /dev/sdh or xvdh). // For more information, see Device Naming on Linux Instances (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/device_naming.html) // in the Amazon EC2 User Guide for Linux Instances. DeviceName *string EbsDeleteOnTermination *bool EbsEncrypted *bool EbsIops *int32 EbsSnapshotId *string EbsVolumeSize *int32 EbsVolumeType *string // If NoDevice is true for the root device, instances might fail the EC2 health // check. In that case, Amazon EC2 Auto Scaling launches replacement instances. NoDevice *bool // The name of the virtual device (for example, ephemeral0). VirtualName *string }
func (LaunchConfigurationBlockDeviceMapping) TableName ¶
func (LaunchConfigurationBlockDeviceMapping) TableName() string
Click to show internal directories.
Click to hide internal directories.