@csermet/multiprovider
Version:
cloud-graph provider plugin for AWS used to fetch AWS cloud data.
21 lines (20 loc) • 606 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
const format_1 = require("../../utils/format");
exports.default = ({ service, account: accountId, region, }) => {
const { arn, name, description, type, connectionType, ownerArn, lifecycle, managedCredentialsStatus, Tags: tags = {}, } = service;
return {
id: arn,
accountId,
arn,
region,
name,
description,
type,
connectionType,
ownerArn,
lifecycle,
managedCredentialsStatus,
tags: format_1.formatTagsFromMap(tags),
};
};