UserAndGroupQuotasProperty Struct
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 in the FSx for OpenZFS User Guide.
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 userAndGroupQuotasProperty: fsx.CfnFileSystem.UserAndGroupQuotasProperty = {
id: 123,
storageCapacityQuotaGiB: 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
user_and_group_quotas_property = fsx.CfnFileSystem.UserAndGroupQuotasProperty(
id=123,
storage_capacity_quota_gi_b=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.*;
UserAndGroupQuotasProperty userAndGroupQuotasProperty = UserAndGroupQuotasProperty.builder()
.id(123)
.storageCapacityQuotaGiB(123)
.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 userAndGroupQuotasProperty = new UserAndGroupQuotasProperty {
Id = 123,
StorageCapacityQuotaGiB = 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"
userAndGroupQuotasProperty := &UserAndGroupQuotasProperty{
Id: jsii.Number(123),
StorageCapacityQuotaGiB: jsii.Number(123),
Type: jsii.String("type"),
}
Properties
The ID of the user or group that the quota applies to.
storageCapacityQuotaGiBoptionalnumberstorage_capacity_quota_gi_boptionalint | floatstorageCapacityQuotaGiBoptionalNumberStorageCapacityQuotaGiBoptionaldoubleStorageCapacityQuotaGiBoptional*float64#The user or group's storage quota, in gibibytes (GiB).
Specifies whether the quota applies to a user or group.