cloudformation

package
v1.233.0 Latest Latest
Warning

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

Go to latest
Published: Oct 20, 2026 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Overview

Package cloudformation provides CI job summaries for native CloudFormation components.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Plugin

type Plugin struct{}

Plugin implements plugin.Plugin for CloudFormation components.

func (*Plugin) GetHookBindings

func (p *Plugin) GetHookBindings() []plugin.HookBinding

GetHookBindings returns the CloudFormation CI summary hook bindings.

func (*Plugin) GetType

func (p *Plugin) GetType() string

GetType returns the component type.

type TemplateContext

type TemplateContext struct {
	*plugin.TemplateContext

	// Verb is the CLI verb the user invoked (for example "plan" for the diff hooks), and
	// VerbTitle is its title-cased form. Summaries use them so a plan is not called a diff.
	Verb      string
	VerbTitle string

	StackName       string
	ChangeSetName   string
	ResourceChanges int
	// NoOp is true when the changeset reported no changes.
	NoOp bool
	// HasChanges is true when a diff/apply changeset contains changes.
	HasChanges bool
	// FailOnDrift is true when drift detect ran with --fail-on-drift.
	FailOnDrift bool
	StackStatus string
	DriftStatus string

	DriftedCount int
	CodeFence    string
}

TemplateContext extends the base template context with CloudFormation-specific fields.

Jump to

Keyboard shortcuts

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