AmazonWorkSpacesWebServiceRolePolicy

Last Modified

Mar 12, 2026

March 12, 2026 at 09:28 PM UTC

Version

v5

Total Versions

5

Created

Dec 15, 2022

Actions

17

Policy Document

View on GitHub
{
  "PolicyVersion": {
    "Document": {
      "Version": "2012-10-17",
      "Statement": [
        {
          "Effect": "Allow",
          "Action": [
            "ec2:DescribeVpcs",
            "ec2:DescribeSubnets",
            "ec2:DescribeAvailabilityZones",
            "ec2:DescribeNetworkInterfaces",
            "ec2:AssociateAddress",
            "ec2:DisassociateAddress",
            "ec2:DescribeRouteTables",
            "ec2:DescribeSecurityGroups",
            "ec2:DescribeVpcEndpoints"
          ],
          "Resource": "*"
        },
        {
          "Effect": "Allow",
          "Action": [
            "ec2:CreateNetworkInterface"
          ],
          "Resource": [
            "arn:aws:ec2:*:*:subnet/*",
            "arn:aws:ec2:*:*:security-group/*"
          ]
        },
        {
          "Effect": "Allow",
          "Action": [
            "ec2:CreateNetworkInterface"
          ],
          "Resource": "arn:aws:ec2:*:*:network-interface/*",
          "Condition": {
            "StringEquals": {
              "aws:RequestTag/WorkSpacesWebManaged": "true"
            }
          }
        },
        {
          "Effect": "Allow",
          "Action": [
            "ec2:CreateTags"
          ],
          "Resource": "arn:aws:ec2:*:*:network-interface/*",
          "Condition": {
            "StringEquals": {
              "ec2:CreateAction": "CreateNetworkInterface"
            },
            "ForAllValues:StringEquals": {
              "aws:TagKeys": [
                "WorkSpacesWebManaged"
              ]
            }
          }
        },
        {
          "Effect": "Allow",
          "Action": [
            "ec2:DeleteNetworkInterface"
          ],
          "Resource": "arn:aws:ec2:*:*:network-interface/*",
          "Condition": {
            "StringEquals": {
              "aws:ResourceTag/WorkSpacesWebManaged": "true"
            }
          }
        },
        {
          "Effect": "Allow",
          "Action": [
            "cloudwatch:PutMetricData"
          ],
          "Resource": "*",
          "Condition": {
            "StringEquals": {
              "cloudwatch:namespace": [
                "AWS/WorkSpacesWeb",
                "AWS/Usage"
              ]
            }
          }
        },
        {
          "Effect": "Allow",
          "Action": [
            "kinesis:PutRecord",
            "kinesis:PutRecords",
            "kinesis:DescribeStreamSummary"
          ],
          "Resource": "arn:aws:kinesis:*:*:stream/amazon-workspaces-web-*"
        }
      ]
    },
    "VersionId": "v5",
    "IsDefaultVersion": true,
    "CreateDate": "2022-12-15T22:46:33+00:00"
  }
}

Version History (8 recorded)

Raw history
v5updated

scope changed, no action added or removed

2f862ae

Update detected

No recorded action delta - this version predates the change index. View the raw diff.

Sep 18, 2024

aafbae9

Update detected

No recorded action delta - this version predates the change index. View the raw diff.

May 13, 2024

1b36617

Update detected

No recorded action delta - this version predates the change index. View the raw diff.

Dec 15, 2022

7cf4eee

Update detected

No recorded action delta - this version predates the change index. View the raw diff.

Oct 17, 2022

58287e0

Update detected

No recorded action delta - this version predates the change index. View the raw diff.

Sep 6, 2022

10a77dc

Update detected

No recorded action delta - this version predates the change index. View the raw diff.

Apr 5, 2022

c8dcc21

Update detected

No recorded action delta - this version predates the change index. View the raw diff.

Nov 30, 2021

c5a65ab