n8n-nodes-aws-cost-explorer
Version:
N8N node for AWS Cost Explorer to retrieve cost and usage data
39 lines (38 loc) • 1.22 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.AwsCostExplorerApi = void 0;
class AwsCostExplorerApi {
constructor() {
this.name = 'awsCostExplorerApi';
this.displayName = 'AWS Cost Explorer API';
this.documentationUrl = 'https://docs.aws.amazon.com/cost-explorer/';
this.properties = [
{
displayName: 'AWS Access Key ID',
name: 'accessKeyId',
type: 'string',
default: '',
required: true,
},
{
displayName: 'AWS Secret Access Key',
name: 'secretAccessKey',
type: 'string',
typeOptions: {
password: true,
},
default: '',
required: true,
},
{
displayName: 'Region',
name: 'region',
type: 'string',
default: 'us-east-1',
required: true,
description: 'AWS region where Cost Explorer API is available',
},
];
}
}
exports.AwsCostExplorerApi = AwsCostExplorerApi;