amazon dynamodb - Running AWS commands from commandline on a ShellCommandActivity -
my original problem want increase dynamodb write throughput before run pipeline, , decrease when i'm done uploading (doing max once day, i'm fine decreasing limitations).
they way found through shell script issue api commands alter throughput. how work ami access_key , secret_key when it's resource pipeline creates me? (i can't log in set ~/.aws/config
file , don't want create ami this).
should write script in bash? can use ruby/python aws sdk packages example? (i prefer latter..) how pass credentials script? have runtime variables (like @starteddate
) can pass arguments activity key , secret? have other way authenticate either commandline tools or sdk package?
if there way solve original problem - please let me know. i've got shellactivity
solution because couldn't find else in documentations/forums.
thanks!
ok. found - http://docs.aws.amazon.com/datapipeline/latest/developerguide/dp-concepts-roles.html
resourcerole
in default
object in pipeline 1 assigned resources (ec2resource) created part of pipeline activation.
default 1 in configured have permissions , aws commandline , sdk packages automatically looking credentials no need update ~/.aws/config of pass credentials manually.
Comments
Post a Comment