def _reload(self, event, opts): """Configuration options have changed, save new values""" self.options = opts.get("fn_aws_iam", {}) validate_opts(self)
def __init__(self, opts): """constructor provides access to the configuration options""" super(FunctionComponent, self).__init__(opts) self.options = opts.get("fn_aws_iam", {}) validate_opts(self)