aws

package
v0.33.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 25, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

package aws defines utility functions and constants for working with AWS types and UCP resource IDs.

Index

Constants

View Source
const (
	// PlaneTypeAWS defines the type name of the AWS plane.
	PlaneTypeAWS = "aws"

	// ScopeAccounts defines the account scope for AWS resources.
	ScopeAccounts = "accounts"

	// ScopeRegions defines the region scope for AWS resources.
	ScopeRegions = "regions"
)

Variables

This section is empty.

Functions

func ToAWSResourceType

func ToAWSResourceType(id resources.ID) string

ToAWSResourceType takes an ID and returns a string representing the AWS resource type.

func ToUCPResourceID added in v0.26.0

func ToUCPResourceID(arn string) (string, error)

ToUCPResourceID takes AWS resource ARN and returns string representing UCP qualified resource ID. General formats for ARNs: https://docs.aws.amazon.com/IAM/latest/UserGuide/reference-arns.html

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL