AmazonFSxServiceRolePolicy

Last Modified

Mar 12, 2026

March 12, 2026 at 09:27 PM UTC

Version

v8

Total Versions

13

Created

Jul 22, 2025

Actions

32

Risk

Medium

The same capabilities in a scoped form, resource policy writes, reads across all data, or full access to a whole service. Read from this policy document alone: trust policies, boundaries and SCPs in your account still decide what actually succeeds. How this is assessed

  • Medium

    Can rewrite resource policies and sharing

    Grants 1 permissions management action across 1 service (ec2) on any resource, enough to share resources outside the account.

    ec2:createnetworkinterfacepermission

    Use with caution: Turn on IAM Access Analyzer external access findings, and keep account-level guards like S3 Block Public Access enabled.

Policy Document

View on GitHub
{
  "PolicyVersion": {
    "Document": {
      "Version": "2012-10-17",
      "Statement": [
        {
          "Sid": "CreateFileSystem",
          "Effect": "Allow",
          "Action": [
            "ds:AuthorizeApplication",
            "ds:GetAuthorizedApplicationDetails",
            "ds:UnauthorizeApplication",
            "ec2:CreateNetworkInterface",
            "ec2:CreateNetworkInterfacePermission",
            "ec2:DeleteNetworkInterface",
            "ec2:DescribeAddresses",
            "ec2:DescribeDhcpOptions",
            "ec2:DescribeNetworkInterfaces",
            "ec2:DescribeRouteTables",
            "ec2:DescribeSecurityGroups",
            "ec2:DescribeSubnets",
            "ec2:DescribeVpcs",
            "ec2:DisassociateAddress",
            "ec2:GetSecurityGroupsForVpc",
            "route53:AssociateVPCWithHostedZone"
          ],
          "Resource": "*"
        },
        {
          "Sid": "PutMetrics",
          "Effect": "Allow",
          "Action": [
            "cloudwatch:PutMetricData"
          ],
          "Resource": [
            "*"
          ],
          "Condition": {
            "StringEquals": {
              "cloudwatch:namespace": "AWS/FSx"
            }
          }
        },
        {
          "Sid": "TagResourceNetworkInterface",
          "Effect": "Allow",
          "Action": [
            "ec2:CreateTags"
          ],
          "Resource": [
            "arn:aws:ec2:*:*:network-interface/*"
          ],
          "Condition": {
            "StringEquals": {
              "ec2:CreateAction": "CreateNetworkInterface"
            },
            "ForAllValues:StringEquals": {
              "aws:TagKeys": "AmazonFSx.FileSystemId"
            }
          }
        },
        {
          "Sid": "ManageNetworkInterface",
          "Effect": "Allow",
          "Action": [
            "ec2:AssignIpv6Addresses",
            "ec2:AssignPrivateIpAddresses",
            "ec2:ModifyNetworkInterfaceAttribute",
            "ec2:UnassignIpv6Addresses",
            "ec2:UnassignPrivateIpAddresses"
          ],
          "Resource": [
            "arn:aws:ec2:*:*:network-interface/*"
          ],
          "Condition": {
            "Null": {
              "aws:ResourceTag/AmazonFSx.FileSystemId": "false"
            }
          }
        },
        {
          "Sid": "ManageRouteTable",
          "Effect": "Allow",
          "Action": [
            "ec2:CreateRoute",
            "ec2:ReplaceRoute",
            "ec2:DeleteRoute"
          ],
          "Resource": [
            "arn:aws:ec2:*:*:route-table/*"
          ],
          "Condition": {
            "StringEquals": {
              "aws:ResourceTag/AmazonFSx": "ManagedByAmazonFSx"
            }
          }
        },
        {
          "Sid": "PutCloudWatchLogs",
          "Effect": "Allow",
          "Action": [
            "logs:DescribeLogGroups",
            "logs:DescribeLogStreams",
            "logs:PutLogEvents"
          ],
          "Resource": "arn:aws:logs:*:*:log-group:/aws/fsx/*"
        },
        {
          "Sid": "ManageAuditLogs",
          "Effect": "Allow",
          "Action": [
            "firehose:DescribeDeliveryStream",
            "firehose:PutRecord",
            "firehose:PutRecordBatch"
          ],
          "Resource": "arn:aws:firehose:*:*:deliverystream/aws-fsx-*"
        }
      ]
    },
    "VersionId": "v8",
    "IsDefaultVersion": true,
    "CreateDate": "2025-07-22T18:07:07+00:00"
  }
}

Version History (16 recorded)

Raw history

AmazonFSxServiceRolePolicy - Policy Version v8

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

Mar 12, 2026

98205d2

AmazonFSxServiceRolePolicy - Policy Version v8

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

Jul 22, 2025

d490d8a

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.

Jan 10, 2024

3d7445d

Update detected

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

Jul 26, 2023

f9c596f

Update detected

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

Aug 20, 2021

37c30dc

Update detected

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

Jun 7, 2021

8f3544c

Update detected

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

Nov 12, 2020

639270c

Update detected

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

Sep 16, 2019

49aa1d0

Update detected

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

Sep 16, 2019

71619cf

Update detected

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

Sep 16, 2019

8279033

`2019-08-29`

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

Aug 29, 2019

5016d52

I updated my CLI and it looks like it reordered everything and changed the white-space, so everything looks changed, but is not

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

Jul 12, 2019

9d2dff1

Update

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

Jun 18, 2019

fd169ac

First commit

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

Feb 10, 2019

ad4c2e8