AWS managed policies for Amazon FSx - Amazon FSx for Windows File Server

AWS managed policies for Amazon FSx

To add permissions to users, groups, and roles, it is easier to use AWS managed policies than to write policies yourself. It takes time and expertise to create IAM customer managed policies that provide your team with only the permissions they need. To get started quickly, you can use our AWS managed policies. These policies cover common use cases and are available in your AWS account. For more information about AWS managed policies, see AWS managed policies in the IAM User Guide.

AWS services maintain and update AWS managed policies. You can't change the permissions in AWS managed policies. Services occasionally add additional permissions to an AWS managed policy to support new features. This type of update affects all identities (users, groups, and roles) where the policy is attached. Services are most likely to update an AWS managed policy when a new feature is launched or when new operations become available. Services do not remove permissions from an AWS managed policy, so policy updates won't break your existing permissions.

Additionally, AWS supports managed policies for job functions that span multiple services. For example, the ReadOnlyAccess AWS managed policy provides read-only access to all AWS services and resources. When a service launches a new feature, AWS adds read-only permissions for new operations and resources. For a list and descriptions of job function policies, see AWS managed policies for job functions in the IAM User Guide.

AWS managed policy: AmazonFSxServiceRolePolicy

You can't attach AmazonFSxServiceRolePolicy to your IAM entities. This policy is attached to a service-linked role that allows Amazon FSx to manage AWS resources on your behalf. For more information, see Using Service-Linked Roles for Amazon FSx.

This policy grants administrative permissions that allows Amazon FSx to manage AWS reources on the user's behalf.

Permissions details

This policy includes the following permissions.

  • cloudwatch – Allows Amazon FSx to publish metric data points to CloudWatch.

  • ds – Allows Amazon FSx to view, authorize, and unauthorize applications in your AWS Directory Service directory.

  • ec2 – Allows Amazon FSx to do the following:

    • View, create, and disassociate network interfaces associated with an Amazon FSx file system.

    • View one or more Elastic IP addresses associated with an Amazon FSx file system.

    • View Amazon VPCs, security groups, and subnets associated with an Amazon FSx file system.

    • Create a permission for an AWS-authorized user to perform certain operations on a network interface.

  • route53 – Allows Amazon FSx to associate an Amazon VPC with a private hosted zone.

  • logs – Allows Amazon FSx to describe and write to CloudWatch Logs log streams. This is so that users can send file access audit logs for an Amazon FSx for Windows File Server file system to a CloudWatch Logs stream.

  • firehose – Allows Amazon FSx to describe and write to Amazon Kinesis Data Firehose delivery streams. This is so that users can publish the file access audit logs for an Amazon FSx for Windows File Server file system to an Amazon Kinesis Data Firehose delivery stream.

