PosixProfileProperty Struct
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 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.
| Source | |
|---|---|
| Type last changed |
Example
ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_transfer as transfer } from 'aws-cdk-lib';
const posixProfileProperty: transfer.CfnUser.PosixProfileProperty = {
gid: 123,
uid: 123,
// the properties below are optional
secondaryGids: [123],
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_transfer as transfer
posix_profile_property = transfer.CfnUser.PosixProfileProperty(
gid=123,
uid=123,
# the properties below are optional
secondary_gids=[123]
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.transfer.*;
PosixProfileProperty posixProfileProperty = PosixProfileProperty.builder()
.gid(123)
.uid(123)
// the properties below are optional
.secondaryGids(List.of(123))
.build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.Transfer;
var posixProfileProperty = new PosixProfileProperty {
Gid = 123,
Uid = 123,
// the properties below are optional
SecondaryGids = new [] { 123 }
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"
posixProfileProperty := &PosixProfileProperty{
Gid: jsii.Number(123),
Uid: jsii.Number(123),
// the properties below are optional
SecondaryGids: []interface{}{
jsii.Number(123),
},
}
Properties
The POSIX group ID used for all EFS operations by this user.
secondaryGidsoptionalnumber[] | IResolvablesecondary_gidsoptionaltyping.Union[typing.List[int | float], IResolvable]secondaryGidsoptionalList<Number>SecondaryGidsoptionaldouble[]SecondaryGidsoptionalinterface{} #The secondary POSIX group IDs used for all EFS operations by this user.
The POSIX user ID used for all EFS operations by this user.