OpenZFSFileSystemIdentityProperty Struct
Specifies the file system user identity that will be used for authorizing all file access requests that are made using the S3 access point.
| 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_fsx as fsx } from 'aws-cdk-lib';
const openZFSFileSystemIdentityProperty: fsx.CfnS3AccessPointAttachment.OpenZFSFileSystemIdentityProperty = {
posixUser: {
gid: 123,
uid: 123,
// the properties below are optional
secondaryGids: [{
gid: 123,
}],
},
type: 'type',
};
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_fsx as fsx
open_zfs_file_system_identity_property = fsx.CfnS3AccessPointAttachment.OpenZFSFileSystemIdentityProperty(
posix_user=fsx.CfnS3AccessPointAttachment.OpenZFSPosixFileSystemUserProperty(
gid=123,
uid=123,
# the properties below are optional
secondary_gids=[fsx.CfnS3AccessPointAttachment.FileSystemGIDProperty(
gid=123
)]
),
type="type"
)
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.fsx.*;
OpenZFSFileSystemIdentityProperty openZFSFileSystemIdentityProperty = OpenZFSFileSystemIdentityProperty.builder()
.posixUser(OpenZFSPosixFileSystemUserProperty.builder()
.gid(123)
.uid(123)
// the properties below are optional
.secondaryGids(List.of(FileSystemGIDProperty.builder()
.gid(123)
.build()))
.build())
.type("type")
.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.FSx;
var openZFSFileSystemIdentityProperty = new OpenZFSFileSystemIdentityProperty {
PosixUser = new OpenZFSPosixFileSystemUserProperty {
Gid = 123,
Uid = 123,
// the properties below are optional
SecondaryGids = new [] { new FileSystemGIDProperty {
Gid = 123
} }
},
Type = "type"
};
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"
openZFSFileSystemIdentityProperty := &OpenZFSFileSystemIdentityProperty{
PosixUser: &OpenZFSPosixFileSystemUserProperty{
Gid: jsii.Number(123),
Uid: jsii.Number(123),
// the properties below are optional
SecondaryGids: []interface{}{
&FileSystemGIDProperty{
Gid: jsii.Number(123),
},
},
},
Type: jsii.String("type"),
}
Properties
posixUserIResolvable | CfnS3AccessPointAttachment.posix_usertyping.Union[IResolvable, OpenZFSPosixFileSystemUserProperty]posixUserIResolvablePosixUserIResolvablePosixUserinterface{} required #Specifies the UID and GIDs of the file system POSIX user.
Specifies the FSx for OpenZFS user identity type, accepts only `POSIX` .