import * as core from "@terrascript/core"; export interface LifecyclePolicyArgs extends core.SchemaArgs { transitionToIa: string | core.StringOut; transitionToPrimaryStorageClass: string | core.StringOut; } export class LifecyclePolicy extends core.Schema { @core.attr(String, { computed: true }) public transitionToIa!: string | core.StringOut; @core.attr(String, { computed: true }) public transitionToPrimaryStorageClass!: string | core.StringOut; } export interface DsFileSystemArgs { /** * (Optional) Restricts the list to the file system with this creation token. */ creationToken?: string | core.StringOut; /** * (Optional) The ID that identifies the file system (e.g., fs-ccfc0d65). */ fileSystemId?: string | core.StringOut; /** * (Optional) Restricts the list to the file system with these tags. */ tags?: core.Map | core.MapOut; } export class DsFileSystem extends core.Data { /** * Amazon Resource Name of the file system. */ @core.attr(String, { computed: true }) public arn!: string | core.StringOut; /** * The identifier of the Availability Zone in which the file system's One Zone storage classes exist. */ @core.attr(String, { computed: true }) public availabilityZoneId!: string | core.StringOut; /** * The Availability Zone name in which the file system's One Zone storage classes exist. */ @core.attr(String, { computed: true }) public availabilityZoneName!: string | core.StringOut; /** * (Optional) Restricts the list to the file system with this creation token. */ @core.attr(String, { computed: true }) public creationToken?: string | core.StringOut; /** * The DNS name for the filesystem per [documented convention](http://docs.aws.amazon.com/efs/latest/ug * /mounting-fs-mount-cmd-dns-name.html). */ @core.attr(String, { computed: true }) public dnsName!: string | core.StringOut; /** * Whether EFS is encrypted. */ @core.attr(Boolean, { computed: true }) public encrypted!: boolean | core.BooleanOut; /** * (Optional) The ID that identifies the file system (e.g., fs-ccfc0d65). */ @core.attr(String, { computed: true }) public fileSystemId?: string | core.StringOut; @core.attr(String, { computed: true }) public id!: string | core.StringOut; /** * The ARN for the KMS encryption key. */ @core.attr(String, { computed: true }) public kmsKeyId!: string | core.StringOut; /** * A file system [lifecycle policy](https://docs.aws.amazon.com/efs/latest/ug/API_LifecyclePolicy.html) * object. */ @core.attr(LifecyclePolicy, { computed: true, kind: "array" }) public lifecyclePolicy!: | core.Array | core.ArrayOut; /** * The file system performance mode. */ @core.attr(String, { computed: true }) public performanceMode!: string | core.StringOut; /** * The throughput, measured in MiB/s, that you want to provision for the file system. */ @core.attr(Number, { computed: true }) public provisionedThroughputInMibps!: number | core.NumberOut; /** * The current byte count used by the file system. */ @core.attr(Number, { computed: true }) public sizeInBytes!: number | core.NumberOut; /** * (Optional) Restricts the list to the file system with these tags. */ @core.attr(String, { computed: true, kind: "map" }) public tags?: core.Map | core.MapOut; /** * Throughput mode for the file system. */ @core.attr(String, { computed: true }) public throughputMode!: string | core.StringOut; constructor(name: string, args?: DsFileSystemArgs) { super(name, "aws_efs_file_system", args); } public override getNamespace(): string { return "aws_efs"; } }