Update sts_assume_role.py for showing the correct example syntax role_session_name instead of session_name

Update sts_assume_role.py for showing the correct example syntax role_session_name instead of session_name. session_name is not a valid property.
This commit is contained in:
RajeevNambiar 2016-01-16 09:13:18 -05:00 committed by Matt Clay
parent bf5fbfe2a7
commit 77ca6641cb

View file

@ -67,7 +67,7 @@ EXAMPLES = '''
# Assume an existing role (more details: http://docs.aws.amazon.com/STS/latest/APIReference/API_AssumeRole.html) # Assume an existing role (more details: http://docs.aws.amazon.com/STS/latest/APIReference/API_AssumeRole.html)
sts_assume_role: sts_assume_role:
role_arn: "arn:aws:iam::123456789012:role/someRole" role_arn: "arn:aws:iam::123456789012:role/someRole"
session_name: "someRoleSession" role_session_name: "someRoleSession"
register: assumed_role register: assumed_role
# Use the assumed role above to tag an instance in account 123456789012 # Use the assumed role above to tag an instance in account 123456789012