/** * S3 Node - Version 1 * Discriminator: resource=bucket, operation=create */ interface Credentials { s3: CredentialReference; } /** Create a bucket */ export type S3V1BucketCreateParams = { resource: 'bucket'; operation: 'create'; /** * A succinct description of the nature, symptoms, cause, or effect of the bucket */ name?: string | Expression | PlaceholderValue; /** * Additional Fields * @default {} */ additionalFields?: { /** The canned ACL to apply to the bucket */ acl?: 'authenticatedRead' | 'Private' | 'publicRead' | 'publicReadWrite' | Expression; /** Whether you want S3 Object Lock to be enabled for the new bucket * @default false */ bucketObjectLockEnabled?: boolean | Expression; /** Whether to allow grantee the read, write, read ACP, and write ACP permissions on the bucket * @default false */ grantFullControl?: boolean | Expression; /** Whether to allow grantee to list the objects in the bucket * @default false */ grantRead?: boolean | Expression; /** Whether to allow grantee to read the bucket ACL * @default false */ grantReadAcp?: boolean | Expression; /** Whether to allow grantee to create, overwrite, and delete any object in the bucket * @default false */ grantWrite?: boolean | Expression; /** Whether to allow grantee to write the ACL for the applicable bucket * @default false */ grantWriteAcp?: boolean | Expression; /** Region you want to create the bucket in, by default the buckets are created on the region defined on the credentials */ region?: string | Expression | PlaceholderValue; }; }; export type S3V1BucketCreateOutput = { success?: boolean; }; export type S3V1BucketCreateNode = { type: 'n8n-nodes-base.s3'; version: 1; credentials?: Credentials; config: NodeConfig; output?: Items; };