ncloud_ncs_put_object
Upload text objects to Ncloud Storage buckets with configurable storage class, encryption, and object lock; dryRun preview available.
Instructions
[Ncloud Storage] Upload a text object to a Ncloud Storage bucket (PUT /{key}). Optional storage class (STANDARD (default): Standard Class | ONEZONE_IA: One Zone-IA (Infrequent Access) Class | DEEP_ARCHIVE: Archive Class), server-side encryption and Object Lock headers. Use dryRun=true to preview.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | Yes | Object key (path) to upload to, e.g. 'folder/file.txt' | |
| body | Yes | Content to upload as the object body | |
| dryRun | No | If true (default), returns a preview without actually uploading | |
| bucketName | Yes | Name of the Ncloud Storage bucket | |
| contentType | No | Content-Type of the object (e.g. 'text/plain', 'application/json') | |
| storageClass | No | x-amz-storage-class — STANDARD (default): Standard Class | ONEZONE_IA: One Zone-IA (Infrequent Access) Class | DEEP_ARCHIVE: Archive Class. Omit to use STANDARD | |
| objectLockMode | No | x-amz-object-lock-mode — GOVERNANCE | COMPLIANCE (bucket must have Object Lock enabled; give objectLockRetainUntilDate too) | |
| objectLockLegalHold | No | x-amz-object-lock-legal-hold — ON | OFF | |
| serverSideEncryption | No | x-amz-server-side-encryption — AES256 (SSE-S3) | aws:kms | |
| objectLockRetainUntilDate | No | x-amz-object-lock-retain-until-date, ISO 8601 (e.g. 2027-01-01T00:00:00Z) |