# OpenZFSFileSystemIdentityProperty

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: Generated at build time
- Type last changed: v2.203.0 · 1 Jul 2025

## Example

TypeScript:

```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:

```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:

```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();
```

C# / .NET:

```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"
};
```

Golang:

```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

- `posixUser`: [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnS3AccessPointAttachment.OpenZFSPosixFileSystemUserProperty](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_fsx.CfnS3AccessPointAttachment.OpenZFSPosixFileSystemUserProperty.html) (required) — Specifies the UID and GIDs of the file system POSIX user.

- `type`: string (required) — Specifies the FSx for OpenZFS user identity type, accepts only `POSIX` .
