Documentation
¶
Index ¶
- func NewClient(session *session.Session, awsConfig *aws.Config, db *gorm.DB, log *zap.Logger, ...) 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 InstanceCapacityReservationSpecificationResponse
- 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 VpcPeeringConnectionAccepterCidrBlock
- type VpcPeeringConnectionAccepterIpv6CidrBlock
- type VpcPeeringConnectionRequesterCidrBlock
- type VpcPeeringConnectionRequesterIpv6CidrBlock
- type VpcPeeringConnectionTag
- type VpcTag
Constants ¶
This section is empty.
Variables ¶
This section is empty.
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
Region string
BgpAsn *string
CertificateArn *string
CustomerGatewayId *string
DeviceName *string
IpAddress *string
State *string
Tags []*CustomerGatewayTag `gorm:"constraint:OnDelete:CASCADE;"`
Type *string
}
func (CustomerGateway) TableName ¶ added in v0.3.8
func (CustomerGateway) TableName() string
type CustomerGatewayTag ¶
type CustomerGatewayTag struct {
ID uint `gorm:"primarykey"`
CustomerGatewayID uint
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
Region string
CreationTime *time.Time
DeliverLogsErrorMessage *string
DeliverLogsPermissionArn *string
DeliverLogsStatus *string
FlowLogId *string
FlowLogStatus *string
LogDestination *string
LogDestinationType *string
LogFormat *string
LogGroupName *string
MaxAggregationInterval *int64
ResourceId *string
Tags []*FlowLogTag `gorm:"constraint:OnDelete:CASCADE;"`
TrafficType *string
}
type FlowLogTag ¶ added in v0.3.2
func (FlowLogTag) TableName ¶ added in v0.3.8
func (FlowLogTag) TableName() string
type Image ¶
type Image struct {
ID uint `gorm:"primarykey"`
AccountID string
Region string
Architecture *string
BlockDeviceMappings []*ImageBlockDeviceMapping `gorm:"constraint:OnDelete:CASCADE;"`
CreationDate *string
Description *string
EnaSupport *bool
Hypervisor *string
ImageId *string
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
StateReason *ec2.StateReason `gorm:"embedded;embeddedPrefix:state_reason_"`
Tags []*ImageTag `gorm:"constraint:OnDelete:CASCADE;"`
UsageOperation *string
VirtualizationType *string
}
type ImageBlockDeviceMapping ¶
type ImageBlockDeviceMapping struct {
ID uint `gorm:"primarykey"`
ImageID uint
DeviceName *string
Ebs *ec2.EbsBlockDevice `gorm:"embedded;embeddedPrefix:ebs_"`
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
ProductCodeId *string
ProductCodeType *string
}
func (ImageProductCode) TableName ¶ added in v0.3.8
func (ImageProductCode) TableName() string
type Instance ¶
type Instance struct {
ID uint `gorm:"primarykey"`
AccountID string
Region string
AmiLaunchIndex *int64
Architecture *string
BlockDeviceMappings []*InstanceBlockDeviceMapping `gorm:"constraint:OnDelete:CASCADE;"`
CapacityReservationId *string
CapacityReservationSpecification *InstanceCapacityReservationSpecificationResponse `gorm:"constraint:OnDelete:CASCADE;"`
ClientToken *string
CpuOptions *ec2.CpuOptions `gorm:"embedded;embeddedPrefix:cpu_options_"`
EbsOptimized *bool
ElasticGpuAssociations []*InstanceElasticGpuAssociation `gorm:"constraint:OnDelete:CASCADE;"`
ElasticInferenceAcceleratorAssociations []*InstanceElasticInferenceAcceleratorAssociation `gorm:"constraint:OnDelete:CASCADE;"`
EnaSupport *bool
HibernationOptions *ec2.HibernationOptions `gorm:"embedded;embeddedPrefix:hibernation_options_"`
Hypervisor *string
IamInstanceProfile *ec2.IamInstanceProfile `gorm:"embedded;embeddedPrefix:iam_instance_profile_"`
ImageId *string
InstanceId *string
InstanceLifecycle *string
InstanceType *string
KernelId *string
KeyName *string
LaunchTime *time.Time
Licenses []*InstanceLicenseConfiguration `gorm:"constraint:OnDelete:CASCADE;"`
MetadataOptions *ec2.InstanceMetadataOptionsResponse `gorm:"embedded;embeddedPrefix:metadata_options_"`
Monitoring *ec2.Monitoring `gorm:"embedded;embeddedPrefix:monitoring_"`
NetworkInterfaces []*InstanceNetworkInterface `gorm:"constraint:OnDelete:CASCADE;"`
OutpostArn *string
Placement *ec2.Placement `gorm:"embedded;embeddedPrefix:placement_"`
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
State *ec2.InstanceState `gorm:"embedded;embeddedPrefix:state_"`
StateReason *ec2.StateReason `gorm:"embedded;embeddedPrefix:state_reason_"`
StateTransitionReason *string
SubnetId *string
Tags []*InstanceTag `gorm:"constraint:OnDelete:CASCADE;"`
VirtualizationType *string
VpcId *string
}
type InstanceBlockDeviceMapping ¶
type InstanceBlockDeviceMapping struct {
ID uint `gorm:"primarykey"`
InstanceID uint
DeviceName *string
Ebs *ec2.EbsInstanceBlockDevice `gorm:"embedded;embeddedPrefix:ebs_"`
}
func (InstanceBlockDeviceMapping) TableName ¶ added in v0.3.8
func (InstanceBlockDeviceMapping) TableName() string
type InstanceCapacityReservationSpecificationResponse ¶
type InstanceCapacityReservationSpecificationResponse struct {
ID uint `gorm:"primarykey"`
InstanceID uint
CapacityReservationPreference *string
CapacityReservationTarget *ec2.CapacityReservationTargetResponse `gorm:"embedded"`
}
func (InstanceCapacityReservationSpecificationResponse) TableName ¶ added in v0.3.8
func (InstanceCapacityReservationSpecificationResponse) TableName() string
type InstanceElasticGpuAssociation ¶
type InstanceElasticGpuAssociation struct {
ID uint `gorm:"primarykey"`
InstanceID uint
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
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
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
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
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
Association *ec2.InstanceNetworkInterfaceAssociation `gorm:"embedded;embeddedPrefix:association_"`
Attachment *ec2.InstanceNetworkInterfaceAttachment `gorm:"embedded;embeddedPrefix:attachment_"`
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
Association *ec2.InstanceNetworkInterfaceAssociation `gorm:"embedded;embeddedPrefix:association_"`
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
ProductCodeId *string
ProductCodeType *string
}
func (InstanceProductCode) TableName ¶ added in v0.3.8
func (InstanceProductCode) TableName() string
type InstanceTag ¶
func (InstanceTag) TableName ¶ added in v0.3.8
func (InstanceTag) TableName() string
type InternetGateway ¶
type InternetGateway struct {
ID uint `gorm:"primarykey"`
AccountID string
Region string
Attachments []*InternetGatewayAttachment `gorm:"constraint:OnDelete:CASCADE;"`
InternetGatewayId *string
OwnerId *string
Tags []*InternetGatewayTag `gorm:"constraint:OnDelete:CASCADE;"`
}
func (InternetGateway) TableName ¶ added in v0.3.8
func (InternetGateway) TableName() string
type InternetGatewayAttachment ¶
type InternetGatewayAttachment struct {
ID uint `gorm:"primarykey"`
InternetGatewayID uint
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
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
Region string
CreateTime *time.Time
DeleteTime *time.Time
FailureCode *string
FailureMessage *string
NatGatewayAddresses []*NatGatewayAddress `gorm:"constraint:OnDelete:CASCADE;"`
NatGatewayId *string
ProvisionedBandwidth *ec2.ProvisionedBandwidth `gorm:"embedded;embeddedPrefix:provisioned_bandwidth_"`
State *string
SubnetId *string
Tags []*NatGatewayTag `gorm:"constraint:OnDelete:CASCADE;"`
VpcId *string
}
func (NatGateway) TableName ¶ added in v0.3.8
func (NatGateway) TableName() string
type NatGatewayAddress ¶
type NatGatewayAddress struct {
ID uint `gorm:"primarykey"`
NatGatewayID uint
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
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
Region string
Associations []*NetworkAclAssociation `gorm:"constraint:OnDelete:CASCADE;"`
Entries []*NetworkAclEntry `gorm:"constraint:OnDelete:CASCADE;"`
IsDefault *bool
NetworkAclId *string
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
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
CidrBlock *string
Egress *bool
IcmpTypeCode *ec2.IcmpTypeCode `gorm:"embedded;embeddedPrefix:icmp_type_code_"`
Ipv6CidrBlock *string
PortRange *ec2.PortRange `gorm:"embedded;embeddedPrefix:port_range_"`
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
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
Region string
Associations []*RouteTableAssociation `gorm:"constraint:OnDelete:CASCADE;"`
OwnerId *string
PropagatingVgws []*RouteTablePropagatingVgw `gorm:"constraint:OnDelete:CASCADE;"`
RouteTableId *string
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
AssociationState *ec2.RouteTableAssociationState `gorm:"embedded;embeddedPrefix:association_state_"`
GatewayId *string
Main *bool
RouteTableAssociationId *string
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
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
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
Key *string
Value *string
}
func (RouteTableTag) RouteTableAssociation ¶ added in v0.3.8
func (RouteTableTag) RouteTableAssociation() string
type SecurityGroup ¶
type SecurityGroup struct {
ID uint `gorm:"primarykey"`
AccountID string
Region string
Description *string
GroupId *string
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
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
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
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
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
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
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
Region string
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
Tags []*SubnetTag `gorm:"constraint:OnDelete:CASCADE;"`
VpcId *string
}
type SubnetIpv6CidrBlockAssociation ¶
type SubnetIpv6CidrBlockAssociation struct {
ID uint `gorm:"primarykey"`
SubnetID uint
AssociationId *string
Ipv6CidrBlock *string
Ipv6CidrBlockState *ec2.SubnetCidrBlockState `gorm:"embedded;embeddedPrefix:ipv_6_cidr_block_state_"`
}
func (SubnetIpv6CidrBlockAssociation) TableName ¶ added in v0.3.8
func (SubnetIpv6CidrBlockAssociation) TableName() string
type Vpc ¶
type Vpc struct {
ID uint `gorm:"primarykey"`
AccountID string
Region string
CidrBlock *string
CidrBlockAssociationSet []*VpcCidrBlockAssociation `gorm:"constraint:OnDelete:CASCADE;"`
DhcpOptionsId *string
InstanceTenancy *string
Ipv6CidrBlockAssociationSet []*VpcIpv6CidrBlockAssociation `gorm:"constraint:OnDelete:CASCADE;"`
IsDefault *bool
OwnerId *string
State *string
Tags []*VpcTag `gorm:"constraint:OnDelete:CASCADE;"`
VpcId *string
}
type VpcCidrBlockAssociation ¶
type VpcCidrBlockAssociation struct {
ID uint `gorm:"primarykey"`
VpcID uint
AssociationId *string
CidrBlock *string
CidrBlockState *ec2.VpcCidrBlockState `gorm:"embedded;embeddedPrefix:cidr_block_state_"`
}
func (VpcCidrBlockAssociation) TableName ¶ added in v0.3.8
func (VpcCidrBlockAssociation) TableName() string
type VpcIpv6CidrBlockAssociation ¶
type VpcIpv6CidrBlockAssociation struct {
ID uint `gorm:"primarykey"`
VpcID uint
AssociationId *string
Ipv6CidrBlock *string
Ipv6CidrBlockState *ec2.VpcCidrBlockState `gorm:"embedded;embeddedPrefix:ipv_6_cidr_block_state_"`
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
Region string
AccepterCidrBlock *string
AccepterCidrBlockSet []*VpcPeeringConnectionAccepterCidrBlock `gorm:"constraint:OnDelete:CASCADE;"`
AccepterIpv6CidrBlockSet []*VpcPeeringConnectionAccepterIpv6CidrBlock `gorm:"constraint:OnDelete:CASCADE;"`
AccepterOwnerId *string
AccepterOptions *ec2.VpcPeeringConnectionOptionsDescription `gorm:"embedded;embeddedPrefix:accepter_option_"`
AccepterRegion *string
AccepterVpcId *string
ExpirationTime *time.Time
RequesterCidrBlock *string
RequesterCidrBlockSet []*VpcPeeringConnectionRequesterCidrBlock `gorm:"constraint:OnDelete:CASCADE;"`
RequesterIpv6CidrBlockSet []*VpcPeeringConnectionRequesterIpv6CidrBlock `gorm:"constraint:OnDelete:CASCADE;"`
RequesterOwnerId *string
RequesterOptions *ec2.VpcPeeringConnectionOptionsDescription `gorm:"embedded;embeddedPrefix:requester_option_"`
RequesterRegion *string
RequesterVpcId *string
Status *ec2.VpcPeeringConnectionStateReason `gorm:"embedded;embeddedPrefix:status_"`
Tags []*VpcPeeringConnectionTag `gorm:"constraint:OnDelete:CASCADE;"`
VpcPeeringConnectionId *string
}
func (VpcPeeringConnection) TableName ¶ added in v0.3.8
func (VpcPeeringConnection) TableName() string
type VpcPeeringConnectionAccepterCidrBlock ¶ added in v0.3.3
type VpcPeeringConnectionAccepterCidrBlock struct {
ID uint `gorm:"primarykey"`
VpcPeeringConnectionID uint
CidrBlock *string
}
func (VpcPeeringConnectionAccepterCidrBlock) TableName ¶ added in v0.3.8
func (VpcPeeringConnectionAccepterCidrBlock) TableName() string
type VpcPeeringConnectionAccepterIpv6CidrBlock ¶ added in v0.3.3
type VpcPeeringConnectionAccepterIpv6CidrBlock struct {
ID uint `gorm:"primarykey"`
VpcPeeringConnectionID uint
Ipv6CidrBlock *string
}
func (VpcPeeringConnectionAccepterIpv6CidrBlock) TableName ¶ added in v0.3.8
func (VpcPeeringConnectionAccepterIpv6CidrBlock) TableName() string
type VpcPeeringConnectionRequesterCidrBlock ¶ added in v0.3.3
type VpcPeeringConnectionRequesterCidrBlock struct {
ID uint `gorm:"primarykey"`
VpcPeeringConnectionID uint
CidrBlock *string
}
func (VpcPeeringConnectionRequesterCidrBlock) TableName ¶ added in v0.3.8
func (VpcPeeringConnectionRequesterCidrBlock) TableName() string
type VpcPeeringConnectionRequesterIpv6CidrBlock ¶ added in v0.3.3
type VpcPeeringConnectionRequesterIpv6CidrBlock struct {
ID uint `gorm:"primarykey"`
VpcPeeringConnectionID uint
Ipv6CidrBlock *string
}
func (VpcPeeringConnectionRequesterIpv6CidrBlock) TableName ¶ added in v0.3.8
func (VpcPeeringConnectionRequesterIpv6CidrBlock) TableName() string
type VpcPeeringConnectionTag ¶ added in v0.3.3
type VpcPeeringConnectionTag struct {
ID uint `gorm:"primarykey"`
VpcPeeringConnectionID uint
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.