We recommend new projects start with resources from the AWS provider.
aws-native.transfer.User
Explore with Pulumi AI
We recommend new projects start with resources from the AWS provider.
Definition of AWS::Transfer::User Resource Type
Create User Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new User(name: string, args: UserArgs, opts?: CustomResourceOptions);
@overload
def User(resource_name: str,
args: UserArgs,
opts: Optional[ResourceOptions] = None)
@overload
def User(resource_name: str,
opts: Optional[ResourceOptions] = None,
role: Optional[str] = None,
server_id: Optional[str] = None,
home_directory: Optional[str] = None,
home_directory_mappings: Optional[Sequence[UserHomeDirectoryMapEntryArgs]] = None,
home_directory_type: Optional[UserHomeDirectoryType] = None,
policy: Optional[str] = None,
posix_profile: Optional[UserPosixProfileArgs] = None,
ssh_public_keys: Optional[Sequence[str]] = None,
tags: Optional[Sequence[_root_inputs.TagArgs]] = None,
user_name: Optional[str] = None)
func NewUser(ctx *Context, name string, args UserArgs, opts ...ResourceOption) (*User, error)
public User(string name, UserArgs args, CustomResourceOptions? opts = null)
type: aws-native:transfer:User
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args UserArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args UserArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args UserArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args UserArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args UserArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
User Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The User resource accepts the following input properties:
- Role string
- The Amazon Resource Name (ARN) of the AWS Identity and Access Management (IAM) role that controls your users' access to your Amazon S3 bucket or Amazon EFS file system. The policies attached to this role determine the level of access that you want to provide your users when transferring files into and out of your Amazon S3 bucket or Amazon EFS file system. The IAM role should also contain a trust relationship that allows the server to access your resources when servicing your users' transfer requests.
- Server
Id string - A system-assigned unique identifier for a server instance. This is the specific server that you added your user to.
- Home
Directory string The landing directory (folder) for a user when they log in to the server using the client.
A
HomeDirectory
example is/bucket_name/home/mydirectory
.The
HomeDirectory
parameter is only used ifHomeDirectoryType
is set toPATH
.- Home
Directory List<Pulumi.Mappings Aws Native. Transfer. Inputs. User Home Directory Map Entry> Logical directory mappings that specify what Amazon S3 or Amazon EFS paths and keys should be visible to your user and how you want to make them visible. You must specify the
Entry
andTarget
pair, whereEntry
shows how the path is made visible andTarget
is the actual Amazon S3 or Amazon EFS path. If you only specify a target, it is displayed as is. You also must ensure that your AWS Identity and Access Management (IAM) role provides access to paths inTarget
. This value can be set only whenHomeDirectoryType
is set to LOGICAL .The following is an
Entry
andTarget
pair example.[ { "Entry": "/directory1", "Target": "/bucket_name/home/mydirectory" } ]
In most cases, you can use this value instead of the session policy to lock your user down to the designated home directory ("
chroot
"). To do this, you can setEntry
to/
and setTarget
to the value the user should see for their home directory when they log in.The following is an
Entry
andTarget
pair example forchroot
.[ { "Entry": "/", "Target": "/bucket_name/home/mydirectory" } ]
- Home
Directory Pulumi.Type Aws Native. Transfer. User Home Directory Type The type of landing directory (folder) that you want your users' home directory to be when they log in to the server. If you set it to
PATH
, the user will see the absolute Amazon S3 bucket or Amazon EFS path as is in their file transfer protocol clients. If you set it toLOGICAL
, you need to provide mappings in theHomeDirectoryMappings
for how you want to make Amazon S3 or Amazon EFS paths visible to your users.If
HomeDirectoryType
isLOGICAL
, you must provide mappings, using theHomeDirectoryMappings
parameter. If, on the other hand,HomeDirectoryType
isPATH
, you provide an absolute path using theHomeDirectory
parameter. You cannot have bothHomeDirectory
andHomeDirectoryMappings
in your template.- Policy string
A session policy for your user so you can use the same IAM role across multiple users. This policy restricts user access to portions of their Amazon S3 bucket. Variables that you can use inside this policy include
${Transfer:UserName}
,${Transfer:HomeDirectory}
, and${Transfer:HomeBucket}
.For session policies, AWS Transfer Family stores the policy as a JSON blob, instead of the Amazon Resource Name (ARN) of the policy. You save the policy as a JSON blob and pass it in the
Policy
argument.For an example of a session policy, see Example session policy .
For more information, see AssumeRole in the AWS Security Token Service API Reference .
- Posix
Profile Pulumi.Aws Native. Transfer. Inputs. User Posix Profile - Specifies the full POSIX identity, including user ID (
Uid
), group ID (Gid
), and any secondary groups IDs (SecondaryGids
), that controls your users' access to your Amazon Elastic File System (Amazon EFS) file systems. The POSIX permissions that are set on files and directories in your file system determine the level of access your users get when transferring files into and out of your Amazon EFS file systems. - Ssh
Public List<string>Keys - This represents the SSH User Public Keys for CloudFormation resource
- List<Pulumi.
Aws Native. Inputs. Tag> - Key-value pairs that can be used to group and search for users. Tags are metadata attached to users for any purpose.
- User
Name string - A unique string that identifies a user and is associated with a
ServerId
. This user name must be a minimum of 3 and a maximum of 100 characters long. The following are valid characters: a-z, A-Z, 0-9, underscore '_', hyphen '-', period '.', and at sign '@'. The user name can't start with a hyphen, period, or at sign.
- Role string
- The Amazon Resource Name (ARN) of the AWS Identity and Access Management (IAM) role that controls your users' access to your Amazon S3 bucket or Amazon EFS file system. The policies attached to this role determine the level of access that you want to provide your users when transferring files into and out of your Amazon S3 bucket or Amazon EFS file system. The IAM role should also contain a trust relationship that allows the server to access your resources when servicing your users' transfer requests.
- Server
Id string - A system-assigned unique identifier for a server instance. This is the specific server that you added your user to.
- Home
Directory string The landing directory (folder) for a user when they log in to the server using the client.
A
HomeDirectory
example is/bucket_name/home/mydirectory
.The
HomeDirectory
parameter is only used ifHomeDirectoryType
is set toPATH
.- Home
Directory []UserMappings Home Directory Map Entry Args Logical directory mappings that specify what Amazon S3 or Amazon EFS paths and keys should be visible to your user and how you want to make them visible. You must specify the
Entry
andTarget
pair, whereEntry
shows how the path is made visible andTarget
is the actual Amazon S3 or Amazon EFS path. If you only specify a target, it is displayed as is. You also must ensure that your AWS Identity and Access Management (IAM) role provides access to paths inTarget
. This value can be set only whenHomeDirectoryType
is set to LOGICAL .The following is an
Entry
andTarget
pair example.[ { "Entry": "/directory1", "Target": "/bucket_name/home/mydirectory" } ]
In most cases, you can use this value instead of the session policy to lock your user down to the designated home directory ("
chroot
"). To do this, you can setEntry
to/
and setTarget
to the value the user should see for their home directory when they log in.The following is an
Entry
andTarget
pair example forchroot
.[ { "Entry": "/", "Target": "/bucket_name/home/mydirectory" } ]
- Home
Directory UserType Home Directory Type The type of landing directory (folder) that you want your users' home directory to be when they log in to the server. If you set it to
PATH
, the user will see the absolute Amazon S3 bucket or Amazon EFS path as is in their file transfer protocol clients. If you set it toLOGICAL
, you need to provide mappings in theHomeDirectoryMappings
for how you want to make Amazon S3 or Amazon EFS paths visible to your users.If
HomeDirectoryType
isLOGICAL
, you must provide mappings, using theHomeDirectoryMappings
parameter. If, on the other hand,HomeDirectoryType
isPATH
, you provide an absolute path using theHomeDirectory
parameter. You cannot have bothHomeDirectory
andHomeDirectoryMappings
in your template.- Policy string
A session policy for your user so you can use the same IAM role across multiple users. This policy restricts user access to portions of their Amazon S3 bucket. Variables that you can use inside this policy include
${Transfer:UserName}
,${Transfer:HomeDirectory}
, and${Transfer:HomeBucket}
.For session policies, AWS Transfer Family stores the policy as a JSON blob, instead of the Amazon Resource Name (ARN) of the policy. You save the policy as a JSON blob and pass it in the
Policy
argument.For an example of a session policy, see Example session policy .
For more information, see AssumeRole in the AWS Security Token Service API Reference .
- Posix
Profile UserPosix Profile Args - Specifies the full POSIX identity, including user ID (
Uid
), group ID (Gid
), and any secondary groups IDs (SecondaryGids
), that controls your users' access to your Amazon Elastic File System (Amazon EFS) file systems. The POSIX permissions that are set on files and directories in your file system determine the level of access your users get when transferring files into and out of your Amazon EFS file systems. - Ssh
Public []stringKeys - This represents the SSH User Public Keys for CloudFormation resource
- Tag
Args - Key-value pairs that can be used to group and search for users. Tags are metadata attached to users for any purpose.
- User
Name string - A unique string that identifies a user and is associated with a
ServerId
. This user name must be a minimum of 3 and a maximum of 100 characters long. The following are valid characters: a-z, A-Z, 0-9, underscore '_', hyphen '-', period '.', and at sign '@'. The user name can't start with a hyphen, period, or at sign.
- role String
- The Amazon Resource Name (ARN) of the AWS Identity and Access Management (IAM) role that controls your users' access to your Amazon S3 bucket or Amazon EFS file system. The policies attached to this role determine the level of access that you want to provide your users when transferring files into and out of your Amazon S3 bucket or Amazon EFS file system. The IAM role should also contain a trust relationship that allows the server to access your resources when servicing your users' transfer requests.
- server
Id String - A system-assigned unique identifier for a server instance. This is the specific server that you added your user to.
- home
Directory String The landing directory (folder) for a user when they log in to the server using the client.
A
HomeDirectory
example is/bucket_name/home/mydirectory
.The
HomeDirectory
parameter is only used ifHomeDirectoryType
is set toPATH
.- home
Directory List<UserMappings Home Directory Map Entry> Logical directory mappings that specify what Amazon S3 or Amazon EFS paths and keys should be visible to your user and how you want to make them visible. You must specify the
Entry
andTarget
pair, whereEntry
shows how the path is made visible andTarget
is the actual Amazon S3 or Amazon EFS path. If you only specify a target, it is displayed as is. You also must ensure that your AWS Identity and Access Management (IAM) role provides access to paths inTarget
. This value can be set only whenHomeDirectoryType
is set to LOGICAL .The following is an
Entry
andTarget
pair example.[ { "Entry": "/directory1", "Target": "/bucket_name/home/mydirectory" } ]
In most cases, you can use this value instead of the session policy to lock your user down to the designated home directory ("
chroot
"). To do this, you can setEntry
to/
and setTarget
to the value the user should see for their home directory when they log in.The following is an
Entry
andTarget
pair example forchroot
.[ { "Entry": "/", "Target": "/bucket_name/home/mydirectory" } ]
- home
Directory UserType Home Directory Type The type of landing directory (folder) that you want your users' home directory to be when they log in to the server. If you set it to
PATH
, the user will see the absolute Amazon S3 bucket or Amazon EFS path as is in their file transfer protocol clients. If you set it toLOGICAL
, you need to provide mappings in theHomeDirectoryMappings
for how you want to make Amazon S3 or Amazon EFS paths visible to your users.If
HomeDirectoryType
isLOGICAL
, you must provide mappings, using theHomeDirectoryMappings
parameter. If, on the other hand,HomeDirectoryType
isPATH
, you provide an absolute path using theHomeDirectory
parameter. You cannot have bothHomeDirectory
andHomeDirectoryMappings
in your template.- policy String
A session policy for your user so you can use the same IAM role across multiple users. This policy restricts user access to portions of their Amazon S3 bucket. Variables that you can use inside this policy include
${Transfer:UserName}
,${Transfer:HomeDirectory}
, and${Transfer:HomeBucket}
.For session policies, AWS Transfer Family stores the policy as a JSON blob, instead of the Amazon Resource Name (ARN) of the policy. You save the policy as a JSON blob and pass it in the
Policy
argument.For an example of a session policy, see Example session policy .
For more information, see AssumeRole in the AWS Security Token Service API Reference .
- posix
Profile UserPosix Profile - Specifies the full POSIX identity, including user ID (
Uid
), group ID (Gid
), and any secondary groups IDs (SecondaryGids
), that controls your users' access to your Amazon Elastic File System (Amazon EFS) file systems. The POSIX permissions that are set on files and directories in your file system determine the level of access your users get when transferring files into and out of your Amazon EFS file systems. - ssh
Public List<String>Keys - This represents the SSH User Public Keys for CloudFormation resource
- List<Tag>
- Key-value pairs that can be used to group and search for users. Tags are metadata attached to users for any purpose.
- user
Name String - A unique string that identifies a user and is associated with a
ServerId
. This user name must be a minimum of 3 and a maximum of 100 characters long. The following are valid characters: a-z, A-Z, 0-9, underscore '_', hyphen '-', period '.', and at sign '@'. The user name can't start with a hyphen, period, or at sign.
- role string
- The Amazon Resource Name (ARN) of the AWS Identity and Access Management (IAM) role that controls your users' access to your Amazon S3 bucket or Amazon EFS file system. The policies attached to this role determine the level of access that you want to provide your users when transferring files into and out of your Amazon S3 bucket or Amazon EFS file system. The IAM role should also contain a trust relationship that allows the server to access your resources when servicing your users' transfer requests.
- server
Id string - A system-assigned unique identifier for a server instance. This is the specific server that you added your user to.
- home
Directory string The landing directory (folder) for a user when they log in to the server using the client.
A
HomeDirectory
example is/bucket_name/home/mydirectory
.The
HomeDirectory
parameter is only used ifHomeDirectoryType
is set toPATH
.- home
Directory UserMappings Home Directory Map Entry[] Logical directory mappings that specify what Amazon S3 or Amazon EFS paths and keys should be visible to your user and how you want to make them visible. You must specify the
Entry
andTarget
pair, whereEntry
shows how the path is made visible andTarget
is the actual Amazon S3 or Amazon EFS path. If you only specify a target, it is displayed as is. You also must ensure that your AWS Identity and Access Management (IAM) role provides access to paths inTarget
. This value can be set only whenHomeDirectoryType
is set to LOGICAL .The following is an
Entry
andTarget
pair example.[ { "Entry": "/directory1", "Target": "/bucket_name/home/mydirectory" } ]
In most cases, you can use this value instead of the session policy to lock your user down to the designated home directory ("
chroot
"). To do this, you can setEntry
to/
and setTarget
to the value the user should see for their home directory when they log in.The following is an
Entry
andTarget
pair example forchroot
.[ { "Entry": "/", "Target": "/bucket_name/home/mydirectory" } ]
- home
Directory UserType Home Directory Type The type of landing directory (folder) that you want your users' home directory to be when they log in to the server. If you set it to
PATH
, the user will see the absolute Amazon S3 bucket or Amazon EFS path as is in their file transfer protocol clients. If you set it toLOGICAL
, you need to provide mappings in theHomeDirectoryMappings
for how you want to make Amazon S3 or Amazon EFS paths visible to your users.If
HomeDirectoryType
isLOGICAL
, you must provide mappings, using theHomeDirectoryMappings
parameter. If, on the other hand,HomeDirectoryType
isPATH
, you provide an absolute path using theHomeDirectory
parameter. You cannot have bothHomeDirectory
andHomeDirectoryMappings
in your template.- policy string
A session policy for your user so you can use the same IAM role across multiple users. This policy restricts user access to portions of their Amazon S3 bucket. Variables that you can use inside this policy include
${Transfer:UserName}
,${Transfer:HomeDirectory}
, and${Transfer:HomeBucket}
.For session policies, AWS Transfer Family stores the policy as a JSON blob, instead of the Amazon Resource Name (ARN) of the policy. You save the policy as a JSON blob and pass it in the
Policy
argument.For an example of a session policy, see Example session policy .
For more information, see AssumeRole in the AWS Security Token Service API Reference .
- posix
Profile UserPosix Profile - Specifies the full POSIX identity, including user ID (
Uid
), group ID (Gid
), and any secondary groups IDs (SecondaryGids
), that controls your users' access to your Amazon Elastic File System (Amazon EFS) file systems. The POSIX permissions that are set on files and directories in your file system determine the level of access your users get when transferring files into and out of your Amazon EFS file systems. - ssh
Public string[]Keys - This represents the SSH User Public Keys for CloudFormation resource
- Tag[]
- Key-value pairs that can be used to group and search for users. Tags are metadata attached to users for any purpose.
- user
Name string - A unique string that identifies a user and is associated with a
ServerId
. This user name must be a minimum of 3 and a maximum of 100 characters long. The following are valid characters: a-z, A-Z, 0-9, underscore '_', hyphen '-', period '.', and at sign '@'. The user name can't start with a hyphen, period, or at sign.
- role str
- The Amazon Resource Name (ARN) of the AWS Identity and Access Management (IAM) role that controls your users' access to your Amazon S3 bucket or Amazon EFS file system. The policies attached to this role determine the level of access that you want to provide your users when transferring files into and out of your Amazon S3 bucket or Amazon EFS file system. The IAM role should also contain a trust relationship that allows the server to access your resources when servicing your users' transfer requests.
- server_
id str - A system-assigned unique identifier for a server instance. This is the specific server that you added your user to.
- home_
directory str The landing directory (folder) for a user when they log in to the server using the client.
A
HomeDirectory
example is/bucket_name/home/mydirectory
.The
HomeDirectory
parameter is only used ifHomeDirectoryType
is set toPATH
.- home_
directory_ Sequence[Usermappings Home Directory Map Entry Args] Logical directory mappings that specify what Amazon S3 or Amazon EFS paths and keys should be visible to your user and how you want to make them visible. You must specify the
Entry
andTarget
pair, whereEntry
shows how the path is made visible andTarget
is the actual Amazon S3 or Amazon EFS path. If you only specify a target, it is displayed as is. You also must ensure that your AWS Identity and Access Management (IAM) role provides access to paths inTarget
. This value can be set only whenHomeDirectoryType
is set to LOGICAL .The following is an
Entry
andTarget
pair example.[ { "Entry": "/directory1", "Target": "/bucket_name/home/mydirectory" } ]
In most cases, you can use this value instead of the session policy to lock your user down to the designated home directory ("
chroot
"). To do this, you can setEntry
to/
and setTarget
to the value the user should see for their home directory when they log in.The following is an
Entry
andTarget
pair example forchroot
.[ { "Entry": "/", "Target": "/bucket_name/home/mydirectory" } ]
- home_
directory_ Usertype Home Directory Type The type of landing directory (folder) that you want your users' home directory to be when they log in to the server. If you set it to
PATH
, the user will see the absolute Amazon S3 bucket or Amazon EFS path as is in their file transfer protocol clients. If you set it toLOGICAL
, you need to provide mappings in theHomeDirectoryMappings
for how you want to make Amazon S3 or Amazon EFS paths visible to your users.If
HomeDirectoryType
isLOGICAL
, you must provide mappings, using theHomeDirectoryMappings
parameter. If, on the other hand,HomeDirectoryType
isPATH
, you provide an absolute path using theHomeDirectory
parameter. You cannot have bothHomeDirectory
andHomeDirectoryMappings
in your template.- policy str
A session policy for your user so you can use the same IAM role across multiple users. This policy restricts user access to portions of their Amazon S3 bucket. Variables that you can use inside this policy include
${Transfer:UserName}
,${Transfer:HomeDirectory}
, and${Transfer:HomeBucket}
.For session policies, AWS Transfer Family stores the policy as a JSON blob, instead of the Amazon Resource Name (ARN) of the policy. You save the policy as a JSON blob and pass it in the
Policy
argument.For an example of a session policy, see Example session policy .
For more information, see AssumeRole in the AWS Security Token Service API Reference .
- posix_
profile UserPosix Profile Args - Specifies the full POSIX identity, including user ID (
Uid
), group ID (Gid
), and any secondary groups IDs (SecondaryGids
), that controls your users' access to your Amazon Elastic File System (Amazon EFS) file systems. The POSIX permissions that are set on files and directories in your file system determine the level of access your users get when transferring files into and out of your Amazon EFS file systems. - ssh_
public_ Sequence[str]keys - This represents the SSH User Public Keys for CloudFormation resource
- Sequence[Tag
Args] - Key-value pairs that can be used to group and search for users. Tags are metadata attached to users for any purpose.
- user_
name str - A unique string that identifies a user and is associated with a
ServerId
. This user name must be a minimum of 3 and a maximum of 100 characters long. The following are valid characters: a-z, A-Z, 0-9, underscore '_', hyphen '-', period '.', and at sign '@'. The user name can't start with a hyphen, period, or at sign.
- role String
- The Amazon Resource Name (ARN) of the AWS Identity and Access Management (IAM) role that controls your users' access to your Amazon S3 bucket or Amazon EFS file system. The policies attached to this role determine the level of access that you want to provide your users when transferring files into and out of your Amazon S3 bucket or Amazon EFS file system. The IAM role should also contain a trust relationship that allows the server to access your resources when servicing your users' transfer requests.
- server
Id String - A system-assigned unique identifier for a server instance. This is the specific server that you added your user to.
- home
Directory String The landing directory (folder) for a user when they log in to the server using the client.
A
HomeDirectory
example is/bucket_name/home/mydirectory
.The
HomeDirectory
parameter is only used ifHomeDirectoryType
is set toPATH
.- home
Directory List<Property Map>Mappings Logical directory mappings that specify what Amazon S3 or Amazon EFS paths and keys should be visible to your user and how you want to make them visible. You must specify the
Entry
andTarget
pair, whereEntry
shows how the path is made visible andTarget
is the actual Amazon S3 or Amazon EFS path. If you only specify a target, it is displayed as is. You also must ensure that your AWS Identity and Access Management (IAM) role provides access to paths inTarget
. This value can be set only whenHomeDirectoryType
is set to LOGICAL .The following is an
Entry
andTarget
pair example.[ { "Entry": "/directory1", "Target": "/bucket_name/home/mydirectory" } ]
In most cases, you can use this value instead of the session policy to lock your user down to the designated home directory ("
chroot
"). To do this, you can setEntry
to/
and setTarget
to the value the user should see for their home directory when they log in.The following is an
Entry
andTarget
pair example forchroot
.[ { "Entry": "/", "Target": "/bucket_name/home/mydirectory" } ]
- home
Directory "PATH" | "LOGICAL"Type The type of landing directory (folder) that you want your users' home directory to be when they log in to the server. If you set it to
PATH
, the user will see the absolute Amazon S3 bucket or Amazon EFS path as is in their file transfer protocol clients. If you set it toLOGICAL
, you need to provide mappings in theHomeDirectoryMappings
for how you want to make Amazon S3 or Amazon EFS paths visible to your users.If
HomeDirectoryType
isLOGICAL
, you must provide mappings, using theHomeDirectoryMappings
parameter. If, on the other hand,HomeDirectoryType
isPATH
, you provide an absolute path using theHomeDirectory
parameter. You cannot have bothHomeDirectory
andHomeDirectoryMappings
in your template.- policy String
A session policy for your user so you can use the same IAM role across multiple users. This policy restricts user access to portions of their Amazon S3 bucket. Variables that you can use inside this policy include
${Transfer:UserName}
,${Transfer:HomeDirectory}
, and${Transfer:HomeBucket}
.For session policies, AWS Transfer Family stores the policy as a JSON blob, instead of the Amazon Resource Name (ARN) of the policy. You save the policy as a JSON blob and pass it in the
Policy
argument.For an example of a session policy, see Example session policy .
For more information, see AssumeRole in the AWS Security Token Service API Reference .
- posix
Profile Property Map - Specifies the full POSIX identity, including user ID (
Uid
), group ID (Gid
), and any secondary groups IDs (SecondaryGids
), that controls your users' access to your Amazon Elastic File System (Amazon EFS) file systems. The POSIX permissions that are set on files and directories in your file system determine the level of access your users get when transferring files into and out of your Amazon EFS file systems. - ssh
Public List<String>Keys - This represents the SSH User Public Keys for CloudFormation resource
- List<Property Map>
- Key-value pairs that can be used to group and search for users. Tags are metadata attached to users for any purpose.
- user
Name String - A unique string that identifies a user and is associated with a
ServerId
. This user name must be a minimum of 3 and a maximum of 100 characters long. The following are valid characters: a-z, A-Z, 0-9, underscore '_', hyphen '-', period '.', and at sign '@'. The user name can't start with a hyphen, period, or at sign.
Outputs
All input properties are implicitly available as output properties. Additionally, the User resource produces the following output properties:
Supporting Types
Tag, TagArgs
UserHomeDirectoryMapEntry, UserHomeDirectoryMapEntryArgs
- Entry string
- Represents an entry for
HomeDirectoryMappings
. - Target string
- Represents the map target that is used in a
HomeDirectoryMapEntry
. - Type
Pulumi.
Aws Native. Transfer. User Map Type Specifies the type of mapping. Set the type to
FILE
if you want the mapping to point to a file, orDIRECTORY
for the directory to point to a directory.By default, home directory mappings have a
Type
ofDIRECTORY
when you create a Transfer Family server. You would need to explicitly setType
toFILE
if you want a mapping to have a file target.
- Entry string
- Represents an entry for
HomeDirectoryMappings
. - Target string
- Represents the map target that is used in a
HomeDirectoryMapEntry
. - Type
User
Map Type Specifies the type of mapping. Set the type to
FILE
if you want the mapping to point to a file, orDIRECTORY
for the directory to point to a directory.By default, home directory mappings have a
Type
ofDIRECTORY
when you create a Transfer Family server. You would need to explicitly setType
toFILE
if you want a mapping to have a file target.
- entry String
- Represents an entry for
HomeDirectoryMappings
. - target String
- Represents the map target that is used in a
HomeDirectoryMapEntry
. - type
User
Map Type Specifies the type of mapping. Set the type to
FILE
if you want the mapping to point to a file, orDIRECTORY
for the directory to point to a directory.By default, home directory mappings have a
Type
ofDIRECTORY
when you create a Transfer Family server. You would need to explicitly setType
toFILE
if you want a mapping to have a file target.
- entry string
- Represents an entry for
HomeDirectoryMappings
. - target string
- Represents the map target that is used in a
HomeDirectoryMapEntry
. - type
User
Map Type Specifies the type of mapping. Set the type to
FILE
if you want the mapping to point to a file, orDIRECTORY
for the directory to point to a directory.By default, home directory mappings have a
Type
ofDIRECTORY
when you create a Transfer Family server. You would need to explicitly setType
toFILE
if you want a mapping to have a file target.
- entry str
- Represents an entry for
HomeDirectoryMappings
. - target str
- Represents the map target that is used in a
HomeDirectoryMapEntry
. - type
User
Map Type Specifies the type of mapping. Set the type to
FILE
if you want the mapping to point to a file, orDIRECTORY
for the directory to point to a directory.By default, home directory mappings have a
Type
ofDIRECTORY
when you create a Transfer Family server. You would need to explicitly setType
toFILE
if you want a mapping to have a file target.
- entry String
- Represents an entry for
HomeDirectoryMappings
. - target String
- Represents the map target that is used in a
HomeDirectoryMapEntry
. - type "FILE" | "DIRECTORY"
Specifies the type of mapping. Set the type to
FILE
if you want the mapping to point to a file, orDIRECTORY
for the directory to point to a directory.By default, home directory mappings have a
Type
ofDIRECTORY
when you create a Transfer Family server. You would need to explicitly setType
toFILE
if you want a mapping to have a file target.
UserHomeDirectoryType, UserHomeDirectoryTypeArgs
- Path
- PATH
- Logical
- LOGICAL
- User
Home Directory Type Path - PATH
- User
Home Directory Type Logical - LOGICAL
- Path
- PATH
- Logical
- LOGICAL
- Path
- PATH
- Logical
- LOGICAL
- PATH
- PATH
- LOGICAL
- LOGICAL
- "PATH"
- PATH
- "LOGICAL"
- LOGICAL
UserMapType, UserMapTypeArgs
- File
- FILE
- Directory
- DIRECTORY
- User
Map Type File - FILE
- User
Map Type Directory - DIRECTORY
- File
- FILE
- Directory
- DIRECTORY
- File
- FILE
- Directory
- DIRECTORY
- FILE
- FILE
- DIRECTORY
- DIRECTORY
- "FILE"
- FILE
- "DIRECTORY"
- DIRECTORY
UserPosixProfile, UserPosixProfileArgs
- Gid double
- The POSIX group ID used for all EFS operations by this user.
- Uid double
- The POSIX user ID used for all EFS operations by this user.
- Secondary
Gids List<double> - The secondary POSIX group IDs used for all EFS operations by this user.
- Gid float64
- The POSIX group ID used for all EFS operations by this user.
- Uid float64
- The POSIX user ID used for all EFS operations by this user.
- Secondary
Gids []float64 - The secondary POSIX group IDs used for all EFS operations by this user.
- gid Double
- The POSIX group ID used for all EFS operations by this user.
- uid Double
- The POSIX user ID used for all EFS operations by this user.
- secondary
Gids List<Double> - The secondary POSIX group IDs used for all EFS operations by this user.
- gid number
- The POSIX group ID used for all EFS operations by this user.
- uid number
- The POSIX user ID used for all EFS operations by this user.
- secondary
Gids number[] - The secondary POSIX group IDs used for all EFS operations by this user.
- gid float
- The POSIX group ID used for all EFS operations by this user.
- uid float
- The POSIX user ID used for all EFS operations by this user.
- secondary_
gids Sequence[float] - The secondary POSIX group IDs used for all EFS operations by this user.
- gid Number
- The POSIX group ID used for all EFS operations by this user.
- uid Number
- The POSIX user ID used for all EFS operations by this user.
- secondary
Gids List<Number> - The secondary POSIX group IDs used for all EFS operations by this user.
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
We recommend new projects start with resources from the AWS provider.