Copy
Certified
Copy an object within or between Huawei OBS buckets.
Copy
Certified
Copy an object within or between Huawei OBS buckets.
yaml
type: io.kestra.plugin.huawei.obs.tasks.CopyExamples
yaml
id: obs_copy
namespace: company.team
tasks:
- id: copy
type: io.kestra.plugin.huawei.obs.tasks.Copy
accessKeyId: "{{ secret('HUAWEI_AK') }}"
secretAccessKey: "{{ secret('HUAWEI_SK') }}"
region: "eu-west-101"
from:
bucket: "my-source-bucket"
key: "raw/2024/data.csv"
to:
bucket: "my-dest-bucket"
key: "processed/2024/data.csv"
yaml
id: obs_move
namespace: company.team
tasks:
- id: move
type: io.kestra.plugin.huawei.obs.tasks.Copy
accessKeyId: "{{ secret('HUAWEI_AK') }}"
secretAccessKey: "{{ secret('HUAWEI_SK') }}"
region: "eu-west-101"
from:
bucket: "my-bucket"
key: "inbox/file.csv"
to:
bucket: "my-bucket"
key: "archive/file.csv"
delete: true
Properties
from *RequiredNon-dynamic
Definitions
io.kestra.plugin.huawei.obs.tasks.Copy-CopyObjectFrom
bucket*Requiredstring
key*Requiredstring
versionIdstring
to *RequiredNon-dynamic
Definitions
io.kestra.plugin.huawei.obs.tasks.Copy-CopyObjectTo
bucket*Requiredstring
key*Requiredstring
accessKeyId string
authType string
Possible Values
OBSV2V4delete booleanstring
Default
falsedomainId string
endpointOverride string
endpointSuffix string
Default
myhuaweicloud.com