What permission is needed to end an Appstream 2.0 session?

0

What is the minimum permission needed to end an appstream session? To run the command below:

aws appstream expire-session --session-id xyz-123-abc

I looked at the article below but it's not clear to me:

https://docs.aws.amazon.com/appstream2/latest/developerguide/managed-policies-required-to-access-appstream-resources.html

1 Answer
0
Accepted Answer

Hi

You need appstream:ExpireSession: https://docs.aws.amazon.com/appstream2/latest/APIReference/API_ExpireSession.html

You can use the IAM policy editor to find out.

Here is the JSON

{
	"Version": "2012-10-17",
	"Statement": [
		{
			"Sid": "ExpireSession",
			"Effect": "Allow",
			"Action": "appstream:ExpireSession",
			"Resource": "<...>"
		}
	]
}

IAM Policy Editor

profile pictureAWS
EXPERT
answered 6 months ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions