import * as core from "@terrascript/core"; export interface DsMountTargetArgs { /** * (Optional) ID or ARN of the access point whose mount target that you want to find. It must be includ * ed if a `file_system_id` and `mount_target_id` are not included. */ accessPointId?: string | core.StringOut; /** * (Optional) ID or ARN of the file system whose mount target that you want to find. It must be include * d if an `access_point_id` and `mount_target_id` are not included. */ fileSystemId?: string | core.StringOut; /** * (Optional) ID or ARN of the mount target that you want to find. It must be included in your request * if an `access_point_id` and `file_system_id` are not included. */ mountTargetId?: string | core.StringOut; } export class DsMountTarget extends core.Data { /** * (Optional) ID or ARN of the access point whose mount target that you want to find. It must be includ * ed if a `file_system_id` and `mount_target_id` are not included. */ @core.attr(String) public accessPointId?: string | core.StringOut; /** * The unique and consistent identifier of the Availability Zone (AZ) that the mount target resides in. */ @core.attr(String, { computed: true }) public availabilityZoneId!: string | core.StringOut; /** * The name of the Availability Zone (AZ) that the mount target resides in. */ @core.attr(String, { computed: true }) public availabilityZoneName!: string | core.StringOut; /** * The DNS name for the EFS file system. */ @core.attr(String, { computed: true }) public dnsName!: string | core.StringOut; /** * Amazon Resource Name of the file system for which the mount target is intended. */ @core.attr(String, { computed: true }) public fileSystemArn!: string | core.StringOut; /** * (Optional) ID or ARN of the file system whose mount target that you want to find. It must be include * d if an `access_point_id` and `mount_target_id` are not included. */ @core.attr(String, { computed: true }) public fileSystemId?: string | core.StringOut; @core.attr(String, { computed: true }) public id!: string | core.StringOut; /** * Address at which the file system may be mounted via the mount target. */ @core.attr(String, { computed: true }) public ipAddress!: string | core.StringOut; /** * The DNS name for the given subnet/AZ per [documented convention](http://docs.aws.amazon.com/efs/late * st/ug/mounting-fs-mount-cmd-dns-name.html). */ @core.attr(String, { computed: true }) public mountTargetDnsName!: string | core.StringOut; /** * (Optional) ID or ARN of the mount target that you want to find. It must be included in your request * if an `access_point_id` and `file_system_id` are not included. */ @core.attr(String, { computed: true }) public mountTargetId?: string | core.StringOut; /** * The ID of the network interface that Amazon EFS created when it created the mount target. */ @core.attr(String, { computed: true }) public networkInterfaceId!: string | core.StringOut; /** * AWS account ID that owns the resource. */ @core.attr(String, { computed: true }) public ownerId!: string | core.StringOut; /** * List of VPC security group IDs attached to the mount target. */ @core.attr(String, { computed: true, kind: "array" }) public securityGroups!: core.Array | core.ArrayOut; /** * ID of the mount target's subnet. */ @core.attr(String, { computed: true }) public subnetId!: string | core.StringOut; constructor(name: string, args?: DsMountTargetArgs) { super(name, "aws_efs_mount_target", args); } public override getNamespace(): string { return "aws_efs"; } }