AWS::S3Files::FileSystemPolicy - AWS CloudFormation
Services or capabilities described in AWS documentation might vary by Region. To see the differences applicable to the AWS European Sovereign Cloud Region, see the AWS European Sovereign Cloud User Guide.

This is the new CloudFormation Template Reference Guide. Please update your bookmarks and links. For help getting started with CloudFormation, see the AWS CloudFormation User Guide.

AWS::S3Files::FileSystemPolicy

The AWS::S3Files::FileSystemPolicy resource specifies a resource-based policy for an Amazon S3 Files file system. Use this resource to control access permissions for the file system.

Syntax

To declare this entity in your CloudFormation template, use the following syntax:

JSON

{ "Type" : "AWS::S3Files::FileSystemPolicy", "Properties" : { "FileSystemId" : String, "Policy" : Json } }

YAML

Type: AWS::S3Files::FileSystemPolicy Properties: FileSystemId: String Policy: Json

Properties

FileSystemId

The ID of the S3 Files file system to which the policy applies.

Required: Yes

Type: String

Pattern: ^(arn:aws[-a-z]*:s3files:[0-9a-z-:]+:file-system/fs-[0-9a-f]{17,40}|fs-[0-9a-f]{17,40})$

Maximum: 128

Update requires: Replacement

Policy

The JSON formatted resource-based policy for the file system.

Required: Yes

Type: Json

Update requires: No interruption

Return values

Ref

When you pass the logical ID of this resource to the intrinsic Ref function, Ref returns the file system ID.

For more information about using the Ref function, see Ref.