def _get_aws_config_property(self): node_properties = \ utils.get_instance_or_source_node_properties() return node_properties[constants.AWS_CONFIG_PROPERTY]
def _get_aws_config_property(self, aws_config=None): if aws_config: return aws_config node_properties = \ ec2_utils.get_instance_or_source_node_properties() return node_properties[constants.AWS_CONFIG_PROPERTY]