Documentation ¶
Index ¶
- Constants
- Variables
- type AnythingMap
- type Boolean
- type Double
- type Integer
- type Intrinsic
- type Long
- type Slice
- type String
- type Value
- func False() *Value
- func IntrinsicFromMap(raw map[string]interface{}) (*Value, error)
- func MakeFnCIDR(arg, n, l *Value) *Value
- func MakeFnEquals(value1, value2 *Value) *Value
- func MakeFnFindInMap(mapName *Value, topLevelKey *Value, secondLevelKey *Value) *Value
- func MakeFnGetAtt(name string, attr *Value) *Value
- func MakeFnGetAttString(name string, attr string) *Value
- func MakeFnImportValue(arg *Value) *Value
- func MakeFnImportValueString(arg string) *Value
- func MakeFnJoin(sep string, args []*Value) *Value
- func MakeFnSelect(i, arg *Value) *Value
- func MakeFnSplit(sep string, arg *Value) *Value
- func MakeFnSplitString(sep string, arg string) *Value
- func MakeFnSubString(arg string) *Value
- func MakeIntrinsic(k string, v interface{}) *Value
- func MakeRef(r string) *Value
- func NewBoolean(v bool) *Value
- func NewDouble(v float64) *Value
- func NewInteger(v int) *Value
- func NewLong(v int64) *Value
- func NewSlice(v ...*Value) *Value
- func NewString(v string) *Value
- func NewStringSlice(ss ...string) *Value
- func NewValue(v json.Marshaler) *Value
- func NewValueFromPrimitive(raw interface{}) (*Value, error)
- func True() *Value
Constants ¶
View Source
const ( AccountID = "AWS::AccountId" NotificationARNs = "AWS::NotificationARNs" NoValue = "AWS::NoValue" Partition = "AWS::Partition" Region = "AWS::Region" StackID = "AWS::StackId" StackName = "AWS::StackName" )
Variables ¶
View Source
var ( Ref = "Ref" FnBase64 = "Fn::Base64" FnCIDR = "Fn::Cidr" FnAnd = "Fn::And" FnEquals = "Fn::Equals" FnIf = "Fn::If" FnNot = "Fn::Not" FnOr = "Fn::Or" FnFindInMap = "Fn::FindInMap" FnGetAtt = "Fn::GetAtt" FnGetAZs = "Fn::GetAZs" FnImportValue = "Fn::ImportValue" FnJoin = "Fn::Join" FnSub = "Fn::Sub" FnSelect = "Fn::Select" FnSplit = "Fn::Split" )
Functions ¶
This section is empty.
Types ¶
type AnythingMap ¶
type AnythingMap map[string]interface{}
func (AnythingMap) Convert ¶
func (v AnythingMap) Convert(obj interface{}) error
func (AnythingMap) MarshalJSON ¶
func (v AnythingMap) MarshalJSON() ([]byte, error)
type Intrinsic ¶
type Intrinsic struct {
Value map[string]interface{}
}
func (Intrinsic) MarshalJSON ¶
type Value ¶
type Value struct {
// contains filtered or unexported fields
}
func IntrinsicFromMap ¶
IntrinsicFromMap attempts to parse a map to an intrinsic function
func MakeFnCIDR ¶
func MakeFnEquals ¶
func MakeFnFindInMap ¶
func MakeFnGetAtt ¶
func MakeFnGetAttString ¶
func MakeFnImportValue ¶
func MakeFnImportValueString ¶
func MakeFnJoin ¶
func MakeFnSelect ¶
func MakeFnSplit ¶
func MakeFnSplitString ¶
func MakeFnSubString ¶
func MakeIntrinsic ¶
func NewBoolean ¶
func NewInteger ¶
func NewStringSlice ¶
func NewValueFromPrimitive ¶
func (Value) MarshalJSON ¶
func (*Value) UnmarshalJSON ¶
Click to show internal directories.
Click to hide internal directories.