library
turbot/aws
Get Involved
Version
Pipeline: Get S3 Object Content
Gets the content of an S3 object.
Run the pipeline
To run this pipeline from your terminal:
flowpipe pipeline run aws.pipeline.get_s3_object_content \ --arg 'region=<string>' \ --arg 'bucket=<string>' \ --arg 'path_to_file=<string>'
Use this pipeline
To call this pipeline from your pipeline, use a step:
step "pipeline" "step_name" { pipeline = aws.pipeline.get_s3_object_content args = { region = <string> bucket = <string> path_to_file = <string> }}
Params
Name | Type | Required | Description | Default |
---|---|---|---|---|
region | string | Yes | The name of the Region. | - |
conn | connection.aws | Yes | Name of AWS connection to use. If not provided, the default AWS connection will be used. | connection.aws.default |
bucket | string | Yes | S3 bucket name. | - |
path_to_file | string | Yes | Path to S3 file. | - |
Outputs
Name | Description |
---|---|
content | Object content. |