cli

package
v1.0.2-release Latest Latest
Warning

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

Go to latest
Published: Jan 24, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CLI

type CLI struct {
	GetIamRoleURL       string
	GetIamCredentialURL string
}

CLI holds the relevant internal metadata URLs for AWS EC2

func New

func New() CLI

New will create a new EC2 AWS Resource

func (CLI) GetCredential

func (r CLI) GetCredential() (aws.Credential, error)

GetCredential will retrieve an IAM credential

func (CLI) Name

func (r CLI) Name() string

Name of the resource type

Jump to

Keyboard shortcuts

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