package
18.0.0-dev.vnet-windows.4+incompatible
Repository: https://github.com/gravitational/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.
CheckRoleARN returns whether a string is a valid IAM Role ARN.
DynamoDBURIForRegion constructs a DynamoDB URI based on the AWS 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.
IsDocumentDBEndpoint returns true if the input URI is a DocumentDB endpoint.
IsEC2NodeID returns true if the given ID looks like an EC2 node ID.
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.
IsOpenSearchEndpoint returns true if input URI is an OpenSearch endpoint.
IsRDSEndpoint returns true if the input URI is an RDS endpoint.
IsRedshiftEndpoint returns true if the input URI is an Redshift endpoint.
IsRedshiftServerlessEndpoint returns true if the input URI is an Redshift Serverless endpoint.
IsUSGovRegion returns true if the region is an AWS US GovCloud region.
IsValidAccountID checks whether the accountID is a valid AWS Account ID https://docs.aws.amazon.com/accounts/latest/reference/manage-acct-identifiers.html.
IsValidAthenaWorkgroupName checks whether the name is a valid AWS Athena workgroup name.
IsValidGlueResourceName check whether the name is valid for an AWS Glue database or table used with AWS Athena.
IsValidIAMPolicyName checks whether the policy name is a valid AWS IAM Policy identifier.
IsValidIAMRoleName checks whether the role name is a valid AWS IAM Role identifier.
IsValidPartition checks if partition is a valid AWS partition.
IsValidRegion ensures the region looks to be valid.
ParseDocumentDBEndpoint parses and extracts info from the provided DocumentDB endpoint.
ParseDynamoDBEndpoint parses and extract info from the provided DynamoDB endpoint.
ParseElastiCacheEndpoint extracts the details from the provided ElastiCache Redis endpoint.
ParseMemoryDBEndpoint extracts the details from the provided MemoryDB endpoint.
ParseOpensearchEndpoint parses and extract info from the provided OpenSearch endpoint.
ParseRDSEndpoint extracts the identifier and region from the provided RDS endpoint.
ParseRedshiftEndpoint extracts cluster ID and region from the provided Redshift endpoint.
ParseRedshiftServerlessEndpoint extracts name, AWS Account ID, and region from the provided Redshift Serverless 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.
AWSGlobalRegion is a sentinel value used by AWS to be able to use global endpoints, instead of region specific ones.
CNPartition is the partition ID of the AWS China partition.
CNRegionPrefix is the prefix for all AWS China regions.
DAXServiceName is the AWS DynamoDB Accelerator service name.
DocumentDBClusterEndpoint specifies a DocumentDB primary/cluster endpoint.
DocumentDBReaderEndpoint specifies a DocumentDB reader endpoint.
DocumentDBInstanceEndpoint specifies a DocumentDB instance endpoint.
DocumentDBServiceName is the service name for AWS DocumentDB.
DynamoDBFipsServiceName is the fips variant service name for AWS DynamoDB.
DynamoDBServiceName is the service name for AWS DynamoDB.
DynamoDBStreamsServiceName is the AWS DynamoDB Streams service name.
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.
OpenSearchCustomEndpoint is the custom endpoint configured for domain.
OpenSearchDefaultEndpoint is the default endpoint for domain.
OpenSearchServiceName is the AWS OpenSearch service name.
OpenSearchVPCEndpoint is the VPC endpoint for domain.
RDSEndpointTypeCustom is the endpoint that specifies one of the custom endpoints associated with the RDS cluster.
RDSEndpointTypeInstance is the endpoint of an RDS DB instance.
RDSEndpointTypePrimary is the endpoint that specifies the connection for the primary instance of the RDS cluster.
RDSEndpointTypeReader is the endpoint that load-balances connections across the Aurora Replicas that are available in an RDS cluster.
RDSServiceName is the service name for AWS RDS.
RedshiftServerlessServiceName is the service name for AWS Redshift Serverless.
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

DocumentDBEndpointDetails contains information about a DocumentDB endpoint.
DynamoDBEndpointInfo describes info extracted from a DynamoDB endpoint.
OpenSearchEndpointInfo describes info extracted from an AWS endpoint.
RDSEndpointDetails contains information about an RDS endpoint.
RedisEndpointInfo describes details extracted from a ElastiCache or MemoryDB Redis endpoint.
RedshiftServerlessEndpointDetails contains information about an Redshift Serverless endpoint.