Documentation
¶
Index ¶
- Variables
- func NewClient(session *session.Session, awsConfig *aws.Config, db *database.Database, ...) resource.ClientInterface
- type ByoipCidr
- type Client
- type CustomerGateway
- type CustomerGatewayTag
- type FlowLog
- type FlowLogTag
- type Image
- type ImageBlockDeviceMapping
- type ImageProductCode
- type ImageTag
- type Instance
- type InstanceBlockDeviceMapping
- type InstanceElasticGpuAssociation
- type InstanceElasticInferenceAcceleratorAssociation
- type InstanceGroupIdentifier
- type InstanceIpv6Address
- type InstanceLicenseConfiguration
- type InstanceNetworkInterface
- type InstancePrivateIpAddress
- type InstanceProductCode
- type InstanceTag
- type InternetGateway
- type InternetGatewayAttachment
- type InternetGatewayTag
- type NatGateway
- type NatGatewayAddress
- type NatGatewayTag
- type NetworkAcl
- type NetworkAclAssociation
- type NetworkAclEntry
- type NetworkAclTag
- type RouteTable
- type RouteTableAssociation
- type RouteTablePropagatingVgw
- type RouteTableRoute
- type RouteTableTag
- type SecurityGroup
- type SecurityGroupIpPermission
- type SecurityGroupIpRange
- type SecurityGroupIpv6Range
- type SecurityGroupPrefixListId
- type SecurityGroupTag
- type SecurityGroupUserIdGroupPair
- type Subnet
- type SubnetIpv6CidrBlockAssociation
- type SubnetTag
- type Vpc
- type VpcCidrBlockAssociation
- type VpcIpv6CidrBlockAssociation
- type VpcPeeringConnection
- type VpcPeeringConnectionAccCidrBlock
- type VpcPeeringConnectionAccIpv6CidrBlock
- type VpcPeeringConnectionReqCidrBlock
- type VpcPeeringConnectionReqIpv6CidrBlock
- type VpcPeeringConnectionTag
- type VpcTag
Constants ¶
This section is empty.
Variables ¶
View Source
var ByoipCidrTables = []interface{}{ &ByoipCidr{}, }
View Source
var CustomerGatewayTables = []interface{}{ &CustomerGateway{}, &CustomerGatewayTag{}, }
View Source
var FlowLogsTables = []interface{}{ &FlowLog{}, &FlowLogTag{}, }
View Source
var ImageTables = []interface{}{ &Image{}, &ImageBlockDeviceMapping{}, &ImageProductCode{}, &ImageTag{}, }
View Source
var InstanceTables = []interface{}{ &Instance{}, &InstanceBlockDeviceMapping{}, &InstanceElasticGpuAssociation{}, &InstanceElasticInferenceAcceleratorAssociation{}, &InstanceLicenseConfiguration{}, &InstanceNetworkInterface{}, &InstanceGroupIdentifier{}, &InstanceIpv6Address{}, &InstancePrivateIpAddress{}, &InstanceProductCode{}, &InstanceTag{}, }
View Source
var InternetGatewayTables = []interface{}{ &InternetGateway{}, &InternetGatewayAttachment{}, &InternetGatewayTag{}, }
View Source
var NatGatewayTables = []interface{}{ &NatGateway{}, &NatGatewayAddress{}, &NatGatewayTag{}, }
View Source
var NetworkAclTables = []interface{}{ &NetworkAcl{}, &NetworkAclAssociation{}, &NetworkAclEntry{}, &NetworkAclTag{}, }
View Source
var RouteTableTables = []interface{}{ &RouteTable{}, &RouteTableAssociation{}, &RouteTablePropagatingVgw{}, &RouteTableRoute{}, &RouteTableTag{}, }
View Source
var SecurityGroupTables = []interface{}{ &SecurityGroup{}, &SecurityGroupIpPermission{}, &SecurityGroupIpRange{}, &SecurityGroupIpv6Range{}, &SecurityGroupPrefixListId{}, &SecurityGroupUserIdGroupPair{}, &SecurityGroupTag{}, }
View Source
var SubnetTables = []interface{}{ &Subnet{}, &SubnetIpv6CidrBlockAssociation{}, &SubnetTag{}, }
View Source
var VPCPeeringConnectionTables = []interface{}{ &VpcPeeringConnection{}, &VpcPeeringConnectionAccCidrBlock{}, &VpcPeeringConnectionAccIpv6CidrBlock{}, &VpcPeeringConnectionReqCidrBlock{}, &VpcPeeringConnectionReqIpv6CidrBlock{}, &VpcPeeringConnectionTag{}, }
View Source
var VPCTables = []interface{}{ &Vpc{}, &VpcCidrBlockAssociation{}, &VpcIpv6CidrBlockAssociation{}, &VpcTag{}, }
Functions ¶
Types ¶
type ByoipCidr ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func (*Client) CollectResource ¶
type CustomerGateway ¶
type CustomerGateway struct {
ID uint `gorm:"primarykey"`
AccountID string `neo:"unique"`
Region string `neo:"unique"`
BgpAsn *string
CertificateArn *string
CustomerGatewayId *string `neo:"unique"`
DeviceName *string
IpAddress *string
State *string
Tags []*CustomerGatewayTag `gorm:"constraint:OnDelete:CASCADE;"`
Type *string
// contains filtered or unexported fields
}
func (CustomerGateway) TableName ¶ added in v0.3.8
func (CustomerGateway) TableName() string
type CustomerGatewayTag ¶
type CustomerGatewayTag struct {
ID uint `gorm:"primarykey"`
CustomerGatewayID uint `neo:"ignore"`
AccountID string `gorm:"-"`
Region string `gorm:"-"`
Key *string
Value *string
}
func (CustomerGatewayTag) TableName ¶ added in v0.3.8
func (CustomerGatewayTag) TableName() string
type FlowLog ¶ added in v0.3.2
type FlowLog struct {
ID uint `gorm:"primarykey"`
AccountID string `neo:"unique"`
Region string `neo:"unique"`
CreationTime *time.Time
DeliverLogsErrorMessage *string
DeliverLogsPermissionArn *string
DeliverLogsStatus *string
FlowLogId *string `neo:"unique"`
FlowLogStatus *string
LogDestination *string
LogDestinationType *string
LogFormat *string
LogGroupName *string
MaxAggregationInterval *int64
ResourceId *string
Tags []*FlowLogTag `gorm:"constraint:OnDelete:CASCADE;"`
TrafficType *string
// contains filtered or unexported fields
}
type FlowLogTag ¶ added in v0.3.2
type FlowLogTag struct {
ID uint `gorm:"primarykey"`
FlowLogID uint `neo:"ignore"`
AccountID string `gorm:"-"`
Region string `gorm:"-"`
Key *string
Value *string
}
func (FlowLogTag) TableName ¶ added in v0.3.8
func (FlowLogTag) TableName() string
type Image ¶
type Image struct {
ID uint `gorm:"primarykey"`
AccountID string `neo:"unique"`
Region string `neo:"unique"`
Architecture *string
BlockDeviceMappings []*ImageBlockDeviceMapping `gorm:"constraint:OnDelete:CASCADE;"`
CreationDate *string
Description *string
EnaSupport *bool
Hypervisor *string
ImageId *string `neo:"unique"`
ImageLocation *string
ImageOwnerAlias *string
ImageType *string
KernelId *string
Name *string
OwnerId *string
Platform *string
PlatformDetails *string
ProductCodes []*ImageProductCode `gorm:"constraint:OnDelete:CASCADE;"`
Public *bool
RamdiskId *string
RootDeviceName *string
RootDeviceType *string
SriovNetSupport *string
State *string
StateReasonCode *string
StateReasonMessage *string
Tags []*ImageTag `gorm:"constraint:OnDelete:CASCADE;"`
UsageOperation *string
VirtualizationType *string
// contains filtered or unexported fields
}
type ImageBlockDeviceMapping ¶
type ImageBlockDeviceMapping struct {
ID uint `gorm:"primarykey"`
ImageID uint `neo:"ignore"`
AccountID string `gorm:"-"`
Region string `gorm:"-"`
DeviceName *string
EbsDeleteOnTermination *bool
EbsEncrypted *bool
EbsIops *int64
EbsKmsKeyId *string
EbsSnapshotId *string
EbsVolumeSize *int64
EbsVolumeType *string
NoDevice *string
VirtualName *string
}
func (ImageBlockDeviceMapping) TableName ¶ added in v0.3.8
func (ImageBlockDeviceMapping) TableName() string
type ImageProductCode ¶
type ImageProductCode struct {
ID uint `gorm:"primarykey"`
ImageID uint `neo:"ignore"`
AccountID string `gorm:"-"`
Region string `gorm:"-"`
ProductCodeId *string
ProductCodeType *string
}
func (ImageProductCode) TableName ¶ added in v0.3.8
func (ImageProductCode) TableName() string
type ImageTag ¶
type Instance ¶
type Instance struct {
ID uint `gorm:"primarykey"`
AccountID string `neo:"unique"`
Region string `neo:"unique"`
AmiLaunchIndex *int64
Architecture *string
BlockDeviceMappings []*InstanceBlockDeviceMapping `gorm:"constraint:OnDelete:CASCADE;"`
CapacityReservationId *string
CapacityReservationPreference *string
CapacityReservationTargetId *string
CapacityReservationTargetGroupArn *string
ClientToken *string
CpuOptionsCoreCount *int64
CpuOptionsThreadsPerCore *int64
EbsOptimized *bool
ElasticGpuAssociations []*InstanceElasticGpuAssociation `gorm:"constraint:OnDelete:CASCADE;"`
ElasticInferenceAcceleratorAssociations []*InstanceElasticInferenceAcceleratorAssociation `gorm:"constraint:OnDelete:CASCADE;"`
EnaSupport *bool
HibernationOptionsConfigured *bool
Hypervisor *string
IamInstanceProfileArn *string
IamInstanceProfileId *string
ImageId *string
InstanceId *string `neo:"unique"`
InstanceLifecycle *string
InstanceType *string
KernelId *string
KeyName *string
LaunchTime *time.Time
Licenses []*InstanceLicenseConfiguration `gorm:"constraint:OnDelete:CASCADE;"`
MetadataOptionsHttpEndpoint *string
MetadataOptionsHttpPutResponseHopLimit *int64
MetadataOptionsHttpTokens *string
MetadataOptionsState *string
MonitoringState *string
NetworkInterfaces []*InstanceNetworkInterface `gorm:"constraint:OnDelete:CASCADE;"`
OutpostArn *string
PlacementAffinity *string
PlacementAvailabilityZone *string
PlacementGroupName *string
PlacementHostId *string
PlacementHostResourceGroupArn *string
PlacementPartitionNumber *int64
PlacementSpreadDomain *string
PlacementTenancy *string
Platform *string
PrivateDnsName *string
PrivateIpAddress *string
ProductCodes []*InstanceProductCode `gorm:"constraint:OnDelete:CASCADE;"`
PublicDnsName *string
PublicIpAddress *string
RamdiskId *string
RootDeviceName *string
RootDeviceType *string
SecurityGroups []*InstanceGroupIdentifier `gorm:"constraint:OnDelete:CASCADE;"`
SourceDestCheck *bool
SpotInstanceRequestId *string
SriovNetSupport *string
StateCode *int64
StateName *string
StateReasonCode *string
StateReasonMessage *string
StateTransitionReason *string
SubnetId *string
Tags []*InstanceTag `gorm:"constraint:OnDelete:CASCADE;"`
VirtualizationType *string
VpcId *string
// contains filtered or unexported fields
}
type InstanceBlockDeviceMapping ¶
type InstanceBlockDeviceMapping struct {
ID uint `gorm:"primarykey"`
InstanceID uint `neo:"ignore"`
AccountID string `gorm:"-"`
Region string `gorm:"-"`
DeviceName *string
AttachTime *time.Time
DeleteOnTermination *bool
Status *string
VolumeId *string
}
func (InstanceBlockDeviceMapping) TableName ¶ added in v0.3.8
func (InstanceBlockDeviceMapping) TableName() string
type InstanceElasticGpuAssociation ¶
type InstanceElasticGpuAssociation struct {
ID uint `gorm:"primarykey"`
InstanceID uint `neo:"ignore"`
AccountID string `gorm:"-"`
Region string `gorm:"-"`
ElasticGpuAssociationId *string
ElasticGpuAssociationState *string
ElasticGpuAssociationTime *string
ElasticGpuId *string
}
func (InstanceElasticGpuAssociation) TableName ¶ added in v0.3.8
func (InstanceElasticGpuAssociation) TableName() string
type InstanceElasticInferenceAcceleratorAssociation ¶
type InstanceElasticInferenceAcceleratorAssociation struct {
ID uint `gorm:"primarykey"`
InstanceID uint `neo:"ignore"`
AccountID string `gorm:"-"`
Region string `gorm:"-"`
ElasticInferenceAcceleratorArn *string
ElasticInferenceAcceleratorAssociationId *string
ElasticInferenceAcceleratorAssociationState *string
ElasticInferenceAcceleratorAssociationTime *time.Time
}
func (InstanceElasticInferenceAcceleratorAssociation) TableName ¶ added in v0.3.8
func (InstanceElasticInferenceAcceleratorAssociation) TableName() string
type InstanceGroupIdentifier ¶
type InstanceGroupIdentifier struct {
ID uint `gorm:"primarykey"`
InstanceID uint `neo:"ignore"`
AccountID string `gorm:"-"`
Region string `gorm:"-"`
GroupId *string
GroupName *string
}
func (InstanceGroupIdentifier) TableName ¶ added in v0.3.8
func (InstanceGroupIdentifier) TableName() string
type InstanceIpv6Address ¶
type InstanceIpv6Address struct {
ID uint `gorm:"primarykey"`
InstanceNetworkInterfaceID uint `neo:"ignore"`
AccountID string `gorm:"-"`
Region string `gorm:"-"`
Ipv6Address *string
}
func (InstanceIpv6Address) TableName ¶ added in v0.3.8
func (InstanceIpv6Address) TableName() string
type InstanceLicenseConfiguration ¶
type InstanceLicenseConfiguration struct {
ID uint `gorm:"primarykey"`
InstanceID uint `neo:"ignore"`
AccountID string `gorm:"-"`
Region string `gorm:"-"`
LicenseConfigurationArn *string
}
func (InstanceLicenseConfiguration) TableName ¶ added in v0.3.8
func (InstanceLicenseConfiguration) TableName() string
type InstanceNetworkInterface ¶
type InstanceNetworkInterface struct {
ID uint `gorm:"primarykey"`
InstanceID uint `neo:"ignore"`
AccountID string `gorm:"-"`
Region string `gorm:"-"`
AssociationCarrierIp *string
AssociationIpOwnerId *string
AssociationPublicDnsName *string
AssociationPublicIp *string
AttachmentTime *time.Time
AttachmentId *string
AttachmentDeleteOnTermination *bool
AttachmentDeviceIndex *int64
AttachmentStatus *string
Description *string
InterfaceType *string
Ipv6Addresses []*InstanceIpv6Address `gorm:"constraint:OnDelete:CASCADE;"`
MacAddress *string
NetworkInterfaceId *string
OwnerId *string
PrivateDnsName *string
PrivateIpAddress *string
PrivateIpAddresses []*InstancePrivateIpAddress `gorm:"constraint:OnDelete:CASCADE;"`
SourceDestCheck *bool
Status *string
SubnetId *string
VpcId *string
}
func (InstanceNetworkInterface) TableName ¶ added in v0.3.8
func (InstanceNetworkInterface) TableName() string
type InstancePrivateIpAddress ¶
type InstancePrivateIpAddress struct {
ID uint `gorm:"primarykey"`
InstanceNetworkInterfaceID uint `neo:"ignore"`
AccountID string `gorm:"-"`
Region string `gorm:"-"`
AssociationCarrierIp *string
AssociationIpOwnerId *string
AssociationPublicDnsName *string
AssociationPublicIp *string
Primary *bool
PrivateDnsName *string
PrivateIpAddress *string
}
func (InstancePrivateIpAddress) TableName ¶ added in v0.3.8
func (InstancePrivateIpAddress) TableName() string
type InstanceProductCode ¶
type InstanceProductCode struct {
ID uint `gorm:"primarykey"`
InstanceID uint `neo:"ignore"`
AccountID string `gorm:"-"`
Region string `gorm:"-"`
ProductCodeId *string
ProductCodeType *string
}
func (InstanceProductCode) TableName ¶ added in v0.3.8
func (InstanceProductCode) TableName() string
type InstanceTag ¶
type InstanceTag struct {
ID uint `gorm:"primarykey"`
InstanceID uint `neo:"ignore"`
AccountID string `gorm:"-"`
Region string `gorm:"-"`
Key *string
Value *string
}
func (InstanceTag) TableName ¶ added in v0.3.8
func (InstanceTag) TableName() string
type InternetGateway ¶
type InternetGateway struct {
ID uint `gorm:"primarykey"`
AccountID string `neo:"unique"`
Region string `neo:"unique"`
Attachments []*InternetGatewayAttachment `gorm:"constraint:OnDelete:CASCADE;"`
InternetGatewayId *string `neo:"unique"`
OwnerId *string
Tags []*InternetGatewayTag `gorm:"constraint:OnDelete:CASCADE;"`
// contains filtered or unexported fields
}
func (InternetGateway) TableName ¶ added in v0.3.8
func (InternetGateway) TableName() string
type InternetGatewayAttachment ¶
type InternetGatewayAttachment struct {
ID uint `gorm:"primarykey"`
InternetGatewayID uint `neo:"ignore"`
AccountID string `gorm:"-"`
Region string `gorm:"-"`
State *string
VpcId *string
}
func (InternetGatewayAttachment) TableName ¶ added in v0.3.8
func (InternetGatewayAttachment) TableName() string
type InternetGatewayTag ¶
type InternetGatewayTag struct {
ID uint `gorm:"primarykey"`
InternetGatewayID uint `neo:"ignore"`
AccountID string `gorm:"-"`
Region string `gorm:"-"`
Key *string
Value *string
}
func (InternetGatewayTag) TableName ¶ added in v0.3.8
func (InternetGatewayTag) TableName() string
type NatGateway ¶
type NatGateway struct {
ID uint `gorm:"primarykey"`
AccountID string `neo:"unique"`
Region string `neo:"unique"`
CreateTime *time.Time
DeleteTime *time.Time
FailureCode *string
FailureMessage *string
NatGatewayAddresses []*NatGatewayAddress `gorm:"constraint:OnDelete:CASCADE;"`
NatGatewayId *string `neo:"unique"`
ProvisionTime *time.Time
Provisioned *string
ProvisionedRequestTime *time.Time
ProvisionedRequested *string
ProvisionedStatus *string
State *string
SubnetId *string
Tags []*NatGatewayTag `gorm:"constraint:OnDelete:CASCADE;"`
VpcId *string
// contains filtered or unexported fields
}
func (NatGateway) TableName ¶ added in v0.3.8
func (NatGateway) TableName() string
type NatGatewayAddress ¶
type NatGatewayAddress struct {
ID uint `gorm:"primarykey"`
NatGatewayID uint `neo:"ignore"`
AccountID string `gorm:"-"`
Region string `gorm:"-"`
AllocationId *string
NetworkInterfaceId *string
PrivateIp *string
PublicIp *string
}
func (NatGatewayAddress) TableName ¶ added in v0.3.8
func (NatGatewayAddress) TableName() string
type NatGatewayTag ¶
type NatGatewayTag struct {
ID uint `gorm:"primarykey"`
NatGatewayID uint `neo:"ignore"`
AccountID string `gorm:"-"`
Region string `gorm:"-"`
Key *string
Value *string
}
func (NatGatewayTag) TableName ¶ added in v0.3.8
func (NatGatewayTag) TableName() string
type NetworkAcl ¶
type NetworkAcl struct {
ID uint `gorm:"primarykey"`
AccountID string `neo:"unique"`
Region string `neo:"unique"`
Associations []*NetworkAclAssociation `gorm:"constraint:OnDelete:CASCADE;"`
Entries []*NetworkAclEntry `gorm:"constraint:OnDelete:CASCADE;"`
IsDefault *bool
NetworkAclId *string `neo:"unique"`
OwnerId *string
Tags []*NetworkAclTag `gorm:"constraint:OnDelete:CASCADE;"`
VpcId *string
}
func (NetworkAcl) TableName ¶ added in v0.3.8
func (NetworkAcl) TableName() string
type NetworkAclAssociation ¶
type NetworkAclAssociation struct {
ID uint `gorm:"primarykey"`
NetworkAclID uint `neo:"ignore"`
AccountID string `gorm:"-"`
Region string `gorm:"-"`
NetworkAclAssociationId *string
NetworkAclId *string
SubnetId *string
}
func (NetworkAclAssociation) TableName ¶ added in v0.3.8
func (NetworkAclAssociation) TableName() string
type NetworkAclEntry ¶
type NetworkAclEntry struct {
ID uint `gorm:"primarykey"`
NetworkAclID uint `neo:"ignore"`
AccountID string `gorm:"-"`
Region string `gorm:"-"`
CidrBlock *string
Egress *bool
IcmpTypeCode *int64
IcmpTypeType *int64
Ipv6CidrBlock *string
PortRangeFrom *int64
PortRangeTo *int64
Protocol *string
RuleAction *string
RuleNumber *int64
}
func (NetworkAclEntry) TableName ¶ added in v0.3.8
func (NetworkAclEntry) TableName() string
type NetworkAclTag ¶
type NetworkAclTag struct {
ID uint `gorm:"primarykey"`
NetworkAclID uint `neo:"ignore"`
AccountID string `gorm:"-"`
Region string `gorm:"-"`
Key *string
Value *string
}
func (NetworkAclTag) TableName ¶ added in v0.3.8
func (NetworkAclTag) TableName() string
type RouteTable ¶
type RouteTable struct {
ID uint `gorm:"primarykey"`
AccountID string `neo:"unique"`
Region string `neo:"unique"`
Associations []*RouteTableAssociation `gorm:"constraint:OnDelete:CASCADE;"`
OwnerId *string
PropagatingVgws []*RouteTablePropagatingVgw `gorm:"constraint:OnDelete:CASCADE;"`
RouteTableId *string `neo:"unique"`
Routes []*RouteTableRoute `gorm:"constraint:OnDelete:CASCADE;"`
Tags []*RouteTableTag `gorm:"constraint:OnDelete:CASCADE;"`
VpcId *string
}
func (RouteTable) TableName ¶ added in v0.3.8
func (RouteTable) TableName() string
type RouteTableAssociation ¶
type RouteTableAssociation struct {
ID uint `gorm:"primarykey"`
RouteTableID uint `neo:"ignore"`
AccountID string `gorm:"-" neo:"unique"`
Region string `gorm:"-" neo:"unique"`
State *string
StatusMessage *string
GatewayId *string
Main *bool
RouteTableAssociationId *string `neo:"unique"`
RouteTableId *string
SubnetId *string
}
func (RouteTableAssociation) TableName ¶ added in v0.3.8
func (RouteTableAssociation) TableName() string
type RouteTablePropagatingVgw ¶
type RouteTablePropagatingVgw struct {
ID uint `gorm:"primarykey"`
RouteTableID uint `neo:"ignore"`
AccountID string `gorm:"-"`
Region string `gorm:"-"`
GatewayId *string
}
func (RouteTablePropagatingVgw) TableName ¶ added in v0.3.8
func (RouteTablePropagatingVgw) TableName() string
type RouteTableRoute ¶
type RouteTableRoute struct {
ID uint `gorm:"primarykey"`
RouteTableID uint `neo:"ignore"`
AccountID string `gorm:"-"`
Region string `gorm:"-"`
CarrierGatewayId *string
DestinationCidrBlock *string
DestinationIpv6CidrBlock *string
DestinationPrefixListId *string
EgressOnlyInternetGatewayId *string
GatewayId *string
InstanceId *string
InstanceOwnerId *string
LocalGatewayId *string
NatGatewayId *string
NetworkInterfaceId *string
Origin *string
State *string
TransitGatewayId *string
VpcPeeringConnectionId *string
}
func (RouteTableRoute) TableName ¶ added in v0.3.8
func (RouteTableRoute) TableName() string
type RouteTableTag ¶
type RouteTableTag struct {
ID uint `gorm:"primarykey"`
RouteTableID uint `neo:"ignore"`
AccountID string `gorm:"-"`
Region string `gorm:"-"`
Key *string
Value *string
}
func (RouteTableTag) TableName ¶ added in v0.6.0
func (RouteTableTag) TableName() string
type SecurityGroup ¶
type SecurityGroup struct {
ID uint `gorm:"primarykey"`
AccountID string `neo:"unique"`
Region string `neo:"unique"`
Description *string
GroupId *string `neo:"unique"`
GroupName *string
IpPermissions []*SecurityGroupIpPermission `gorm:"constraint:OnDelete:CASCADE;"`
OwnerId *string
Tags []*SecurityGroupTag `gorm:"constraint:OnDelete:CASCADE;"`
VpcId *string
}
func (SecurityGroup) TableName ¶ added in v0.3.8
func (SecurityGroup) TableName() string
type SecurityGroupIpPermission ¶
type SecurityGroupIpPermission struct {
ID uint `gorm:"primarykey"`
SecurityGroupID uint `neo:"ignore"`
AccountID string `gorm:"-"`
Region string `gorm:"-"`
FromPort *int64
IpProtocol *string
IpRanges []*SecurityGroupIpRange `gorm:"constraint:OnDelete:CASCADE;"`
Ipv6Ranges []*SecurityGroupIpv6Range `gorm:"constraint:OnDelete:CASCADE;"`
PrefixListIds []*SecurityGroupPrefixListId `gorm:"constraint:OnDelete:CASCADE;"`
ToPort *int64
UserIdGroupPairs []*SecurityGroupUserIdGroupPair `gorm:"constraint:OnDelete:CASCADE;"`
}
func (SecurityGroupIpPermission) TableName ¶ added in v0.3.8
func (SecurityGroupIpPermission) TableName() string
type SecurityGroupIpRange ¶
type SecurityGroupIpRange struct {
ID uint `gorm:"primarykey"`
SecurityGroupIpPermissionID uint `neo:"ignore"`
AccountID string `gorm:"-"`
Region string `gorm:"-"`
CidrIp *string
Description *string
}
func (SecurityGroupIpRange) TableName ¶ added in v0.3.8
func (SecurityGroupIpRange) TableName() string
type SecurityGroupIpv6Range ¶
type SecurityGroupIpv6Range struct {
ID uint `gorm:"primarykey"`
SecurityGroupIpPermissionID uint `neo:"ignore"`
AccountID string `gorm:"-"`
Region string `gorm:"-"`
CidrIpv6 *string
Description *string
}
func (SecurityGroupIpv6Range) TableName ¶ added in v0.3.8
func (SecurityGroupIpv6Range) TableName() string
type SecurityGroupPrefixListId ¶
type SecurityGroupPrefixListId struct {
ID uint `gorm:"primarykey"`
SecurityGroupIpPermissionID uint `neo:"ignore"`
AccountID string `gorm:"-"`
Region string `gorm:"-"`
Description *string
PrefixListId *string
}
func (SecurityGroupPrefixListId) TableName ¶ added in v0.3.8
func (SecurityGroupPrefixListId) TableName() string
type SecurityGroupTag ¶
type SecurityGroupTag struct {
ID uint `gorm:"primarykey"`
SecurityGroupID uint `neo:"ignore"`
AccountID string `gorm:"-"`
Region string `gorm:"-"`
Key *string
Value *string
}
func (SecurityGroupTag) TableName ¶ added in v0.3.8
func (SecurityGroupTag) TableName() string
type SecurityGroupUserIdGroupPair ¶
type SecurityGroupUserIdGroupPair struct {
ID uint `gorm:"primarykey"`
SecurityGroupIpPermissionID uint `neo:"ignore"`
AccountID string `gorm:"-"`
Region string `gorm:"-"`
Description *string
GroupId *string
GroupName *string
PeeringStatus *string
UserId *string
VpcId *string
VpcPeeringConnectionId *string
}
func (SecurityGroupUserIdGroupPair) TableName ¶ added in v0.3.8
func (SecurityGroupUserIdGroupPair) TableName() string
type Subnet ¶
type Subnet struct {
ID uint `gorm:"primarykey"`
AccountID string `neo:"unique"`
Region string `neo:"unique"`
AssignIpv6AddressOnCreation *bool
AvailabilityZone *string
AvailabilityZoneId *string
AvailableIpAddressCount *int64
CidrBlock *string
CustomerOwnedIpv4Pool *string
DefaultForAz *bool
Ipv6CidrBlockAssociationSet []*SubnetIpv6CidrBlockAssociation `gorm:"constraint:OnDelete:CASCADE;"`
MapCustomerOwnedIpOnLaunch *bool
MapPublicIpOnLaunch *bool
OutpostArn *string
OwnerId *string
State *string
SubnetArn *string
SubnetId *string `neo:"unique"`
Tags []*SubnetTag `gorm:"constraint:OnDelete:CASCADE;"`
VpcId *string
}
type SubnetIpv6CidrBlockAssociation ¶
type SubnetIpv6CidrBlockAssociation struct {
ID uint `gorm:"primarykey"`
SubnetID uint `neo:"ignore"`
AccountID string `gorm:"-"`
Region string `gorm:"-"`
AssociationId *string
Ipv6CidrBlock *string
State *string
StatusMessage *string
}
func (SubnetIpv6CidrBlockAssociation) TableName ¶ added in v0.3.8
func (SubnetIpv6CidrBlockAssociation) TableName() string
type SubnetTag ¶
type Vpc ¶
type Vpc struct {
ID uint `gorm:"primarykey"`
AccountID string `neo:"unique"`
Region string `neo:"unique"`
CidrBlock *string
CidrBlockAssociations []*VpcCidrBlockAssociation `gorm:"constraint:OnDelete:CASCADE;"`
DhcpOptionsId *string
InstanceTenancy *string
Ipv6CidrBlockAssociations []*VpcIpv6CidrBlockAssociation `gorm:"constraint:OnDelete:CASCADE;"`
IsDefault *bool
OwnerId *string
State *string
Tags []*VpcTag `gorm:"constraint:OnDelete:CASCADE;"`
VpcId *string `neo:"unique"`
// contains filtered or unexported fields
}
type VpcCidrBlockAssociation ¶
type VpcCidrBlockAssociation struct {
ID uint `gorm:"primarykey"`
VpcID uint `neo:"ignore"`
AccountID string `gorm:"-"`
Region string `gorm:"-"`
AssociationId *string
CidrBlock *string
State *string
StatusMessage *string
}
func (VpcCidrBlockAssociation) TableName ¶ added in v0.3.8
func (VpcCidrBlockAssociation) TableName() string
type VpcIpv6CidrBlockAssociation ¶
type VpcIpv6CidrBlockAssociation struct {
ID uint `gorm:"primarykey"`
VpcID uint `neo:"ignore"`
AccountID string `gorm:"-"`
Region string `gorm:"-"`
AssociationId *string
Ipv6CidrBlock *string
State *string
StatusMessage *string
Ipv6Pool *string
NetworkBorderGroup *string
}
func (VpcIpv6CidrBlockAssociation) TableName ¶ added in v0.3.8
func (VpcIpv6CidrBlockAssociation) TableName() string
type VpcPeeringConnection ¶ added in v0.3.3
type VpcPeeringConnection struct {
ID uint `gorm:"primarykey"`
AccountID string `neo:"unique"`
Region string `neo:"unique"`
AccCidrBlock *string
AccCidrBlockSet []*VpcPeeringConnectionAccCidrBlock `gorm:"constraint:OnDelete:CASCADE;"`
AccIpv6CidrBlockSet []*VpcPeeringConnectionAccIpv6CidrBlock `gorm:"constraint:OnDelete:CASCADE;"`
AccOwnerId *string
AccOptAllowDnsResolutionFromRemoteVpc *bool
AccOptAllowEgressFromLocalClassicLinkToRemoteVpc *bool
AccOptAllowEgressFromLocalVpcToRemoteClassicLink *bool
AccRegion *string
AccVpcId *string
ExpirationTime *time.Time
ReqCidrBlock *string
ReqCidrBlockSet []*VpcPeeringConnectionReqCidrBlock `gorm:"constraint:OnDelete:CASCADE;"`
ReqIpv6CidrBlockSet []*VpcPeeringConnectionReqIpv6CidrBlock `gorm:"constraint:OnDelete:CASCADE;"`
ReqOwnerId *string
ReqOptAllowDnsResolutionFromRemoteVpc *bool
ReqOptAllowEgressFromLocalClassicLinkToRemoteVpc *bool
ReqOptAllowEgressFromLocalVpcToRemoteClassicLink *bool
ReqRegion *string
ReqVpcId *string
StatusCode *string
StatusMessage *string
Tags []*VpcPeeringConnectionTag `gorm:"constraint:OnDelete:CASCADE;"`
VpcPeeringConnectionId *string `neo:"unique"`
}
func (VpcPeeringConnection) TableName ¶ added in v0.3.8
func (VpcPeeringConnection) TableName() string
type VpcPeeringConnectionAccCidrBlock ¶ added in v0.6.6
type VpcPeeringConnectionAccCidrBlock struct {
ID uint `gorm:"primarykey"`
VpcPeeringConnectionID uint `neo:"ignore"`
AccountID string `gorm:"-"`
Region string `gorm:"-"`
CidrBlock *string
}
func (VpcPeeringConnectionAccCidrBlock) TableName ¶ added in v0.6.6
func (VpcPeeringConnectionAccCidrBlock) TableName() string
type VpcPeeringConnectionAccIpv6CidrBlock ¶ added in v0.6.6
type VpcPeeringConnectionAccIpv6CidrBlock struct {
ID uint `gorm:"primarykey"`
VpcPeeringConnectionID uint `neo:"ignore"`
AccountID string `gorm:"-"`
Region string `gorm:"-"`
Ipv6CidrBlock *string
}
func (VpcPeeringConnectionAccIpv6CidrBlock) TableName ¶ added in v0.6.6
func (VpcPeeringConnectionAccIpv6CidrBlock) TableName() string
type VpcPeeringConnectionReqCidrBlock ¶ added in v0.6.6
type VpcPeeringConnectionReqCidrBlock struct {
ID uint `gorm:"primarykey"`
VpcPeeringConnectionID uint `neo:"ignore"`
AccountID string `gorm:"-"`
Region string `gorm:"-"`
CidrBlock *string
}
func (VpcPeeringConnectionReqCidrBlock) TableName ¶ added in v0.6.6
func (VpcPeeringConnectionReqCidrBlock) TableName() string
type VpcPeeringConnectionReqIpv6CidrBlock ¶ added in v0.6.6
type VpcPeeringConnectionReqIpv6CidrBlock struct {
ID uint `gorm:"primarykey"`
VpcPeeringConnectionID uint `neo:"ignore"`
AccountID string `gorm:"-"`
Region string `gorm:"-"`
Ipv6CidrBlock *string
}
func (VpcPeeringConnectionReqIpv6CidrBlock) TableName ¶ added in v0.6.6
func (VpcPeeringConnectionReqIpv6CidrBlock) TableName() string
type VpcPeeringConnectionTag ¶ added in v0.3.3
type VpcPeeringConnectionTag struct {
ID uint `gorm:"primarykey"`
VpcPeeringConnectionID uint `neo:"ignore"`
AccountID string `gorm:"-"`
Region string `gorm:"-"`
Key *string
Value *string
}
func (VpcPeeringConnectionTag) TableName ¶ added in v0.3.8
func (VpcPeeringConnectionTag) TableName() string
Click to show internal directories.
Click to hide internal directories.