lib/plugins/platform/platform.js/Platform/getResources
class Platform:  getResources() {
    const frameworkResources = this.serverless.service.provider
      .compiledCloudFormationTemplate.Resources;
    const resources = [];

    _.forEach(frameworkResources, (value, key) => {
      const physicalId = _.find(this.cfResources, r => r.LogicalResourceId === key)
        .PhysicalResourceId;
      const resource = {
        resourceId: key.toLowerCase(),
        id: physicalId,
        name: key,
        type: value.Type,
        properties: JSON.stringify(value.Properties),
        provider: this.serverless.service.provider.name,
      };
      resources.push(resource);
    });
    return resources;
  }