Expand description
EC2 service state.
Partitioned per account+region via fakecloud_core::multi_account. The
tags map is keyed by EC2 resource id (e.g. vpc-…, i-…, sg-…) and is
the backing store for CreateTags/DeleteTags/DescribeTags plus the
tag:/tag-key describe filters shared across every resource family.
Structs§
- Capacity
Reservation - An on-demand capacity reservation.
- Carrier
Gateway - A carrier gateway (Wavelength).
- Client
VpnEndpoint - A Client VPN endpoint.
- Coip
Pool - A customer-owned IP (CoIP) pool.
- Connection
Notification - A VPC endpoint connection notification.
- CpuOptions
- CPU options round-tripped by
ModifyInstanceCpuOptions. - Customer
Gateway - A customer gateway (on-prem side of a VPN).
- Dedicated
Host - A Dedicated Host.
- Dhcp
Config - One
key -> valuesentry in a DHCP options set. - Dhcp
Options - A DHCP options set.
- Ec2Snapshot
- On-disk snapshot envelope for EC2 state. Versioned so format changes fail
loudly on upgrade rather than silently mis-parsing. Backing containers are
not serialized – on restore the server reconciles them via
Ec2Service::recover_persisted_containers. - Ec2State
- Per-account, per-region EC2 state. Resource families are added to this struct as their batches land.
- Elastic
Ip - An Elastic IP allocation.
- Endpoint
Service - A VPC endpoint service configuration (PrivateLink provider side).
- EniAttachment
- An ENI attachment.
- Fleet
- An EC2 fleet.
- FlowLog
- A VPC flow log.
- Image
- An AMI (machine image).
- Instance
- An EC2 instance (metadata-faithful; a Docker-backed runtime layers on top).
- Instance
Connect Endpoint - An EC2 Instance Connect endpoint.
- Internet
Gateway - An internet gateway (or egress-only IGW) with its VPC attachments.
- Ipam
- An IPAM (IP Address Manager).
- Ipam
Policy - An IPAM policy.
- Ipam
Pool - An IPAM pool.
- Ipam
Prefix List Resolver - An IPAM prefix-list resolver.
- Ipam
Prefix List Resolver Target - An IPAM prefix-list resolver target.
- Ipam
Resource Discovery - An IPAM resource discovery.
- Ipam
Scope - An IPAM scope.
- KeyPair
- An EC2 key pair (public-key metadata only).
- Launch
Template - A launch template (versions tracked as monotonic counters).
- Local
Gateway Route Table - A local-gateway route table.
- Local
Gateway Route Table Vifg Assoc - A local-gateway route-table <-> virtual-interface-group association.
- Local
Gateway Route Table VpcAssoc - A local-gateway route-table <-> VPC association.
- Local
Gateway Vif - A local-gateway virtual interface.
- Local
Gateway VifGroup - A local-gateway virtual-interface group.
- Maintenance
Options - Maintenance options round-tripped by
ModifyInstanceMaintenanceOptions. - Metadata
Options - IMDS (instance-metadata service) options, round-tripped by
ModifyInstanceMetadataOptionsand reflected in DescribeInstances. - NatGateway
- A NAT gateway.
- Network
Acl - A network ACL.
- Network
AclAssoc - A network ACL <-> subnet association.
- Network
AclEntry - A network ACL entry (rule).
- Network
Insights Access Scope - A Network Insights access scope.
- Network
Insights Access Scope Analysis - A Network Insights access-scope analysis.
- Network
Insights Analysis - A Network Insights path analysis.
- Network
Insights Path - A Network Insights reachability path.
- Network
Interface - An elastic network interface.
- Network
Interface Permission - A network-interface permission grant.
- Placement
Group - A placement group.
- Reserved
Instances - A Reserved Instance purchase.
- Reserved
Instances Listing - A Reserved Instances listing in the Reserved Instance Marketplace.
- Reserved
Instances Modification - A Reserved Instances modification request.
- Route
- A route within a route table.
- Route
Table - A route table.
- Route
Table Association - A route-table association (to a subnet or gateway, or the VPC main table).
- Security
Group - A security group.
- Security
Group Rule - A security-group rule (ingress or egress), stored flat.
- Snapshot
- An EBS snapshot.
- Spot
Fleet - A Spot fleet request.
- Spot
Request - A Spot instance request.
- Subnet
- A subnet within a VPC.
- Subnet
Cidr Reservation - A CIDR reservation within a subnet.
- Tag
- A single EC2 resource tag.
- TgwAttachment
- A Transit Gateway attachment (VPC and others).
- TgwMetering
Policy - A Transit Gateway metering policy.
- TgwMulticast
Domain - A Transit Gateway multicast domain.
- TgwPeering
- A Transit Gateway peering attachment.
- TgwRoute
- A static Transit Gateway route within a route table.
- TgwRoute
Table - A Transit Gateway route table.
- Transit
Gateway - A Transit Gateway.
- Verified
Access Endpoint - A Verified Access endpoint.
- Verified
Access Group - A Verified Access group.
- Verified
Access Instance - A Verified Access instance.
- Verified
Access Trust Provider - A Verified Access trust provider.
- Volume
- An EBS volume.
- Volume
Attachment - An EBS volume attachment.
- Vpc
- A Virtual Private Cloud.
- VpcCidr
Assoc - A secondary CIDR-block association on a VPC.
- VpcEndpoint
- A VPC endpoint.
- VpcPeering
- A VPC peering connection.
- VpnConcentrator
- A VPN concentrator.
- VpnConnection
- A Site-to-Site VPN connection.
- VpnGateway
- A virtual private gateway.
Constants§
Type Aliases§
- Shared
Ec2State - Shared, account-partitioned EC2 state handle.