mirror of
https://github.com/n8n-io/n8n.git
synced 2024-11-10 22:54:05 -08:00
99bb6e40c1
* implement sqs node to send message * remove console logs * update node to use url as value * add message attributes * tslint --fix * fix comment * address comments, fix subtitle bug, fix style issues * add comma * update pathname handling * fix spacing * fix queue loading for no queues and more than 1 * change logo to svg, support sending input as json * add binary data property support * fix node read to depend on item * 🎨 Fix SVG size to prevent cropping * ⚡ Ajust imports and display names per codebase * ✏️ Edit parameter descriptions * address comments * tslint fixes * update subtitle to operation * update fifo handling * ⚡ Improvements * ⚡ Minor fix Co-authored-by: Iván Ovejero <ivov.src@gmail.com> Co-authored-by: ricardo <ricardoespinoza105@gmail.com> Co-authored-by: Jan Oberhauser <jan.oberhauser@gmail.com>
131 lines
3.3 KiB
TypeScript
131 lines
3.3 KiB
TypeScript
import {
|
|
ICredentialType,
|
|
NodePropertyTypes,
|
|
} from 'n8n-workflow';
|
|
|
|
|
|
export class Aws implements ICredentialType {
|
|
name = 'aws';
|
|
displayName = 'AWS';
|
|
documentationUrl = 'aws';
|
|
properties = [
|
|
{
|
|
displayName: 'Region',
|
|
name: 'region',
|
|
type: 'string' as NodePropertyTypes,
|
|
default: 'us-east-1',
|
|
},
|
|
{
|
|
displayName: 'Access Key Id',
|
|
name: 'accessKeyId',
|
|
type: 'string' as NodePropertyTypes,
|
|
default: '',
|
|
},
|
|
{
|
|
displayName: 'Secret Access Key',
|
|
name: 'secretAccessKey',
|
|
type: 'string' as NodePropertyTypes,
|
|
default: '',
|
|
typeOptions: {
|
|
password: true,
|
|
},
|
|
},
|
|
{
|
|
displayName: 'Custom Endpoints',
|
|
name: 'customEndpoints',
|
|
type: 'boolean' as NodePropertyTypes,
|
|
default: false,
|
|
},
|
|
{
|
|
displayName: 'Rekognition Endpoint',
|
|
name: 'rekognitionEndpoint',
|
|
description: 'If you use Amazon VPC to host n8n, you can establish a connection between your VPC and Rekognition using a VPC endpoint. Leave blank to use the default endpoint.',
|
|
type: 'string' as NodePropertyTypes,
|
|
displayOptions: {
|
|
show: {
|
|
customEndpoints: [
|
|
true,
|
|
],
|
|
},
|
|
},
|
|
default: '',
|
|
placeholder: 'https://rekognition.{region}.amazonaws.com',
|
|
},
|
|
{
|
|
displayName: 'Lambda Endpoint',
|
|
name: 'lambdaEndpoint',
|
|
description: 'If you use Amazon VPC to host n8n, you can establish a connection between your VPC and Lambda using a VPC endpoint. Leave blank to use the default endpoint.',
|
|
type: 'string' as NodePropertyTypes,
|
|
displayOptions: {
|
|
show: {
|
|
customEndpoints: [
|
|
true,
|
|
],
|
|
},
|
|
},
|
|
default: '',
|
|
placeholder: 'https://lambda.{region}.amazonaws.com',
|
|
},
|
|
{
|
|
displayName: 'SNS Endpoint',
|
|
name: 'snsEndpoint',
|
|
description: 'If you use Amazon VPC to host n8n, you can establish a connection between your VPC and SNS using a VPC endpoint. Leave blank to use the default endpoint.',
|
|
type: 'string' as NodePropertyTypes,
|
|
displayOptions: {
|
|
show: {
|
|
customEndpoints: [
|
|
true,
|
|
],
|
|
},
|
|
},
|
|
default: '',
|
|
placeholder: 'https://sns.{region}.amazonaws.com',
|
|
},
|
|
{
|
|
displayName: 'SES Endpoint',
|
|
name: 'sesEndpoint',
|
|
description: 'If you use Amazon VPC to host n8n, you can establish a connection between your VPC and SES using a VPC endpoint. Leave blank to use the default endpoint.',
|
|
type: 'string' as NodePropertyTypes,
|
|
displayOptions: {
|
|
show: {
|
|
customEndpoints: [
|
|
true,
|
|
],
|
|
},
|
|
},
|
|
default: '',
|
|
placeholder: 'https://email.{region}.amazonaws.com',
|
|
},
|
|
{
|
|
displayName: 'SQS Endpoint',
|
|
name: 'sqsEndpoint',
|
|
description: 'If you use Amazon VPC to host n8n, you can establish a connection between your VPC and SQS using a VPC endpoint. Leave blank to use the default endpoint.',
|
|
type: 'string' as NodePropertyTypes,
|
|
displayOptions: {
|
|
show: {
|
|
customEndpoints: [
|
|
true,
|
|
],
|
|
},
|
|
},
|
|
default: '',
|
|
placeholder: 'https://sqs.{region}.amazonaws.com',
|
|
},
|
|
{
|
|
displayName: 'S3 Endpoint',
|
|
name: 's3Endpoint',
|
|
description: 'If you use Amazon VPC to host n8n, you can establish a connection between your VPC and S3 using a VPC endpoint. Leave blank to use the default endpoint.',
|
|
type: 'string' as NodePropertyTypes,
|
|
displayOptions: {
|
|
show: {
|
|
customEndpoints: [
|
|
true,
|
|
],
|
|
},
|
|
},
|
|
default: '',
|
|
placeholder: 'https://s3.{region}.amazonaws.com',
|
|
},
|
|
];
|
|
}
|