templates

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Jul 14, 2020 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GenerateInitTemplate

func GenerateInitTemplate() (string, error)

func IsServerlessTemplate

func IsServerlessTemplate(templatePath string) (bool, error)

Types

type PolicyDocument

type PolicyDocument struct {
	Id        string      `json:"Id,omitempty"`
	Statement []Statement `json:"Statement,omitempty"`
	Version   string      `json:"Version,omitempty"`
}

type Statement

type Statement struct {
	Action    interface{} `json:"Action,omitempty"`
	Effect    string      `json:"Effect,omitempty"`
	Principal interface{} `json:"Principal,omitempty"`
	Resource  interface{} `json:"Resource,omitempty"`
	Sid       string      `json:"Sid,omitempty"`
}

Jump to

Keyboard shortcuts

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