Example of trust relationship for AWS
Following is the example of a trust relationship for making the service vmie.amazonaws.com assume the role that is associated with the policy.
{
"Version": "2012-10-177",
"Statement": [
{
"Effect": "Allow",
"Principal": {
"Service": "vmie.amazonaws.com"
},
"Action": "sts:AssumeRole"
}
]
}