2019-10-04 13:01:25 -07:00
|
|
|
import {
|
|
|
|
ICredentialType,
|
|
|
|
NodePropertyTypes,
|
|
|
|
} from 'n8n-workflow';
|
|
|
|
|
|
|
|
|
|
|
|
export class Aws implements ICredentialType {
|
|
|
|
name = 'aws';
|
|
|
|
displayName = 'AWS';
|
2020-08-17 05:42:09 -07:00
|
|
|
documentationUrl = 'aws';
|
2019-10-04 13:01:25 -07:00
|
|
|
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,
|
|
|
|
},
|
|
|
|
},
|
|
|
|
];
|
|
|
|
}
|