This is the new Amazon CloudFormation Template Reference Guide. Please update your bookmarks and links. For help getting started with CloudFormation, see the Amazon CloudFormation User Guide.
AWS::CloudExtensions::ProfileEntry Filesystem
Requests access to the host file system. The extension can read from or write to the specified paths.
Whether files persist depends on the compute environment where the extension runs. For example, in an Amazon Lambda function, files that the extension writes persist only for the lifetime of the execution environment of the function.
Syntax
To declare this entity in your Amazon CloudFormation template, use the following syntax:
JSON
{ "AccessMode" :String, "CreateMode" :String, "Directory" :String, "Paths" :[ String, ... ]}
YAML
AccessMode:StringCreateMode:StringDirectory:StringPaths:- String
Properties
AccessMode-
The level of file system access that the extension requests.
READ_ONLYmeans that the extension can read but not modify files.READ_WRITEmeans that the extension can both read and write files.Required: Yes
Type: String
Allowed values:
READ_ONLY | READ_WRITEUpdate requires: No interruption
CreateMode-
Controls the visibility of files that the extension creates. This value is required when
accessModeisREAD_WRITE.PRIVATEmeans that created files are visible only to the user in effect when the file is created.PUBLICmeans that created files are visible to any user on the host system.Required: No
Type: String
Allowed values:
PRIVATE | PUBLICUpdate requires: No interruption
Directory-
A base directory path. If you specify this value, the capability grants access to this directory and its contents.
Required: No
Type: String
Minimum:
0Maximum:
255Update requires: No interruption
Paths-
The specific file paths to grant access to. Use this member when the extension needs access to individual files instead of an entire directory. The list can have up to 10 paths.
Required: No
Type: Array of String
Minimum:
1Maximum:
255 | 10Update requires: No interruption