mirror of
https://github.com/n8n-io/n8n.git
synced 2024-11-16 01:24:05 -08:00
34 lines
592 B
TypeScript
34 lines
592 B
TypeScript
|
import {
|
||
|
ICredentialType,
|
||
|
NodePropertyTypes,
|
||
|
} from 'n8n-workflow';
|
||
|
|
||
|
|
||
|
export class Aws implements ICredentialType {
|
||
|
name = 'aws';
|
||
|
displayName = '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,
|
||
|
},
|
||
|
},
|
||
|
];
|
||
|
}
|