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 ¶
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.
Click to show internal directories.
Click to hide internal directories.