class documentation

Base class to abstract blocks used in Amazon States Language.

Method __getattr__ Undocumented
Method __init__ Undocumented
Method __repr__ Undocumented
Method __str__ Undocumented
Method allowed_fields Undocumented
Method is_field_allowed Undocumented
Method to_dict Undocumented
Method to_json Serialize to a JSON formatted string.
Instance Variable fields Undocumented
Method _replace_placeholders Undocumented
def __getattr__(self, name): (source)

Undocumented

def __repr__(self): (source)

Undocumented

def __str__(self): (source)

Undocumented

def is_field_allowed(self, field_name): (source)

Undocumented

def to_json(self, pretty=False): (source)

Serialize to a JSON formatted string.

Args:
pretty (bool, optional): Boolean flag set to True if JSON string should be prettified. False, otherwise. (default: False)
Returns:
str: JSON formatted string representation of the block.

Undocumented

def _replace_placeholders(self, params): (source)

Undocumented