Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ServiceMap = map[string]string{
"": "console",
"acm": "acm",
"aos": "aos",
"apigateway": "apigateway",
"apigw": "apigateway",
"appsync": "appsync",
"athena": "athena",
"bedrock": "bedrock",
"c9": "cloud9",
"ce": "cost-management",
"cf": "cloudfront",
"cfn": "cloudformation",
"cloudformation": "cloudformation",
"cloudmap": "cloudmap",
"cloudwatch": "cloudwatch",
"codeartifact": "codesuite/codeartifact",
"codecommit": "codesuite/codecommit",
"codedeploy": "codedeploy",
"codepipeline": "codepipeline",
"codesuite": "codesuite",
"config": "config",
"ct": "cloudtrail",
"cw": "cloudwatch",
"ddb": "dynamodbv2",
"dms": "dms/v2",
"dx": "directconnect/v2",
"dynamodb": "dynamodbv2",
"eb": "elasticbeanstalk",
"ebs": "elasticbeanstalk",
"ec2": "ec2/v2",
"ecr": "ecr",
"ecs": "ecs",
"eks": "eks",
"eventbridge": "events",
"events": "events",
"gd": "guardduty",
"grafana": "grafana",
"iam": "iamv2",
"kms": "kms",
"l": "lambda",
"lambda": "lambda",
"mwaa": "mwaa",
"param": "systems-manager/parameters",
"r53": "route53/v2",
"ram": "ram",
"rds": "rds",
"redshift": "redshiftv2",
"route53": "route53/v2",
"s3": "s3",
"sagemaker": "sagemaker",
"scrh": "securityhub",
"scrm": "secretsmanager",
"secretsmanager": "secretsmanager",
"securityhub": "securityhub",
"ses": "ses",
"sfn": "states",
"sm": "secretsmanager",
"sns": "sns",
"ssm": "systems-manager",
"sso": "singlesignon",
"states": "states",
"stepfn": "states",
"tra": "trustedadvisor",
"trustedadvisor": "trustedadvisor",
"vpc": "vpc",
"waf": "wafv2",
"wafv2": "wafv2/homev2",
}
ServiceMap maps CLI flags to AWS console URL paths. e.g. passing in `-s ec2` will open the console at the ec2/v2 URL.
Functions ¶
func GetRegionPrefixFromRegion ¶ added in v0.13.0
Types ¶
type AWS ¶
type PartitionHost ¶
type PartitionHost int
const ( Default PartitionHost = iota Gov Cn ISO ISOB )
func GetPartitionFromRegion ¶
func GetPartitionFromRegion(region string) PartitionHost
func (PartitionHost) ConsoleHostString ¶
func (p PartitionHost) ConsoleHostString() string
func (PartitionHost) HostString ¶
func (p PartitionHost) HostString() string
func (PartitionHost) RegionalConsoleHostString ¶ added in v0.13.0
func (p PartitionHost) RegionalConsoleHostString(region string) string
func (PartitionHost) RegionalHostString ¶ added in v0.13.0
func (p PartitionHost) RegionalHostString(region string) string
func (PartitionHost) String ¶
func (p PartitionHost) String() string
Click to show internal directories.
Click to hide internal directories.