I want to create a file with a string on s3 using the aws command, i cannot find such a thing in aws cli documentation, has anyone came across such thing ?
I want to create a file with a string on s3 using the aws command, i cannot find such a thing in aws cli documentation, has anyone came across such thing ?
The aws s3 cp command can take input from stdin:
echo Hello | aws s3 cp - s3://my-bucket/foo.txt
It can also send content to stdout:
aws s3 cp s3://my-bucket/foo.txt -
See: