UNPKG

n8n-nodes-base

Version:

Base nodes of n8n

47 lines (43 loc) 1.26 kB
/** * AWS S3 Node - Version 1 * Discriminator: resource=folder, operation=create */ interface Credentials { aws: CredentialReference; } /** Create a bucket */ export type AwsS3V1FolderCreateParams = { resource: 'folder'; operation: 'create'; /** * Bucket Name */ bucketName?: string | Expression<string> | PlaceholderValue; /** * Folder Name */ folderName?: string | Expression<string> | PlaceholderValue; /** * Additional Fields * @default {} */ additionalFields?: { /** Parent folder you want to create the folder in */ parentFolderKey?: string | Expression<string> | PlaceholderValue; /** Whether the requester will pay for requests and data transfer. While Requester Pays is enabled, anonymous access to this bucket is disabled. * @default false */ requesterPays?: boolean | Expression<boolean>; /** Amazon S3 storage classes * @default standard */ storageClass?: 'deepArchive' | 'glacier' | 'intelligentTiering' | 'onezoneIA' | 'RecudedRedundancy' | 'standard' | 'standardIA' | Expression<string>; }; }; export type AwsS3V1FolderCreateNode = { type: 'n8n-nodes-base.awsS3'; version: 1; credentials?: Credentials; config: NodeConfig<AwsS3V1FolderCreateParams>; };