Module general

Module general 

Source
Expand description

§AWS Resource IDs in a General Format

This module handles AWS resource IDs that follow a specific format:

  1. Prefix: a short string specific to each resource type (e.g., ami- for AMIs)
  2. Identifier: an 8 or 17 character unique string containing only:
    • Lowercase letters (a-z)
    • Numbers (0-9)

§Resource ID length

Prior to January 2016, the IDs assigned to newly created resources of certain resource types used 8 characters after the hyphen (for example, i-1a2b3c4d). From January 2016 to June 2018, we changed the IDs of these resource types to use 17 characters after the hyphen (for example, i-1234567890abcdef0). Depending on when your account was created, you might have some existing resources with short IDs, however, any new resources will receive the longer IDs. https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/resource-ids.html

Structs§

AwsAmiId
AWS AMI (Amazon Machine Image) ID
AwsCloudFormationStackId
AWS CloudFormation Stack ID
AwsCustomerGatewayId
AWS Customer Gateway ID
AwsEfsFileSystemId
AWS EFS (Elastic File System) ID
AwsEfsMountTargetId
AWS EFS Mount Target ID
AwsElasticBeanstalkEnvironmentId
AWS Elastic Beanstalk Environment ID
AwsElasticIpId
AWS Elastic IP ID
AwsInstanceId
AWS EC2 Instance ID
AwsInternetGatewayId
AWS Internet Gateway ID
AwsKeyPairId
AWS Key Pair ID
AwsLoadBalancerId
AWS Elastic Load Balancer ID
AwsNatGatewayId
AWS NAT Gateway ID
AwsNetworkAclId
AWS Network ACL (Access Control List) ID
AwsNetworkInterfaceId
AWS Network Interface ID
AwsPlacementGroupId
AWS Placement Group ID
AwsRdsInstanceId
AWS RDS Instance ID
AwsRedshiftClusterId
AWS Redshift Cluster ID
AwsRouteTableId
AWS Route Table ID
AwsSecurityGroupId
AWS Security Group ID
AwsSnapshotId
AWS EBS Snapshot ID
AwsSubnetId
AWS VPC Subnet ID
AwsTargetGroupId
AWS Target Group ID
AwsTransitGatewayAttachmentId
AWS Transit Gateway Attachment ID
AwsTransitGatewayId
AWS Transit Gateway ID
AwsVolumeId
AWS EBS Volume ID
AwsVpcId
AWS VPC (Virtual Private Cloud) ID
AwsVpnConnectionId
AWS VPN Connection ID
AwsVpnGatewayId
AWS VPN Gateway ID
GeneralResourceError
Error encountered when parsing an AWS resource ID in the general format

Enums§

GeneralResourceErrorDetail
Specific details about errors encountered when parsing AWS resource IDs in the general format