package
11.3.4
Repository: https://github.com/zmb3/teleport.git
Documentation: pkg.go.dev

# Functions

CassandraEndpointRegion returns an AWS region from cassandra endpoint: where endpoint looks like cassandra.us-east-2.amazonaws.com https://docs.aws.amazon.com/keyspaces/latest/devguide/programmatic.endpoints.html.
CassandraEndpointURLForRegion returns a Cassandra endpoint based on the provided region.
GetPartitionFromRegion get aws partition from region example, region "us-east-1" corresponds to partition "aws" region "cn-north-1" corresponds to partition "aws-cn".
IsAWSEndpoint returns true if the input URI is an AWS endpoint.
IsCNRegion returns true if the region is an AWS China region.
IsElastiCacheEndpoint returns true if the input URI is an ElastiCache endpoint.
IsKeyspacesEndpoint returns true if input URI is an AWS Keyspaces endpoint.
IsMemoryDBEndpoint returns true if the input URI is an MemoryDB endpoint.
IsRDSEndpoint returns true if the input URI is an RDS endpoint.
IsRedshiftEndpoint returns true if the input URI is an Redshift endpoint.
IsUSGovRegion returns true if the region is an AWS US GovCloud region.
ParseElastiCacheEndpoint extracts the details from the provided ElastiCache Redis endpoint.
ParseMemoryDBEndpoint extracts the details from the provided MemoryDB endpoint.
ParseRDSEndpoint extracts the identifier and region from the provided RDS endpoint.
ParseRedshiftEndpoint extracts cluster ID and region from the provided Redshift endpoint.
ShortRegionToRegion converts short region codes to regular region names.

# Constants

AWSCNEndpointSuffix is the endpoint suffix for AWS China regions.
AWSEndpointSuffix is the endpoint suffix for AWS Standard and AWS US GovCloud regions.
CNPartition is the partition ID of the AWS China partition.
CNRegionPrefix is the prefix for all AWS China regions.
ElastiCacheConfigurationEndpoint is the configuration endpoint that used for cluster mode connection.
ElastiCacheNodeEndpoint is the endpoint that used to connect to an individual node.
ElastiCachePrimaryEndpoint is the endpoint of the primary node in the node group.
ElastiCacheReaderEndpoint is the endpoint of the replica nodes in the node group.
ElastiCacheServiceName is the service name for AWS ElastiCache.
MemoryDBClusterEndpoint is the cluster configuration endpoint for a MemoryDB cluster.
MemoryDBNodeEndpoint is the endpoint of an individual MemoryDB node.
MemoryDBSServiceName is the service name for AWS MemoryDB.
RDSServiceName is the service name for AWS RDS.
RedshiftServiceName is the service name for AWS Redshift.
StandardPartition is the partition ID of the AWS Standard partition.
USGovPartition is the partition ID of the AWS GovCloud partition.
USGovRegionPrefix is the prefix for all AWS US GovCloud regions.

# Structs

RDSEndpointDetails contains information about an RDS endpoint.
RedisEndpointInfo describes details extracted from a ElastiCache or MemoryDB Redis endpoint.