7 releases (1 stable)

new 1.0.0 Dec 27, 2024
0.2.1 Oct 22, 2024
0.2.0 Jul 24, 2024
0.1.3 Jul 19, 2024

#1713 in Network programming

Download history 13/week @ 2024-09-08 58/week @ 2024-09-15 23/week @ 2024-09-22 19/week @ 2024-09-29 14/week @ 2024-10-06 11/week @ 2024-10-13 169/week @ 2024-10-20 27/week @ 2024-10-27 20/week @ 2024-11-03 18/week @ 2024-11-10 15/week @ 2024-11-17 1/week @ 2024-11-24 6/week @ 2024-12-15 124/week @ 2024-12-22

130 downloads per month

MIT license

45KB
1K SLoC

aws-resource-id

License Crates.io Docs.rs

Copy-able stack-only AWS resource IDs

General format IDs

18 bytes stack-only IDs following the general [prefix]-[8-or-17-chars-unique-string] format.

Type Prefix Details
AwsAmiId ami- AMI (Amazon Machine Image)
AwsNetworkAclId acl- Network ACL (Access Control List)
AwsCustomerGatewayId cgw- Customer Gateway
AwsElasticIpId eipalloc- Elastic IP
AwsEfsFileSystemId fs- EFS (Elastic File System)
AwsEfsMountTargetId fsmt- EFS Mount Target ID
AwsCloudFormationStackId stack- CloudFormation Stack
AwsElasticBeanstalkEnvironmentId e- Elastic Beanstalk Environment
AwsInstanceId i- EC2 Instance
AwsInternetGatewayId igw- Internet Gateway
AwsKeyPairId key- Key Pair
AwsLoadBalancerId elbv2- Elastic Load Balancer
AwsNatGatewayId nat- NAT Gateway
AwsNetworkInterfaceId eni- Network Interface
AwsPlacementGroupId pg- Placement Group
AwsRdsInstanceId db- RDS Instance
AwsRedshiftClusterId redshift- Redshift Cluster
AwsRouteTableId rtb- Route Table
AwsSecurityGroupId sg- Security Group
AwsSnapshotId snap- EBS Snapshot
AwsSubnetId subnet- VPC Subnet
AwsTargetGroupId tg- Target Group
AwsTransitGatewayAttachmentId tgw-attach- Transit Gateway Attachment
AwsTransitGatewayId tgw- Transit Gateway
AwsVolumeId vol- EBS Volume
AwsVpcId vpc- VPC (Virtual Private Cloud)
AwsVpnConnectionId vpn- VPN Connection
AwsVpnGatewayId vgw- VPN Gateway

Specific format ids

Type Size Stack-only Example Details
AwsRegionId 1 byte yes eu-central-1 Region

Contributing

  • please run .pre-commit.sh before sending a PR, it will check everything

License

This project is licensed under the MIT license.

Dependencies

~0.3–12MB
~132K SLoC