stack

package
v1.33.3 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Resource

type Resource struct {
	Type       string `json:"type"`
	PhysicalID string `json:"physicalID"`
	LogicalID  string `json:"logicalID,omitempty"`
}

Resource contains cloudformation stack resource info.

func (Resource) HumanString

func (c Resource) HumanString() string

HumanString returns the stringified Resource struct with human readable format.

type StackDescriber

type StackDescriber struct {
	// contains filtered or unexported fields
}

StackDescriber retrieves information about a stack.

func NewStackDescriber

func NewStackDescriber(stackName string, sess *session.Session) *StackDescriber

NewStackDescriber instantiates a new StackDescriber.

func (*StackDescriber) Describe

func (d *StackDescriber) Describe() (StackDescription, error)

Describe retrieves information about a cloudformation stack.

func (*StackDescriber) Resources

func (d *StackDescriber) Resources() ([]*Resource, error)

Resources retrieves the information about a stack's resources.

func (*StackDescriber) StackMetadata

func (d *StackDescriber) StackMetadata() (string, error)

StackMetadata returns the metadata of the stack.

func (*StackDescriber) StackSetMetadata

func (d *StackDescriber) StackSetMetadata() (string, error)

StackSetMetadata returns the metadata of the stackset.

type StackDescription

type StackDescription struct {
	Parameters map[string]string
	Tags       map[string]string
	Outputs    map[string]string
}

StackDescription is the description of a cloudformation stack.

Directories

Path Synopsis
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.

Jump to

Keyboard shortcuts

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