import * as core from "@terrascript/core"; export interface PosixUserArgs extends core.SchemaArgs { gid: number | core.NumberOut; secondaryGids?: core.Array | core.ArrayOut; uid: number | core.NumberOut; } export class PosixUser extends core.Schema { @core.attr(Number) public gid!: number | core.NumberOut; @core.attr(Number, { kind: "array" }) public secondaryGids?: core.Array | core.ArrayOut; @core.attr(Number) public uid!: number | core.NumberOut; } export interface CreationInfoArgs extends core.SchemaArgs { ownerGid: number | core.NumberOut; ownerUid: number | core.NumberOut; permissions: string | core.StringOut; } export class CreationInfo extends core.Schema { @core.attr(Number) public ownerGid!: number | core.NumberOut; @core.attr(Number) public ownerUid!: number | core.NumberOut; @core.attr(String) public permissions!: string | core.StringOut; } export interface RootDirectoryArgs extends core.SchemaArgs { creationInfo?: CreationInfo; path?: string | core.StringOut; } export class RootDirectory extends core.Schema { @core.attr(CreationInfo, { computed: true }) public creationInfo?: CreationInfo; @core.attr(String, { computed: true }) public path?: string | core.StringOut; } export interface AccessPointArgs extends core.ResourceArgs { /** * (Required) ID of the file system for which the access point is intended. */ fileSystemId: string | core.StringOut; /** * (Optional) Operating system user and group applied to all file system requests made using the access * point. [Detailed](#posix_user) below. */ posixUser?: PosixUser; rootDirectory?: RootDirectory; /** * (Optional) Key-value mapping of resource tags. If configured with a provider [`default_tags` configu * ration block](https://registry.terraform.io/providers/hashicorp/aws/latest/docs#default_tags-configu * ration-block) present, tags with matching keys will overwrite those defined at the provider-level. */ tags?: core.Map | core.MapOut; /** * Map of tags assigned to the resource, including those inherited from the provider [`default_tags` co * nfiguration block](https://registry.terraform.io/providers/hashicorp/aws/latest/docs#default_tags-co * nfiguration-block). */ tagsAll?: core.Map | core.MapOut; } export class AccessPoint extends core.Resource { /** * ARN of the access point. */ @core.attr(String, { computed: true }) public arn!: string | core.StringOut; /** * ARN of the file system. */ @core.attr(String, { computed: true }) public fileSystemArn!: string | core.StringOut; /** * (Required) ID of the file system for which the access point is intended. */ @core.attr(String) public fileSystemId!: string | core.StringOut; /** * ID of the access point. */ @core.attr(String, { computed: true }) public id!: string | core.StringOut; @core.attr(String, { computed: true }) public ownerId!: string | core.StringOut; /** * (Optional) Operating system user and group applied to all file system requests made using the access * point. [Detailed](#posix_user) below. */ @core.attr(PosixUser) public posixUser?: PosixUser; @core.attr(RootDirectory, { computed: true }) public rootDirectory?: RootDirectory; /** * (Optional) Key-value mapping of resource tags. If configured with a provider [`default_tags` configu * ration block](https://registry.terraform.io/providers/hashicorp/aws/latest/docs#default_tags-configu * ration-block) present, tags with matching keys will overwrite those defined at the provider-level. */ @core.attr(String, { kind: "map" }) public tags?: core.Map | core.MapOut; /** * Map of tags assigned to the resource, including those inherited from the provider [`default_tags` co * nfiguration block](https://registry.terraform.io/providers/hashicorp/aws/latest/docs#default_tags-co * nfiguration-block). */ @core.attr(String, { computed: true, kind: "map" }) public tagsAll?: core.Map | core.MapOut; constructor(name: string, args?: AccessPointArgs) { super(name, "aws_efs_access_point", args); } public override getNamespace(): string { return "aws_efs"; } }