# UserAndGroupQuotasProperty

Used to configure quotas that define how much storage a user or group can use on an FSx for OpenZFS volume.

For more information, see [Volume properties](https://docs.aws.amazon.com/fsx/latest/OpenZFSGuide/managing-volumes.html#volume-properties) in the FSx for OpenZFS User Guide.

- Source: Generated at build time
- Type last changed: v2.93.0 · 23 Aug 2023

## 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 userAndGroupQuotasProperty: fsx.CfnFileSystem.UserAndGroupQuotasProperty = {
  id: 123,
  storageCapacityQuotaGiB: 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

user_and_group_quotas_property = fsx.CfnFileSystem.UserAndGroupQuotasProperty(
    id=123,
    storage_capacity_quota_gi_b=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.*;

UserAndGroupQuotasProperty userAndGroupQuotasProperty = UserAndGroupQuotasProperty.builder()
        .id(123)
        .storageCapacityQuotaGiB(123)
        .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 userAndGroupQuotasProperty = new UserAndGroupQuotasProperty {
    Id = 123,
    StorageCapacityQuotaGiB = 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"

userAndGroupQuotasProperty := &UserAndGroupQuotasProperty{
	Id: jsii.Number(123),
	StorageCapacityQuotaGiB: jsii.Number(123),
	Type: jsii.String("type"),
}
```

## Properties

- `id`: number — The ID of the user or group that the quota applies to.

- `storageCapacityQuotaGiB`: number — The user or group's storage quota, in gibibytes (GiB).

- `type`: string — Specifies whether the quota applies to a user or group.