{ "Version": "2012-10-17", "Statement": [ { "Version": "2012-10-17", "Statement": [ { "Effect": "Allow", "Action": [ "cloudwatch:PutMetricData", "ds:AuthorizeApplication", "ds:GetAuthorizedApplicationDetails", "ds:UnauthorizeApplication", "ec2:CreateNetworkInterface", "ec2:CreateNetworkInterfacePermission", "ec2:DeleteNetworkInterface", "ec2:DescribeAddresses", "ec2:DescribeNetworkInterfaces", "ec2:DescribeSecurityGroups", "ec2:DescribeSubnets", "ec2:DescribeVpcs", "ec2:DisassociateAddress", "route53:AssociateVPCWithHostedZone" ], "Resource": "*" }, { "Effect": "Allow", "Action": [ "logs:DescribeLogGroups", "logs:DescribeLogStreams", "logs:PutLogEvents" ], "Resource": "arn:aws:logs:*:*:log-group:/aws/fsx/*" }, { "Effect": "Allow", "Action": [ "firehose:DescribeDeliveryStream", "firehose:PutRecord", "firehose:PutRecordBatch" ], "Resource": "arn:aws:firehose:*:*:deliverystream/aws-fsx-*" } ] }

AWS managed policy: AmazonFSxFullAccess

You can attach AmazonFSxFullAccess to your IAM entities. Amazon FSx also attaches this policy to a service role that allows Amazon FSx to perform actions on your behalf.

Provides full access to Amazon FSx and access to related AWS services.

Permissions details

This policy includes the following permissions.

  • fsx – Allows principals full access to perform all Amazon FSx actions.

  • ds – Allows principals to view information about the AWS Directory Service directories.

  • iam – Allows principles to create an Amazon FSx service linked role on the user's behalf. This is required so that Amazon FSx can manage AWSresources on the user's behalf.

  • logs – Allows principals to create log groups, log streams, and write events to log streams. This is required so that users can monitor Amazon FSx for Windows File Server file system access by sending audit access logs to CloudWatch Logs.

  • firehose – Allows principals to write records to a Amazon Kinesis Data Firehose. This is required so that users can monitor Amazon FSx for Windows File Server file system access by sending audit access logs to Kinesis Data Firehose.

{ "Version": "2012-10-17", "Statement": [ { "Effect": "Allow", "Action": [ "ds:DescribeDirectories", "fsx:*" ], "Resource": "*" }, { "Effect": "Allow", "Action": "iam:CreateServiceLinkedRole", "Resource": "*", "Condition": { "StringEquals": { "iam:AWSServiceName": [ "fsx.amazonaws.com" ] } } }, { "Effect": "Allow", "Action": "iam:CreateServiceLinkedRole", "Resource": "*", "Condition": { "StringEquals": { "iam:AWSServiceName": [ "s3.data-source.lustre.fsx.amazonaws.com" ] } } }, { "Effect": "Allow", "Action": [ "logs:CreateLogGroup", "logs:CreateLogStream", "logs:PutLogEvents" ], "Resource": [ "arn:aws:logs:*:*:log-group:/aws/fsx/*:log-group:*" ] }, { "Effect": "Allow", "Action": [ "firehose:PutRecord" ], "Resource": [ "arn:aws:firehose:*:*:deliverystream/aws-fsx-*" ] } ] }

AWS managed policy: AmazonFSxConsoleFullAccess

You can attach the AmazonFSxConsoleFullAccess policy to your IAM identities.

This policy grants administrative permissions that allow full access to Amazon FSx and access to related AWS services via the AWS Management Console.

Permissions details

This policy includes the following permissions.

  • fsx – Allows principals to perform all actions in the Amazon FSx management console.

  • cloudwatch – Allows principals to view CloudWatch Alarms in the Amazon FSx management console.

  • ds – Allows principals to list information about an AWS Directory Service directory.

  • ec2 – Allows principals to list network interfaces, security groups, subnets and the VPC associated with an Amazon FSx file system.

  • kms – Allows principals to list aliases for AWS Key Management Service keys.

  • s3 – Allows principals to list some or all of the objects in an Amazon S3 bucket (up to 1000).

  • iam – Grants permission to create a service linked role that allows Amazon FSx to perform actions on the user's behalf.

{ "Version": "2012-10-17", "Statement": [ { "Effect": "Allow", "Action": [ "cloudwatch:DescribeAlarms", "ds:DescribeDirectories", "ec2:DescribeNetworkInterfaceAttribute", "ec2:DescribeSecurityGroups", "ec2:DescribeSubnets", "ec2:DescribeVpcs", "firehose:ListDeliveryStreams", "fsx:*", "kms:ListAliases", "logs:DescribeLogGroups", "s3:ListBucket" ], "Resource": "*" }, { "Effect": "Allow", "Action": "iam:CreateServiceLinkedRole", "Resource": "*", "Condition": { "StringEquals": { "iam:AWSServiceName": [ "fsx.amazonaws.com" ] } } }, { "Effect": "Allow", "Action": "iam:CreateServiceLinkedRole", "Resource": "*", "Condition": { "StringEquals": { "iam:AWSServiceName": [ "s3.data-source.lustre.fsx.amazonaws.com" ] } } } ] }

AWS managed policy: AmazonFSxConsoleReadOnlyAccess

You can attach the AmazonFSxConsoleReadOnlyAccess policy to your IAM identities.

This policy grants read-only permissions to Amazon FSx and related AWS services so that users can view information about these services in the AWS Management Console.

Permissions details

This policy includes the following permissions.

  • fsx – Allows principals to view information about Amazon FSx file systems, including all tags, in the Amazon FSx Management Console.

  • cloudwatch – Allows principals to view CloudWatch Alarms in the Amazon FSx Management Console.

  • ds – Allows principals to view information about an AWS Directory Service directory in the Amazon FSx Management Console.

  • ec2 – Allows principals to view network interfaces, security groups, subnets and the VPC associated with an Amazon FSx file system in the Amazon FSx Management Console.

  • kms – Allows principals to view aliases for AWS Key Management Service keys in the Amazon FSx Management Console.

  • log – Allows principals to describe the Amazon CloudWatch Logs log groups associated with the account making the request. This is required so that principals can view the existing file access auditing configuration for an Amazon FSx for Windows File Server file system.

  • firehose – Allows principals to describe the Amazon Kinesis Data Firehose delivery streams associated with the account making the request. This is required so that principals can view the existing file access auditing configuration for an Amazon FSx for Windows File Server file system.

{ "Version": "2012-10-17", "Statement": [ { "Effect": "Allow", "Action": [ "cloudwatch:DescribeAlarms", "ds:DescribeDirectories", "ec2:DescribeNetworkInterfaceAttribute", "ec2:DescribeSecurityGroups", "ec2:DescribeSubnets", "ec2:DescribeVpcs", "firehose:ListDeliveryStreams", "fsx:Describe*", "fsx:ListTagsForResource", "kms:DescribeKey", "logs:DescribeLogGroups" ], "Resource": "*" } ] }

Amazon FSx updates to AWS managed policies

View details about updates to AWS managed policies for Amazon FSx since this service began tracking these changes. For automatic alerts about changes to this page, subscribe to the RSS feed on the Amazon FSx Document History page.

Change Description Date

AmazonFSxServiceRolePolicy – Update to an existing policy

Amazon FSx added new permissions to allow Amazon FSx to describe and write to CloudWatch Logs log streams.

This is required so that users can view file access audit logs for Amazon FSx for Windows File Server file systems using CloudWatch Logs.

June 8, 2021

AmazonFSxServiceRolePolicy – Update to an existing policy

Amazon FSx added new permissions to allow Amazon FSx to describe and write to Amazon Kinesis Data Firehose delivery streams.

This is required so that users can view file access audit logs for an Amazon FSx for Windows File Server file system using Amazon Kinesis Data Firehose.

June 8, 2021

AmazonFSxFullAccess – Update to an existing policy

Amazon FSx added new permissions to allow principals to describe and create CloudWatch Logs log groups, log streams, and write events to log streams.

This is required so that principals can view file access audit logs for Amazon FSx for Windows File Server file systems using CloudWatch Logs.

June 8, 2021

AmazonFSxFullAccess – Update to an existing policy

Amazon FSx added new permissions to allow principals to describe and write records to a Amazon Kinesis Data Firehose.

This is required so that users can view file access audit logs for an Amazon FSx for Windows File Server file system using Amazon Kinesis Data Firehose.

June 8, 2021

AmazonFSxConsoleFullAccess – Update to an existing policy

Amazon FSx added new permissions to allow principals to describe the Amazon CloudWatch Logs log groups associated with the account making the request.

This is required so that principals can choose an existing CloudWatch Logs log group when configuring file access auditing for an Amazon FSx for Windows File Server file system.

June 8, 2021

AmazonFSxConsoleFullAccess – Update to an existing policy

Amazon FSx added new permissions to allow principals to describe the Amazon Kinesis Data Firehose delivery streams associated with the account making the request.

This is required so that principals can choose an existing Kinesis Data Firehose delivery stream when configuring file access auditing for an Amazon FSx for Windows File Server file system.

June 8, 2021

AmazonFSxConsoleReadOnlyAccess – Update to an existing policy

Amazon FSx added new permissions to allow principals to describe the Amazon CloudWatch Logs log groups associated with the account making the request.

This is required so that principals can view the existing file access auditing configuration for an Amazon FSx for Windows File Server file system.

June 8, 2021

AmazonFSxConsoleReadOnlyAccess – Update to an existing policy

Amazon FSx added new permissions to allow principals to describe the Amazon Kinesis Data Firehose delivery streams associated with the account making the request.

This is required so that principals can view the existing file access auditing configuration for an Amazon FSx for Windows File Server file system.

June 8, 2021

Amazon FSx started tracking changes

Amazon FSx started tracking changes for its AWS managed policies.

June 8, 2021