{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-datasync/json-schema/amazon-datasync-describe-location-efs-response-schema.json",
  "title": "DescribeLocationEfsResponse",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-datasync-location-ef-api-openapi.yml#/components/schemas/DescribeLocationEfsResponse",
  "type": "object",
  "properties": {
    "LocationArn": {
      "type": "string",
      "description": "The ARN of the Amazon EFS file system location."
    },
    "LocationUri": {
      "type": "string",
      "description": "The URL of the Amazon EFS file system location."
    },
    "Ec2Config": {
      "$ref": "#/$defs/Ec2Config"
    },
    "CreationTime": {
      "type": "string",
      "format": "date-time",
      "description": "The time that the location was created."
    },
    "AccessPointArn": {
      "type": "string",
      "description": "The ARN of the access point that DataSync uses to access the Amazon EFS file system. For more information, see Accessing restricted file systems."
    },
    "FileSystemAccessRoleArn": {
      "type": "string",
      "description": "The Identity and Access Management (IAM) role that allows DataSync to access your Amazon EFS file system. For more information, see Creating a DataSync IAM role for file system access."
    },
    "InTransitEncryption": {
      "type": "string",
      "enum": [
        "NONE",
        "TLS1_2"
      ],
      "description": "Indicates whether DataSync uses Transport Layer Security (TLS) encryption when transferring data to or from the Amazon EFS file system."
    }
  },
  "$defs": {
    "Ec2Config": {
      "type": "object",
      "properties": {
        "SubnetArn": {
          "type": "string",
          "description": "Specifies the ARN of a subnet where DataSync creates the network interfaces for managing traffic during your transfer. The subnet must be located: In the same virtual private cloud (VPC) as the Amazon EFS file system. In the same Availability Zone as at least one mount target for the Amazon EFS file system. You don't need to specify a subnet that includes a file system mount target."
        },
        "SecurityGroupArns": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "Specifies the Amazon Resource Names (ARNs) of the security groups associated with an Amazon EFS file system's mount target."
        }
      },
      "required": [
        "SubnetArn",
        "SecurityGroupArns"
      ]
    }
  }
}