snapshot policy document

Im using snapshot and I want to us amazon S3 destination system. when I use this it is requiring me to set up a policy
I'm using this policy at this time
"Version": "2012-10-17",
"Statement": [
"Effect": "Allow",
"Action": [
"Resource": [

is this correct?

I got the code from here

do I use this or a diffrent code?