Copy Cloud Object

network · A343 · starter-package 7.0.1

Copy a connected cloud object to a destination container and key.

What the block does

This block sends the request to the Provider endpoint you entered. Connect Provider credential only when the service requires sign-in. A matching output from an earlier block takes precedence over the corresponding setting.

Inputs

  • objectRef — Source cloud object: text; required; accepted output Cloud Object; default none.
  • destinationContainer — Destination container: text; required; maximum bytes 512; default none.
  • destinationKey — Destination key: text; required; maximum bytes 2048; default none.
  • providerEndpoint — Provider endpoint: text; validated URL text; required; maximum bytes 2048; default none.
  • providerCredential — Provider credential: text; accepted output Credential; default none.
  • providerTimeoutMs — Provider timeout: number; minimum 1000; maximum 300000; default 60000.

Connections from earlier blocks

  • objectRef (cloud.object): connect the output from A339 Upload to Cloud Storage or A343 Copy Cloud Object.
  • providerCredential (credential.secret): optional; connect the output from A321 Read Secret or A322 Write Secret or A324 Get Environment Secret.

Outputs

  • objectRef — Copied cloud object: text (cloud.object); checked before the workflow continues.
  • fire — Fire: true after successful execution.

Settings

A connected output from an earlier block takes precedence over the corresponding setting.

IDSettingControlDefaultBounds
destinationContainerDestination containertextnonerequired; maximum bytes 512
destinationKeyDestination keytextnonerequired; maximum bytes 2048
providerEndpointProvider endpointtextnonerequired; maximum bytes 2048
providerTimeoutMsProvider timeoutnumber60000minimum 1000; maximum 300000

Example workflow

Connect the source objectRef, supply the destination container in destinationContainer and the desired object name in destinationKey. Use the returned objectRef to address the copy in the same run.

Error handling

  • Invalid input stops before the request. Connection, timeout, cancellation, sign-in, provider, and response failures are reported separately.
  • If a connected output is expired or belongs to another workflow run, the message tells you which connection to replace. If a required setting is missing, the message names that setting.

Exact settings reference

These are the saved settings and defaults. If a value is connected to the matching input, that connected value is used.

IDSettingControlDefaultBounds/options
destinationContainerDestination containertextNot set—
destinationKeyDestination keytextNot set—
providerEndpointProvider endpointtextNot set—
providerTimeoutMsProvider timeoutnumber60000—