/AWS1/CL_TRNDESCRIBEDACCESS¶
Describes the properties of the access that was specified.
CONSTRUCTOR
¶
IMPORTING¶
Optional arguments:¶
iv_homedirectory
TYPE /AWS1/TRNHOMEDIRECTORY
/AWS1/TRNHOMEDIRECTORY
¶
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
.You can use the
HomeDirectory
parameter forHomeDirectoryType
when it is set to eitherPATH
orLOGICAL
.
it_homedirectorymappings
TYPE /AWS1/CL_TRNHOMEDIRECTORYMAP00=>TT_HOMEDIRECTORYMAPPINGS
TT_HOMEDIRECTORYMAPPINGS
¶
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 Identity and Access Management (IAM) role provides access to paths inTarget
. This value can be set only whenHomeDirectoryType
is set to LOGICAL.In most cases, you can use this value instead of the session policy to lock down the associated access to the designated home directory ("
chroot
"). To do this, you can setEntry
to '/' and setTarget
to theHomeDirectory
parameter value.
iv_homedirectorytype
TYPE /AWS1/TRNHOMEDIRECTORYTYPE
/AWS1/TRNHOMEDIRECTORYTYPE
¶
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.
iv_policy
TYPE /AWS1/TRNPOLICY
/AWS1/TRNPOLICY
¶
A session policy for your user so that you can use the same Identity and Access Management (IAM) role across multiple users. This policy scopes down a user's access to portions of their Amazon S3 bucket. Variables that you can use inside this policy include
${Transfer:UserName}
,${Transfer:HomeDirectory}
, and${Transfer:HomeBucket}
.
io_posixprofile
TYPE REF TO /AWS1/CL_TRNPOSIXPROFILE
/AWS1/CL_TRNPOSIXPROFILE
¶
PosixProfile
iv_role
TYPE /AWS1/TRNROLE
/AWS1/TRNROLE
¶
The Amazon Resource Name (ARN) of the 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.
iv_externalid
TYPE /AWS1/TRNEXTERNALID
/AWS1/TRNEXTERNALID
¶
A unique identifier that is required to identify specific groups within your directory. The users of the group that you associate have access to your Amazon S3 or Amazon EFS resources over the enabled protocols using Transfer Family. If you know the group name, you can view the SID values by running the following command using Windows PowerShell.
Get-ADGroup -Filter {samAccountName -like "YourGroupName*"} -Properties * | Select SamAccountName,ObjectSid
In that command, replace YourGroupName with the name of your Active Directory group.
The regular expression used to validate this parameter is a string of characters consisting of uppercase and lowercase alphanumeric characters with no spaces. You can also include underscores or any of the following characters: =,.@:/-
Queryable Attributes¶
HomeDirectory¶
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
.You can use the
HomeDirectory
parameter forHomeDirectoryType
when it is set to eitherPATH
orLOGICAL
.
Accessible with the following methods¶
Method | Description |
---|---|
GET_HOMEDIRECTORY() |
Getter for HOMEDIRECTORY, with configurable default |
ASK_HOMEDIRECTORY() |
Getter for HOMEDIRECTORY w/ exceptions if field has no value |
HAS_HOMEDIRECTORY() |
Determine if HOMEDIRECTORY has a value |
HomeDirectoryMappings¶
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 Identity and Access Management (IAM) role provides access to paths inTarget
. This value can be set only whenHomeDirectoryType
is set to LOGICAL.In most cases, you can use this value instead of the session policy to lock down the associated access to the designated home directory ("
chroot
"). To do this, you can setEntry
to '/' and setTarget
to theHomeDirectory
parameter value.
Accessible with the following methods¶
Method | Description |
---|---|
GET_HOMEDIRECTORYMAPPINGS() |
Getter for HOMEDIRECTORYMAPPINGS, with configurable default |
ASK_HOMEDIRECTORYMAPPINGS() |
Getter for HOMEDIRECTORYMAPPINGS w/ exceptions if field has |
HAS_HOMEDIRECTORYMAPPINGS() |
Determine if HOMEDIRECTORYMAPPINGS has a value |
HomeDirectoryType¶
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.
Accessible with the following methods¶
Method | Description |
---|---|
GET_HOMEDIRECTORYTYPE() |
Getter for HOMEDIRECTORYTYPE, with configurable default |
ASK_HOMEDIRECTORYTYPE() |
Getter for HOMEDIRECTORYTYPE w/ exceptions if field has no v |
HAS_HOMEDIRECTORYTYPE() |
Determine if HOMEDIRECTORYTYPE has a value |
Policy¶
A session policy for your user so that you can use the same Identity and Access Management (IAM) role across multiple users. This policy scopes down a user's access to portions of their Amazon S3 bucket. Variables that you can use inside this policy include
${Transfer:UserName}
,${Transfer:HomeDirectory}
, and${Transfer:HomeBucket}
.
Accessible with the following methods¶
Method | Description |
---|---|
GET_POLICY() |
Getter for POLICY, with configurable default |
ASK_POLICY() |
Getter for POLICY w/ exceptions if field has no value |
HAS_POLICY() |
Determine if POLICY has a value |
PosixProfile¶
PosixProfile
Accessible with the following methods¶
Method | Description |
---|---|
GET_POSIXPROFILE() |
Getter for POSIXPROFILE |
Role¶
The Amazon Resource Name (ARN) of the 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.
Accessible with the following methods¶
Method | Description |
---|---|
GET_ROLE() |
Getter for ROLE, with configurable default |
ASK_ROLE() |
Getter for ROLE w/ exceptions if field has no value |
HAS_ROLE() |
Determine if ROLE has a value |
ExternalId¶
A unique identifier that is required to identify specific groups within your directory. The users of the group that you associate have access to your Amazon S3 or Amazon EFS resources over the enabled protocols using Transfer Family. If you know the group name, you can view the SID values by running the following command using Windows PowerShell.
Get-ADGroup -Filter {samAccountName -like "YourGroupName*"} -Properties * | Select SamAccountName,ObjectSid
In that command, replace YourGroupName with the name of your Active Directory group.
The regular expression used to validate this parameter is a string of characters consisting of uppercase and lowercase alphanumeric characters with no spaces. You can also include underscores or any of the following characters: =,.@:/-
Accessible with the following methods¶
Method | Description |
---|---|
GET_EXTERNALID() |
Getter for EXTERNALID, with configurable default |
ASK_EXTERNALID() |
Getter for EXTERNALID w/ exceptions if field has no value |
HAS_EXTERNALID() |
Determine if EXTERNALID has a value |