Menu
AWS Identity and Access Management
User Guide

Actions, Resources, and Condition Keys for Amazon AppStream

Amazon AppStream (service prefix: appstream) provides the following service-specific resources, actions, and condition context keys for use in IAM permission policies.

References:

Actions Defined by Amazon AppStream

You can specify the following actions in the Action element of an IAM policy statement. By using policies, you define the permissions for anyone performing an operation in AWS. When you use an action in a policy, you usually allow or deny access to the API operation or CLI command with the same name. However, in some cases, a single action controls access to more than one operation. Alternatively, some operations require several different actions. For details about the columns in the following table, see The Actions Table.

Actions Description Access Level Resource Types (*required) Condition Keys Dependent Actions
AssociateFleet Associate a fleet to a stack.

Write

fleet*

stack*

CreateDirectoryConfig Creates a directory configuration with the given parameters.

Write

CreateFleet Creates a new fleet.

Write

fleet*

CreateImageBuilder Creates an image builder. The initial state of the builder is PENDING. When it is ready, the state is RUNNING.

Write

image-builder*

CreateImageBuilderStreamingURL Creates a URL to start an image builder streaming session.

Write

image-builder*

CreateStack Creates a new stack.

Write

stack*

CreateStreamingURL Creates a URL to start an AppStream 2.0 streaming session for a user.

Write

fleet*

stack*

DeleteDirectoryConfig Deletes the directory configuration with the given parameters.

Write

DeleteFleet Deletes a fleet.

Write

fleet*

DeleteImage Deletes the specified image. You cannot delete an image that is currently in use. After you delete an image, you cannot provision new capacity using the image.

Write

image*

DeleteImageBuilder Deletes the specified image builder and releases the capacity.

Write

image-builder*

DeleteStack Deletes the stack. After this operation completes, the environment can no longer be activated, and any reservations made for the stack are released.

Write

stack*

DescribeDirectoryConfigs Returns a list describing the specified directory configurations.

Read

DescribeFleets If fleet names are provided, this operation describes the specified fleets; otherwise, all the fleets in the account are described.

Read

fleet

DescribeImageBuilders Describes the specified image builders or all image builders in the account.

Read

image-builder

DescribeImages Describes the images. If a list of names is not provided, all images in your account are returned. This operation does not return a paginated result.

Read

image

DescribeSessions Describes the streaming sessions for a stack and a fleet. If a user ID is provided, this operation returns streaming sessions for only that user.

Read

DescribeStacks If stack names are not provided, this operation describes the specified stacks; otherwise, all stacks in the account are described.

Read

stack

DisassociateFleet Disassociates a fleet from a stack.

Write

fleet*

stack*

ExpireSession This operation immediately stops a streaming session.

Write

ListAssociatedFleets Lists all fleets associated with the stack.

Read

stack*

ListAssociatedStacks Lists all stacks to which the specified fleet is associated.

Read

fleet*

ListTagsForResource Returns a list of tags for a resource.

Read

StartFleet Starts a fleet.

Write

fleet*

StartImageBuilder Starts the specified image builder.

Write

image-builder*

StopFleet Stops a fleet.

Write

fleet*

StopImageBuilder Stops the specified image builder.

Write

image-builder*

Stream Stream applications from specified stack

Write

stack*

appstream:userId

TagResource Adds one or more tags to a specified resource.

Tagging

UntagResource Removes a tag or tags from a resource.

Tagging

UpdateDirectoryConfig Updates the directory configuration with the given parameters.

Write

UpdateFleet Updates an existing fleet. All the attributes except the fleet name can be updated in the STOPPED state.

Write

fleet*

UpdateStack Updates the specified fields in the stack with the specified name.

Write

stack*

Resources Defined by AppStream

The following resource types are defined by this service and can be used in the Resource element of IAM permission policy statements. Each action in the Actions table identifies the resource types that can be specified with that action. A resource type can also define which condition keys you can include in a policy. These keys are displayed in the last column of the table. For details about the columns in the following table, see The Resource Types Table.

Resource Types ARN Condition Keys
fleet arn:${Partition}:appstream:${Region}:${Account}:fleet/${FleetName}
image arn:${Partition}:appstream:${Region}:${Account}:image/${ImageName}
image-builder arn:${Partition}:appstream:${Region}:${Account}:image-builder/${ImageBuilderName}
stack arn:${Partition}:appstream:${Region}:${Account}:stack/${StackName}

Condition Keys for Amazon AppStream

Amazon AppStream defines the following condition keys that can be used in the Condition element of an IAM policy. You can use these keys to further refine the conditions under which the policy statement applies. For details about the columns in the following table, see The Condition Keys Table.

To view the global condition keys that are available to all services, see Available Global Condition Keys in the IAM Policy Reference.

Condition Keys Description Type
appstream:userId String