stratosphere-1.0.0: EDSL for AWS CloudFormation
Safe HaskellNone
LanguageHaskell2010

Stratosphere.NamedItem

Synopsis

Documentation

class NamedItem a where Source #

This class defines items with names in them. It is used to extract the name from JSON fields so we can get an Object with the names as keys instead of just an array.

Methods

itemName :: a -> Text Source #

nameToJSON :: a -> Value Source #

Instances

Instances details
NamedItem Output Source # 
Instance details

Defined in Stratosphere.Output

NamedItem Parameter Source # 
Instance details

Defined in Stratosphere.Parameter

NamedItem Resource Source # 
Instance details

Defined in Stratosphere.Resource