Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrAWSPermissionsMissing = errors.New("AWS permissions missing")
Functions ¶
func NewEC2Logger ¶
func NewInstanceTypes ¶
func NewInstanceTypes(ctx context.Context, types []types.InstanceTypeInfo) ([]*clients.InstanceType, error)
Types ¶
type Policy ¶
type Policy struct {
Statement []Statement `json:"Statement"`
}
Policy AWS JSON element
type Statement ¶
type Statement struct { // Sid is an optional identifier of the Statement Sid string // Effect defines results outcome // Values: "Allow" or "Deny" Effect string // Describes the specific AWS actions for which the effect applies. Action []string }
Statement is a main policy element.
Click to show internal directories.
Click to hide internal directories.