You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Class: Aws::WorkSpaces::Types::UpdateWorkspaceImagePermissionRequest

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing UpdateWorkspaceImagePermissionRequest as input to an Aws::Client method, you can use a vanilla Hash:

{
  image_id: "WorkspaceImageId", # required
  allow_copy_image: false, # required
  shared_account_id: "AwsAccount", # required
}

Instance Attribute Summary collapse

Instance Attribute Details

#allow_copy_imageBoolean

The permission to copy the image. This permission can be revoked only after an image has been shared.

Returns:

  • (Boolean)

    The permission to copy the image.

#image_idString

The identifier of the image.

Returns:

  • (String)

    The identifier of the image.

#shared_account_idString

The identifier of the AWS account to share or unshare the image with.

Before sharing the image, confirm that you are sharing to the correct AWS account ID.

Returns:

  • (String)

    The identifier of the AWS account to share or unshare the image with.