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, { computed: true }) public gid!: number | core.NumberOut; @core.attr(Number, { computed: true, kind: "array" }) public secondaryGids!: core.Array | core.ArrayOut; @core.attr(Number, { computed: true }) 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, { computed: true }) public ownerGid!: number | core.NumberOut; @core.attr(Number, { computed: true }) public ownerUid!: number | core.NumberOut; @core.attr(String, { computed: true }) public permissions!: string | core.StringOut; } export interface RootDirectoryArgs extends core.SchemaArgs { creationInfo: core.Array | core.ArrayOut; path: string | core.StringOut; } export class RootDirectory extends core.Schema { @core.attr(CreationInfo, { computed: true, kind: "array" }) public creationInfo!: core.Array | core.ArrayOut; @core.attr(String, { computed: true }) public path!: string | core.StringOut; } export interface DsAccessPointArgs { /** * (Required) The ID that identifies the file system. */ accessPointId: string | core.StringOut; /** * Key-value mapping of resource tags. */ tags?: core.Map | core.MapOut; } export class DsAccessPoint extends core.Data { /** * (Required) The ID that identifies the file system. */ @core.attr(String) public accessPointId!: string | core.StringOut; /** * Amazon Resource Name of the file system. */ @core.attr(String, { computed: true }) public arn!: string | core.StringOut; /** * Amazon Resource Name of the file system. */ @core.attr(String, { computed: true }) public fileSystemArn!: string | core.StringOut; /** * The ID of the file system for which the access point is intended. */ @core.attr(String, { computed: true }) public fileSystemId!: string | core.StringOut; /** * The 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; /** * Single element list containing operating system user and group applied to all file system requests m * ade using the access point. */ @core.attr(PosixUser, { computed: true, kind: "array" }) public posixUser!: core.Array | core.ArrayOut; @core.attr(RootDirectory, { computed: true, kind: "array" }) public rootDirectory!: | core.Array | core.ArrayOut; /** * Key-value mapping of resource tags. */ @core.attr(String, { kind: "map" }) public tags?: core.Map | core.MapOut; constructor(name: string, args?: DsAccessPointArgs) { super(name, "aws_efs_access_point", args); } public override getNamespace(): string { return "aws_efs"; } }