arn

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Nov 14, 2023 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrMalformedArn = errors.New("malformed Key ARN")

Functions

func ValidateKeyArn

func ValidateKeyArn(keyID string) error

Types

type KeyArn

type KeyArn struct {
	Partition    string
	Service      string
	Region       string
	Account      string
	ResourceType string
	ResourceID   string
}

func ParseArn

func ParseArn(str string) (*KeyArn, error)

func (*KeyArn) String

func (a *KeyArn) String() string

Jump to

Keyboard shortcuts

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